move the submenus to the top of the client menu by popular demand.

This commit is contained in:
Dana Jansens 2007-08-04 13:36:08 -04:00
parent 0cfd92ab9e
commit 758ef2cafa

View file

@ -377,6 +377,10 @@ void client_menu_startup()
menu_set_place_func(menu, client_menu_place);
menu_set_execute_func(menu, client_menu_execute);
menu_add_submenu(menu, CLIENT_SEND_TO, SEND_TO_MENU_NAME);
menu_add_submenu(menu, CLIENT_LAYER, LAYER_MENU_NAME);
e = menu_add_normal(menu, CLIENT_RESTORE, _("R_estore"), NULL, TRUE);
e->data.normal.mask = ob_rr_theme->max_toggled_mask;
e->data.normal.mask_normal_color = ob_rr_theme->menu_color;
@ -411,12 +415,6 @@ void client_menu_startup()
menu_add_separator(menu, -1, NULL);
menu_add_submenu(menu, CLIENT_SEND_TO, SEND_TO_MENU_NAME);
menu_add_submenu(menu, CLIENT_LAYER, LAYER_MENU_NAME);
menu_add_separator(menu, -1, NULL);
e = menu_add_normal(menu, CLIENT_CLOSE, _("_Close"), NULL, TRUE);
e->data.normal.mask = ob_rr_theme->close_mask;
e->data.normal.mask_normal_color = ob_rr_theme->menu_color;