2008-08-11 19:05:02 +00:00
|
|
|
static const char * fallback_ui_file =
|
2008-09-23 19:11:04 +00:00
|
|
|
"<ui>\n"
|
|
|
|
" <menubar name='main-window-menu'>\n"
|
2009-11-29 07:41:13 +00:00
|
|
|
" <menu action='file-menu'>\n"
|
2008-09-23 19:11:04 +00:00
|
|
|
" <menuitem action='add-torrent-menu'/>\n"
|
2009-11-22 16:20:22 +00:00
|
|
|
" <menuitem action='add-torrent-from-url'/>\n"
|
2008-09-23 19:11:04 +00:00
|
|
|
" <menuitem action='new-torrent'/>\n"
|
|
|
|
" <separator/>\n"
|
2009-02-18 18:40:38 +00:00
|
|
|
" <menuitem action='start-all-torrents'/>\n"
|
|
|
|
" <menuitem action='pause-all-torrents'/>\n"
|
|
|
|
" <separator/>\n"
|
2008-09-23 19:11:04 +00:00
|
|
|
" <menuitem action='quit'/>\n"
|
|
|
|
" </menu>\n"
|
|
|
|
" <menu action='edit-menu'>\n"
|
|
|
|
" <menuitem action='select-all'/>\n"
|
|
|
|
" <menuitem action='deselect-all'/>\n"
|
|
|
|
" <separator/>\n"
|
|
|
|
" <menuitem action='edit-preferences'/>\n"
|
|
|
|
" </menu>\n"
|
2009-11-29 07:41:13 +00:00
|
|
|
" <menu action='torrent-menu'>\n"
|
|
|
|
" <menuitem action='show-torrent-properties'/>\n"
|
|
|
|
" <menuitem action='open-torrent-folder'/>\n"
|
|
|
|
" <menuitem action='relocate-torrent'/>\n"
|
|
|
|
" <separator/>\n"
|
|
|
|
" <menuitem action='start-torrent'/>\n"
|
|
|
|
" <menuitem action='update-tracker'/>\n"
|
|
|
|
" <menuitem action='pause-torrent'/>\n"
|
|
|
|
" <menuitem action='verify-torrent'/>\n"
|
|
|
|
" <separator/>\n"
|
|
|
|
" <menuitem action='remove-torrent'/>\n"
|
|
|
|
" <menuitem action='delete-torrent'/>\n"
|
|
|
|
" </menu>\n"
|
2008-09-23 19:11:04 +00:00
|
|
|
" <menu action='view-menu'>\n"
|
|
|
|
" <menuitem action='minimal-view'/>\n"
|
|
|
|
" <separator/>\n"
|
|
|
|
" <menuitem action='show-toolbar'/>\n"
|
|
|
|
" <menuitem action='show-filterbar'/>\n"
|
|
|
|
" <menuitem action='show-statusbar'/>\n"
|
|
|
|
" <separator/>\n"
|
|
|
|
" <menuitem action='sort-by-activity'/>\n"
|
|
|
|
" <menuitem action='sort-by-age'/>\n"
|
|
|
|
" <menuitem action='sort-by-name'/>\n"
|
|
|
|
" <menuitem action='sort-by-progress'/>\n"
|
|
|
|
" <menuitem action='sort-by-ratio'/>\n"
|
2009-03-01 00:11:53 +00:00
|
|
|
" <menuitem action='sort-by-size'/>\n"
|
2008-09-23 19:11:04 +00:00
|
|
|
" <menuitem action='sort-by-state'/>\n"
|
2009-07-03 20:10:05 +00:00
|
|
|
" <menuitem action='sort-by-time-left'/>\n"
|
2008-09-23 19:11:04 +00:00
|
|
|
" <menuitem action='sort-by-tracker'/>\n"
|
|
|
|
" <separator/>\n"
|
|
|
|
" <menuitem action='sort-reversed'/>\n"
|
|
|
|
" </menu>\n"
|
|
|
|
" <menu action='help-menu'>\n"
|
|
|
|
" <menuitem action='toggle-message-log'/>\n"
|
|
|
|
" <menuitem action='show-stats'/>\n"
|
|
|
|
" <separator/>\n"
|
2009-09-10 17:39:44 +00:00
|
|
|
" <menuitem action='donate'/>\n"
|
|
|
|
" <separator/>\n"
|
2008-09-23 19:11:04 +00:00
|
|
|
" <menuitem action='help'/>\n"
|
|
|
|
" <menuitem action='show-about-dialog'/>\n"
|
|
|
|
" </menu>\n"
|
|
|
|
" </menubar>\n"
|
|
|
|
"\n"
|
|
|
|
" <toolbar name='main-window-toolbar'>\n"
|
|
|
|
" <toolitem action='add-torrent-toolbar'/>\n"
|
|
|
|
" <toolitem action='start-torrent'/>\n"
|
|
|
|
" <toolitem action='pause-torrent'/>\n"
|
|
|
|
" <toolitem action='remove-torrent'/>\n"
|
|
|
|
" <separator/>\n"
|
2008-11-13 04:10:04 +00:00
|
|
|
" <toolitem action='show-torrent-properties'/>\n"
|
2008-09-23 19:11:04 +00:00
|
|
|
" </toolbar>\n"
|
|
|
|
"\n"
|
|
|
|
" <popup name='main-window-popup'>\n"
|
2009-11-05 02:02:07 +00:00
|
|
|
" <menuitem action='show-torrent-properties'/>\n"
|
|
|
|
" <menuitem action='open-torrent-folder'/>\n"
|
|
|
|
" <separator/>\n"
|
|
|
|
" <menuitem action='start-torrent'/>\n"
|
|
|
|
" <menuitem action='update-tracker'/>\n"
|
|
|
|
" <menuitem action='pause-torrent'/>\n"
|
|
|
|
" <menuitem action='verify-torrent'/>\n"
|
|
|
|
" <separator/>\n"
|
2009-07-27 19:59:21 +00:00
|
|
|
" <menu action='sort-menu'>\n"
|
|
|
|
" <menuitem action='sort-by-activity'/>\n"
|
|
|
|
" <menuitem action='sort-by-age'/>\n"
|
|
|
|
" <menuitem action='sort-by-name'/>\n"
|
|
|
|
" <menuitem action='sort-by-progress'/>\n"
|
|
|
|
" <menuitem action='sort-by-ratio'/>\n"
|
|
|
|
" <menuitem action='sort-by-size'/>\n"
|
|
|
|
" <menuitem action='sort-by-state'/>\n"
|
|
|
|
" <menuitem action='sort-by-time-left'/>\n"
|
|
|
|
" <menuitem action='sort-by-tracker'/>\n"
|
|
|
|
" <separator/>\n"
|
|
|
|
" <menuitem action='sort-reversed'/>\n"
|
|
|
|
" </menu>\n"
|
|
|
|
" <separator/>\n"
|
2009-05-13 15:54:04 +00:00
|
|
|
" <menuitem action='relocate-torrent'/>\n"
|
2008-09-23 19:11:04 +00:00
|
|
|
" <separator/>\n"
|
|
|
|
" <menuitem action='remove-torrent'/>\n"
|
|
|
|
" <menuitem action='delete-torrent'/>\n"
|
|
|
|
" </popup>\n"
|
|
|
|
"\n"
|
|
|
|
" <popup name='icon-popup'>\n"
|
|
|
|
" <menuitem action='add-torrent-menu'/>\n"
|
|
|
|
" <separator/>\n"
|
|
|
|
" <menuitem action='toggle-main-window'/>\n"
|
|
|
|
" <menuitem action='toggle-message-log'/>\n"
|
2009-05-16 19:41:41 +00:00
|
|
|
" <menuitem action='alt-speed-enabled'/>\n"
|
2008-09-23 19:11:04 +00:00
|
|
|
" <separator/>\n"
|
2009-02-18 18:40:38 +00:00
|
|
|
" <menuitem action='start-all-torrents'/>\n"
|
2008-12-03 05:15:17 +00:00
|
|
|
" <menuitem action='pause-all-torrents'/>\n"
|
|
|
|
" <separator/>\n"
|
2009-05-16 19:41:41 +00:00
|
|
|
" <menuitem action='show-about-dialog'/>\n"
|
2008-09-23 19:11:04 +00:00
|
|
|
" <menuitem action='quit'/>\n"
|
|
|
|
" </popup>\n"
|
|
|
|
"\n"
|
|
|
|
"</ui>";
|
2007-06-18 03:40:41 +00:00
|
|
|
|