From 4916e365468446614006c1da9e488dee3b728833 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Thu, 02 Nov 2017 14:48:22 -0400 Subject: MqMainMenu: Add blank lines between button row code blocks --- (limited to 'src/toolbars') diff --git a/src/toolbars/navigation/main-menu.c b/src/toolbars/navigation/main-menu.c index eeee95d..e0a3b9b 100644 --- a/src/toolbars/navigation/main-menu.c +++ b/src/toolbars/navigation/main-menu.c @@ -167,33 +167,41 @@ menu_clicked_cb(MqMainMenu *main_menu) NEW_BUTTON(0, 0, "zoom-out", "Zoom out"); NEW_BUTTON(0, 1, "zoom-original", "Reset zoom"); NEW_BUTTON(0, 2, "zoom-in", "Zoom in"); + NEW_BUTTON(1, 0, "document-open", "Open file"); NEW_BUTTON(1, 1, "document-save-as", "Save page"); NEW_BUTTON(1, 2, "mail-message-new", "E-mail link"); + NEW_BUTTON(2, 0, "edit-find", "Find"); NEW_BUTTON(2, 1, "document-print-preview", "Print preview"); NEW_BUTTON(2, 2, "document-print", "Print"); + NEW_BUTTON(3, 0, "view-fullscreen", "Full screen"); NEW_BUTTON(3, 1, "preferences-system", "Inspector"); NEW_BUTTON(3, 2, "preferences-desktop", "Preferences"); + NEW_BUTTON(4, 0, "help-about", "About Marquee"); NEW_BUTTON(4, 2, "application-exit", "Quit"); CLICKED_CB(0, 0, zoom_out_clicked_cb); CLICKED_CB(0, 1, zoom_reset_clicked_cb); CLICKED_CB(0, 2, zoom_in_clicked_cb); + CLICKED_CB(1, 0, open_clicked_cb); CLICKED_CB(1, 1, save_clicked_cb); /* TODO: 1, 2: E-mail link */ gtk_widget_set_sensitive(buttons[1 * BUTTON_COLS + 2], FALSE); + CLICKED_CB(2, 0, find_clicked_cb); /* TODO: 2, 1: Print preview */ gtk_widget_set_sensitive(buttons[2 * BUTTON_COLS + 1], FALSE); /* TODO: 2, 2: Print */ gtk_widget_set_sensitive(buttons[2 * BUTTON_COLS + 2], FALSE); + CLICKED_CB(3, 0, fullscreen_clicked_cb); CLICKED_CB(3, 1, inspector_clicked_cb); CLICKED_CB(3, 2, preferences_clicked_cb); + CLICKED_CB(4, 0, about_clicked_cb); CLICKED_CB(4, 2, quit_clicked_cb); -- cgit v0.9.1