From bc7c25ce729a04cae04656b66fd8b4976947dcf1 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sun, 19 Nov 2017 17:13:27 -0500 Subject: MqMainMenu: Add no-op stub button click callbacks --- (limited to 'src/toolbars/navigation') 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; -- cgit v0.9.1