diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-11-02 14:48:22 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-11-02 14:49:29 (EDT) |
commit | 4916e365468446614006c1da9e488dee3b728833 (patch) | |
tree | bbd551fb87e4e0aa1052dc556f3112e04470ead9 /src/toolbars | |
parent | 0a625bb34915cd16595ebebee2236fdc3b595117 (diff) | |
download | marquee-4916e365468446614006c1da9e488dee3b728833.zip marquee-4916e365468446614006c1da9e488dee3b728833.tar.gz marquee-4916e365468446614006c1da9e488dee3b728833.tar.bz2 |
MqMainMenu: Add blank lines between button row code blocks
Diffstat (limited to 'src/toolbars')
-rw-r--r-- | src/toolbars/navigation/main-menu.c | 8 |
1 files changed, 8 insertions, 0 deletions
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); |