- { (char *)"/File", 0, 0, 0, (char *)"<Branch>", 0 },
- { (char *)"/File/Quit", (char *)"<CTRL>Q", quit_program, 0,
- (char *)"<StockItem>", GTK_STOCK_QUIT },
- { (char *)"/Edit", 0, 0, 0, (char *)"<Branch>", 0 },
- { (char *)"/Edit/Select All", (char *)"<CTRL>A", select_all, 0,
- 0, 0 },
- { (char *)"/Edit/Properties", 0, properties_item, 0,
- 0, 0 },
- { (char *)"/Help", 0, 0, 0, (char *)"<Branch>", 0 },
- { (char *)"/Help/About DisOrder", 0, about_popup, 0,
- (char *)"<StockItem>", GTK_STOCK_ABOUT },
+ {
+ (char *)"/Server", /* path */
+ 0, /* accelerator */
+ 0, /* callback */
+ 0, /* callback_action */
+ (char *)"<Branch>", /* item_type */
+ 0 /* extra_data */
+ },
+ {
+ (char *)"/Server/Login", /* path */
+ (char *)"<CTRL>L", /* accelerator */
+ login, /* callback */
+ 0, /* callback_action */
+ 0, /* item_type */
+ 0 /* extra_data */
+ },
+ {
+ (char *)"/Server/Manage users", /* path */
+ 0, /* accelerator */
+ users, /* callback */
+ 0, /* callback_action */
+ 0, /* item_type */
+ 0 /* extra_data */
+ },
+#if 0
+ {
+ (char *)"/Server/Settings", /* path */
+ 0, /* accelerator */
+ settings, /* callback */
+ 0, /* callback_action */
+ 0, /* item_type */
+ 0 /* extra_data */
+ },
+#endif
+ {
+ (char *)"/Server/Quit Disobedience", /* path */
+ (char *)"<CTRL>Q", /* accelerator */
+ quit_program, /* callback */
+ 0, /* callback_action */
+ (char *)"<StockItem>", /* item_type */
+ GTK_STOCK_QUIT /* extra_data */
+ },
+
+ {
+ (char *)"/Edit", /* path */
+ 0, /* accelerator */
+ 0, /* callback */
+ 0, /* callback_action */
+ (char *)"<Branch>", /* item_type */
+ 0 /* extra_data */
+ },
+ {
+ (char *)"/Edit/Select all tracks", /* path */
+ (char *)"<CTRL>A", /* accelerator */
+ menu_tab_action, /* callback */
+ offsetof(struct tabtype, selectall_activate), /* callback_action */
+ (char *)"<StockItem>", /* item_type */
+ GTK_STOCK_SELECT_ALL, /* extra_data */
+ },
+ {
+ (char *)"/Edit/Deselect all tracks", /* path */
+ (char *)"<CTRL><SHIFT>A", /* accelerator */
+ menu_tab_action, /* callback */
+ offsetof(struct tabtype, selectnone_activate), /* callback_action */
+ 0, /* item_type */
+ 0 /* extra_data */
+ },
+ {
+ (char *)"/Edit/Track properties", /* path */
+ 0, /* accelerator */
+ menu_tab_action, /* callback */
+ offsetof(struct tabtype, properties_activate), /* callback_action */
+ (char *)"<StockItem>", /* item_type */
+ GTK_STOCK_PROPERTIES, /* extra_data */
+ },
+ {
+ (char *)"/Edit/Edit playlists", /* path */
+ 0, /* accelerator */
+ playlist_window_create, /* callback */
+ 0, /* callback_action */
+ 0, /* item_type */
+ 0 /* extra_data */
+ },
+
+
+ {
+ (char *)"/Control", /* path */
+ 0, /* accelerator */
+ 0, /* callback */
+ 0, /* callback_action */
+ (char *)"<Branch>", /* item_type */
+ 0 /* extra_data */
+ },
+ {
+ (char *)"/Control/Scratch", /* path */
+ (char *)"<CTRL>S", /* accelerator */
+ 0, /* callback */
+ 0, /* callback_action */
+ (char *)"<StockItem>", /* item_type */
+ GTK_STOCK_STOP, /* extra_data */
+ },
+ {
+ (char *)"/Control/Playing", /* path */
+ (char *)"<CTRL>P", /* accelerator */
+ 0, /* callback */
+ 0, /* callback_action */
+ (char *)"<CheckItem>", /* item_type */
+ 0 /* extra_data */
+ },
+ {
+ (char *)"/Control/Random play", /* path */
+ (char *)"<CTRL>R", /* accelerator */
+ 0, /* callback */
+ 0, /* callback_action */
+ (char *)"<CheckItem>", /* item_type */
+ 0 /* extra_data */
+ },
+ {
+ (char *)"/Control/Network player", /* path */
+ (char *)"<CTRL>N", /* accelerator */
+ 0, /* callback */
+ 0, /* callback_action */
+ (char *)"<CheckItem>", /* item_type */
+ 0 /* extra_data */
+ },
+ {
+ (char *)"/Control/Compact mode", /* path */
+ (char *)"<CTRL>M", /* accelerator */
+ 0, /* callback */
+ 0, /* callback_action */
+ (char *)"<CheckItem>", /* item_type */
+ 0 /* extra_data */
+ },
+ {
+ (char *)"/Control/Global Preferences", /* path */
+ (char *)"<CTRL>G", /* accelerator */
+ popup_globals, /* callback */
+ 0, /* callback_action */
+ 0, /* item_type */
+ 0 /* extra_data */
+ },
+ {
+ (char *)"/Control/Activate playlist", /* path */
+ 0, /* accelerator */
+ 0, /* callback */
+ 0, /* callback_action */
+ (char *)"<Branch>", /* item_type */
+ 0 /* extra_data */
+ },
+
+ {
+ (char *)"/Help", /* path */
+ 0, /* accelerator */
+ 0, /* callback */
+ 0, /* callback_action */
+ (char *)"<Branch>", /* item_type */
+ 0 /* extra_data */
+ },
+ {
+ (char *)"/Help/Manual", /* path */
+ 0, /* accelerator */
+ manual_popup, /* callback */
+ 0, /* callback_action */
+ (char *)"<StockItem>", /* item_type */
+ GTK_STOCK_HELP, /* extra_data */
+ },
+ {
+ (char *)"/Help/About Disobedience", /* path */
+ 0, /* accelerator */
+ about_popup, /* callback */
+ 0, /* callback_action */
+ (char *)"<StockItem>", /* item_type */
+ GTK_STOCK_ABOUT /* extra_data */
+ },