2008-08-11 19:05:02 +00:00
|
|
|
static const char * fallback_ui_file =
|
2007-06-18 03:40:41 +00:00
|
|
|
"<ui>\n"
|
|
|
|
" <menubar name='main-window-menu'>\n"
|
2007-10-10 18:20:52 +00:00
|
|
|
" <menu action='torrent-menu'>\n"
|
2008-04-03 02:11:15 +00:00
|
|
|
" <menuitem action='add-torrent-menu'/>\n"
|
2008-02-03 17:10:03 +00:00
|
|
|
" <menuitem action='new-torrent'/>\n"
|
2008-02-03 02:27:12 +00:00
|
|
|
" <separator/>\n"
|
2008-04-11 02:21:33 +00:00
|
|
|
" <menuitem action='show-torrent-details'/>\n"
|
|
|
|
" <menuitem action='open-torrent-folder'/>\n"
|
|
|
|
" <separator/>\n"
|
2007-06-18 03:40:41 +00:00
|
|
|
" <menuitem action='start-torrent'/>\n"
|
2007-07-30 17:11:00 +00:00
|
|
|
" <menuitem action='update-tracker'/>\n"
|
2007-10-10 17:25:56 +00:00
|
|
|
" <menuitem action='pause-torrent'/>\n"
|
2007-10-10 18:20:52 +00:00
|
|
|
" <menuitem action='verify-torrent'/>\n"
|
2008-03-07 17:47:42 +00:00
|
|
|
" <menuitem action='remove-torrent'/>\n"
|
2008-03-02 15:54:58 +00:00
|
|
|
" <menuitem action='delete-torrent'/>\n"
|
2007-06-18 03:40:41 +00:00
|
|
|
" <separator/>\n"
|
|
|
|
" <menuitem action='quit'/>\n"
|
|
|
|
" </menu>\n"
|
2007-12-24 17:31:04 +00:00
|
|
|
" <menu action='edit-menu'>\n"
|
|
|
|
" <menuitem action='select-all'/>\n"
|
2008-03-19 20:34:35 +00:00
|
|
|
" <menuitem action='deselect-all'/>\n"
|
2007-12-24 17:31:04 +00:00
|
|
|
" <separator/>\n"
|
|
|
|
" <menuitem action='edit-preferences'/>\n"
|
|
|
|
" </menu>\n"
|
2007-12-19 02:46:30 +00:00
|
|
|
" <menu action='view-menu'>\n"
|
2007-12-20 02:56:47 +00:00
|
|
|
" <menuitem action='minimal-view'/>\n"
|
2008-02-03 17:10:03 +00:00
|
|
|
" <separator/>\n"
|
2007-12-20 02:56:47 +00:00
|
|
|
" <menuitem action='show-toolbar'/>\n"
|
2008-03-19 19:30:03 +00:00
|
|
|
" <menuitem action='show-filterbar'/>\n"
|
|
|
|
" <menuitem action='show-statusbar'/>\n"
|
2008-06-06 20:03:19 +00:00
|
|
|
" <menuitem action='show-tray-icon'/>\n"
|
2007-12-19 02:46:30 +00:00
|
|
|
" <separator/>\n"
|
2007-12-24 17:31:04 +00:00
|
|
|
" <menuitem action='sort-by-activity'/>\n"
|
2008-06-02 04:41:55 +00:00
|
|
|
" <menuitem action='sort-by-age'/>\n"
|
2007-12-24 17:31:04 +00:00
|
|
|
" <menuitem action='sort-by-name'/>\n"
|
|
|
|
" <menuitem action='sort-by-progress'/>\n"
|
2008-04-06 14:07:41 +00:00
|
|
|
" <menuitem action='sort-by-ratio'/>\n"
|
2007-12-24 17:31:04 +00:00
|
|
|
" <menuitem action='sort-by-state'/>\n"
|
|
|
|
" <menuitem action='sort-by-tracker'/>\n"
|
2008-02-03 17:10:03 +00:00
|
|
|
" <separator/>\n"
|
2007-12-24 17:31:04 +00:00
|
|
|
" <menuitem action='sort-reversed'/>\n"
|
2007-06-18 03:40:41 +00:00
|
|
|
" </menu>\n"
|
|
|
|
" <menu action='help-menu'>\n"
|
2007-11-18 02:32:46 +00:00
|
|
|
" <menuitem action='toggle-message-log'/>\n"
|
2007-11-27 03:29:51 +00:00
|
|
|
" <menuitem action='show-stats'/>\n"
|
2007-06-18 03:40:41 +00:00
|
|
|
" <separator/>\n"
|
2008-05-06 19:20:19 +00:00
|
|
|
" <menuitem action='help'/>\n"
|
2007-06-18 03:40:41 +00:00
|
|
|
" <menuitem action='show-about-dialog'/>\n"
|
|
|
|
" </menu>\n"
|
|
|
|
" </menubar>\n"
|
|
|
|
"\n"
|
|
|
|
" <toolbar name='main-window-toolbar'>\n"
|
2008-04-03 02:11:15 +00:00
|
|
|
" <toolitem action='add-torrent-toolbar'/>\n"
|
2007-06-18 03:40:41 +00:00
|
|
|
" <toolitem action='start-torrent'/>\n"
|
2007-10-10 17:25:56 +00:00
|
|
|
" <toolitem action='pause-torrent'/>\n"
|
2008-03-07 17:47:42 +00:00
|
|
|
" <toolitem action='remove-torrent'/>\n"
|
2007-06-18 03:40:41 +00:00
|
|
|
" <separator/>\n"
|
2007-10-10 18:52:08 +00:00
|
|
|
" <toolitem action='show-torrent-details'/>\n"
|
2007-06-18 03:40:41 +00:00
|
|
|
" </toolbar>\n"
|
|
|
|
"\n"
|
|
|
|
" <popup name='main-window-popup'>\n"
|
2007-10-10 18:52:08 +00:00
|
|
|
" <menuitem action='show-torrent-details'/>\n"
|
2008-04-11 02:21:33 +00:00
|
|
|
" <menuitem action='open-torrent-folder'/>\n"
|
2007-06-18 03:40:41 +00:00
|
|
|
" <separator/>\n"
|
|
|
|
" <menuitem action='start-torrent'/>\n"
|
2007-10-10 17:25:56 +00:00
|
|
|
" <menuitem action='pause-torrent'/>\n"
|
2007-10-10 18:20:52 +00:00
|
|
|
" <menuitem action='verify-torrent'/>\n"
|
2007-10-16 14:42:17 +00:00
|
|
|
" <menuitem action='update-tracker'/>\n"
|
2007-06-18 03:40:41 +00:00
|
|
|
" <separator/>\n"
|
2008-03-07 17:47:42 +00:00
|
|
|
" <menuitem action='remove-torrent'/>\n"
|
2008-03-02 15:54:58 +00:00
|
|
|
" <menuitem action='delete-torrent'/>\n"
|
2007-06-18 03:40:41 +00:00
|
|
|
" </popup>\n"
|
|
|
|
"\n"
|
|
|
|
" <popup name='icon-popup'>\n"
|
2008-04-03 02:11:15 +00:00
|
|
|
" <menuitem action='add-torrent-menu'/>\n"
|
2007-06-18 03:40:41 +00:00
|
|
|
" <separator/>\n"
|
|
|
|
" <menuitem action='toggle-main-window'/>\n"
|
2007-11-18 02:32:46 +00:00
|
|
|
" <menuitem action='toggle-message-log'/>\n"
|
2007-06-18 03:40:41 +00:00
|
|
|
" <menuitem action='show-about-dialog'/>\n"
|
|
|
|
" <separator/>\n"
|
|
|
|
" <menuitem action='quit'/>\n"
|
|
|
|
" </popup>\n"
|
|
|
|
"\n"
|
|
|
|
"</ui>";
|
|
|
|
|