diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-11-19 17:13:27 (EST) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-11-19 17:13:27 (EST) |
commit | bc7c25ce729a04cae04656b66fd8b4976947dcf1 (patch) | |
tree | 2dff2105eca2afef796d95db9038ba45bd682cf6 /src/toolbars/navigation | |
parent | a9b9d87d78f67f3d1629196c5c3b8fbad44e41e0 (diff) | |
download | marquee-bc7c25ce729a04cae04656b66fd8b4976947dcf1.zip marquee-bc7c25ce729a04cae04656b66fd8b4976947dcf1.tar.gz marquee-bc7c25ce729a04cae04656b66fd8b4976947dcf1.tar.bz2 |
MqMainMenu: Add no-op stub button click callbacks
Diffstat (limited to 'src/toolbars/navigation')
-rw-r--r-- | src/toolbars/navigation/main-menu.c | 29 |
1 files changed, 25 insertions, 4 deletions
diff --git a/src/toolbars/navigation/main-menu.c b/src/toolbars/navigation/main-menu.c index 7aa01b9..fdc6d7e 100644 --- a/src/toolbars/navigation/main-menu.c +++ b/src/toolbars/navigation/main-menu.c @@ -103,6 +103,27 @@ save_clicked_cb(GtkButton G_GNUC_UNUSED *button, MqMainMenu *main_menu) } static void +email_link_clicked_cb(GtkButton G_GNUC_UNUSED *button, + MqMainMenu G_GNUC_UNUSED *main_menu) +{ + /* TODO */ +} + +static void +print_preview_clicked_cb(GtkButton G_GNUC_UNUSED *button, + MqMainMenu G_GNUC_UNUSED *main_menu) +{ + /* TODO */ +} + +static void +print_clicked_cb(GtkButton G_GNUC_UNUSED *button, + MqMainMenu G_GNUC_UNUSED *main_menu) +{ + /* TODO */ +} + +static void zoom_out_clicked_cb(GtkButton G_GNUC_UNUSED *button, MqMainMenu *main_menu) { mq_web_view_zoom_out(main_menu->web_view); @@ -327,14 +348,14 @@ create_main_grid(MqMainMenu *main_menu) /* Y, X, CB */ CLICKED_CB(1, 0, open_clicked_cb); CLICKED_CB(1, 1, save_clicked_cb); - /* TODO: 1, 2: E-mail link */ + CLICKED_CB(1, 2, email_link_clicked_cb); gtk_widget_set_sensitive(buttons[1 * BUTTON_COLS + 2], FALSE); - /* TODO: 2, 0: Print preview */ + /* Y, X, CB */ + CLICKED_CB(2, 0, print_preview_clicked_cb); gtk_widget_set_sensitive(buttons[2 * BUTTON_COLS + 0], FALSE); - /* TODO: 2, 1: Print */ + CLICKED_CB(2, 1, print_clicked_cb); gtk_widget_set_sensitive(buttons[2 * BUTTON_COLS + 1], FALSE); - /* Y, X, CB */ CLICKED_CB(2, 2, inspector_clicked_cb); return grid; |