From 0a625bb34915cd16595ebebee2236fdc3b595117 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Thu, 02 Nov 2017 14:40:27 -0400 Subject: MqMainMenu: Make unimplemented buttons insensitive --- (limited to 'src/toolbars') 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); -- cgit v0.9.1