diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-11-02 14:40:27 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-11-02 14:40:27 (EDT) |
commit | 0a625bb34915cd16595ebebee2236fdc3b595117 (patch) | |
tree | 22776eb4a83a76e78292f5fdaaa1994eaa64d76a /src/toolbars/navigation | |
parent | 00f9e06c1d7b65bc730b80a82cc05d3476f3c000 (diff) | |
download | marquee-0a625bb34915cd16595ebebee2236fdc3b595117.zip marquee-0a625bb34915cd16595ebebee2236fdc3b595117.tar.gz marquee-0a625bb34915cd16595ebebee2236fdc3b595117.tar.bz2 |
MqMainMenu: Make unimplemented buttons insensitive
Diffstat (limited to 'src/toolbars/navigation')
-rw-r--r-- | src/toolbars/navigation/main-menu.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/toolbars/navigation/main-menu.c b/src/toolbars/navigation/main-menu.c index 86438a1..eeee95d 100644 --- a/src/toolbars/navigation/main-menu.c +++ b/src/toolbars/navigation/main-menu.c @@ -185,9 +185,12 @@ menu_clicked_cb(MqMainMenu *main_menu) 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); |