aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2009-12-21 00:32:23 +0100
committerThomas White <taw@bitwiz.org.uk>2009-12-21 00:32:23 +0100
commit9a0a1c228355e0efb7f423529c11bc162b7cbafd (patch)
tree63d838c23170869fb705454559db9a8b9f9a7644
parent2bb5a67454a3e5743b7571cae178553fb804e750 (diff)
Disable menu items which are not images (to avoid confusion)
-rw-r--r--src/displaywindow.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/displaywindow.c b/src/displaywindow.c
index ffcce983..4d45fbc2 100644
--- a/src/displaywindow.c
+++ b/src/displaywindow.c
@@ -704,6 +704,7 @@ static GtkWidget *displaywindow_addhdfgroup(struct hdfile *hdfile,
mss = gtk_menu_new();
ss = gtk_menu_item_new_with_label(tmp);
+ gtk_widget_set_sensitive(ss, FALSE);
gtk_menu_shell_append(GTK_MENU_SHELL(mss), ss);
gtk_menu_item_set_submenu(GTK_MENU_ITEM(item),
mss);