]> Dogcows Code - chaz/openbox/blobdiff - openbox/menu.c
Turn off timed_menu by default
[chaz/openbox] / openbox / menu.c
index 74c234827ad945ffb0b28b979ac1a23a11b0e8b7..994a8a9378d32a3ef5cf534e5e69359862f41ebb 100644 (file)
@@ -90,12 +90,14 @@ void menu_startup()
 
     menu_add_entry(m, menu_entry_new_submenu("subz", s));
 
+    /*
     t = (Menu *)plugin_create("timed_menu");
     a = action_from_string("execute");
     a->data.execute.path = g_strdup("xeyes");
     menu_add_entry(t, menu_entry_new("xeyes", a));
     menu_add_entry(m, menu_entry_new_submenu("timed", t));
-
+    */
+    
     s = menu_new("empty", "chub", m);
     menu_add_entry(m, menu_entry_new_submenu("empty", s));
 
@@ -234,7 +236,9 @@ void menu_add_entry(Menu *menu, MenuEntry *entry)
 {
     XSetWindowAttributes attrib;
 
-    g_assert(menu != NULL && entry != NULL && entry->item == None);
+    g_assert(menu != NULL);
+    g_assert(entry != NULL);
+    g_assert(entry->item == None);
 
     menu->entries = g_list_append(menu->entries, entry);
     entry->parent = menu;
This page took 0.022526 seconds and 4 git commands to generate.