diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/toolbars/navigation/main-menu.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/toolbars/navigation/main-menu.c b/src/toolbars/navigation/main-menu.c index 4594f13..73a100d 100644 --- a/src/toolbars/navigation/main-menu.c +++ b/src/toolbars/navigation/main-menu.c @@ -67,6 +67,13 @@ open_clicked_cb(GtkButton G_GNUC_UNUSED *button, MqMainMenu *main_menu) } static void +save_clicked_cb(GtkButton G_GNUC_UNUSED *button, MqMainMenu *main_menu) +{ + gtk_widget_hide(main_menu->popover); + mq_tab_page_save(main_menu->tab_page); +} + +static void zoom_reset_clicked_cb(GtkButton G_GNUC_UNUSED *button, MqMainMenu *main_menu) { mq_web_view_zoom_reset(main_menu->web_view); @@ -180,7 +187,7 @@ menu_clicked_cb(MqMainMenu *main_menu) CLICKED_CB(0, 1, zoom_reset_clicked_cb); CLICKED_CB(0, 2, zoom_in_clicked_cb); CLICKED_CB(1, 0, open_clicked_cb); - /* TODO: 1, 1: Save page */ + CLICKED_CB(1, 1, save_clicked_cb); /* TODO: 1, 2: E-mail link */ CLICKED_CB(2, 0, find_clicked_cb); /* TODO: 2, 1: Print preview */ |