diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-11-02 14:56:52 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-11-02 14:56:52 (EDT) |
commit | 6d0ea99b5e33b0b84f3bbbc25bdfecae16d03b80 (patch) | |
tree | fd1294bd8ca8444acabd24e662aac0f23f5193b7 | |
parent | a301439057c98bd0cc95121b55e28aabe197ba6e (diff) | |
download | marquee-6d0ea99b5e33b0b84f3bbbc25bdfecae16d03b80.zip marquee-6d0ea99b5e33b0b84f3bbbc25bdfecae16d03b80.tar.gz marquee-6d0ea99b5e33b0b84f3bbbc25bdfecae16d03b80.tar.bz2 |
MqMainMenu: Rearrange buttons
-rw-r--r-- | src/toolbars/navigation/main-menu.c | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/src/toolbars/navigation/main-menu.c b/src/toolbars/navigation/main-menu.c index 11dfd81..cb672c2 100644 --- a/src/toolbars/navigation/main-menu.c +++ b/src/toolbars/navigation/main-menu.c @@ -168,16 +168,16 @@ menu_clicked_cb(MqMainMenu *main_menu) 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(1, 1, "edit-find", "Find"); + NEW_BUTTON(1, 2, "view-fullscreen", "Full screen"); - 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(2, 0, "document-open", "Open file"); + NEW_BUTTON(2, 1, "document-save-as", "Save page"); + NEW_BUTTON(2, 2, "mail-message-new", "E-mail link"); - NEW_BUTTON(3, 0, "view-fullscreen", "Full screen"); - NEW_BUTTON(3, 1, "preferences-system", "Inspector"); + NEW_BUTTON(3, 0, "document-print-preview", "Print preview"); + NEW_BUTTON(3, 1, "document-print", "Print"); + NEW_BUTTON(3, 2, "preferences-system", "Inspector"); NEW_BUTTON(4, 0, "preferences-desktop", "Preferences"); NEW_BUTTON(4, 1, "help-about", "About Marquee"); @@ -187,19 +187,19 @@ 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); - 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(1, 1, find_clicked_cb); + CLICKED_CB(1, 2, fullscreen_clicked_cb); - 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 */ + CLICKED_CB(2, 0, open_clicked_cb); + CLICKED_CB(2, 1, save_clicked_cb); + /* TODO: 2, 2: E-mail link */ gtk_widget_set_sensitive(buttons[2 * BUTTON_COLS + 2], FALSE); - CLICKED_CB(3, 0, fullscreen_clicked_cb); - CLICKED_CB(3, 1, inspector_clicked_cb); + /* TODO: 3, 0: Print preview */ + gtk_widget_set_sensitive(buttons[3 * BUTTON_COLS + 0], FALSE); + /* TODO: 3, 1: Print */ + gtk_widget_set_sensitive(buttons[3 * BUTTON_COLS + 1], FALSE); + CLICKED_CB(3, 2, inspector_clicked_cb); CLICKED_CB(4, 0, preferences_clicked_cb); CLICKED_CB(4, 1, about_clicked_cb); |