summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/toolbars/navigation/main-menu.c29
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;