summaryrefslogtreecommitdiff
path: root/openbox/menu.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-08-28 06:32:27 +0000
committerDana Jansens <danakj@orodu.net>2003-08-28 06:32:27 +0000
commitffba11aeb059bef0b4876eb6aad2a8a24e2db6f1 (patch)
treebc66e6ef487984bae5f3697aaa766b029358bbaf /openbox/menu.h
parent615cbd96075905d75533f9b615c4ee6a75f4f9a4 (diff)
load menu plugins automatically from whats in the menu file
menu fixups move enabled into the 'normal menu item' specific data stuff
Diffstat (limited to 'openbox/menu.h')
-rw-r--r--openbox/menu.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/openbox/menu.h b/openbox/menu.h
index 66390e75..a3332280 100644
--- a/openbox/menu.h
+++ b/openbox/menu.h
@@ -47,6 +47,9 @@ typedef enum
struct _ObNormalMenuEntry {
gchar *label;
+ /* state */
+ gboolean enabled;
+
/* List of ObActions */
GSList *actions;
};
@@ -66,9 +69,6 @@ struct _ObMenuEntry
gint id;
- /* state */
- gboolean enabled;
-
union u {
ObNormalMenuEntry normal;
ObSubmenuMenuEntry submenu;