diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-11-19 17:39:05 (EST) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-11-19 17:39:05 (EST) |
commit | 34996d2b0cd9caea8581e7f745c7ad0171bf6be3 (patch) | |
tree | 04d5a5e66570ec19e02fb4362fadfdedef15dab4 /src/toolbars | |
parent | 28543f6771463a696d9350b5bab22d817178488d (diff) | |
download | marquee-34996d2b0cd9caea8581e7f745c7ad0171bf6be3.zip marquee-34996d2b0cd9caea8581e7f745c7ad0171bf6be3.tar.gz marquee-34996d2b0cd9caea8581e7f745c7ad0171bf6be3.tar.bz2 |
MqMainMenu: Add comments to gtk_widget_set_sensitive() calls
Diffstat (limited to 'src/toolbars')
-rw-r--r-- | src/toolbars/navigation/main-menu.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/toolbars/navigation/main-menu.c b/src/toolbars/navigation/main-menu.c index c75caf6..89df924 100644 --- a/src/toolbars/navigation/main-menu.c +++ b/src/toolbars/navigation/main-menu.c @@ -335,10 +335,9 @@ create_main_grid(MqMainMenu *main_menu) NEW_BTN(2, 1, print, "document-print", "Print"); NEW_BTN(2, 2, inspector, "preferences-system", "Inspector"); - gtk_widget_set_sensitive(BTN(1, 2), FALSE); - - gtk_widget_set_sensitive(BTN(2, 0), FALSE); - gtk_widget_set_sensitive(BTN(2, 1), FALSE); + gtk_widget_set_sensitive(BTN(1, 2), FALSE); /* E-mail link */ + gtk_widget_set_sensitive(BTN(2, 0), FALSE); /* Print preview */ + gtk_widget_set_sensitive(BTN(2, 1), FALSE); /* Print */ return grid; } |