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"
|
2011-01-20 19:48:13 +00:00
|
|
|
" <menuitem action='open-torrent-menu'/>\n"
|
|
|
|
" <menuitem action='open-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"
|
2009-12-01 07:43:21 +00:00
|
|
|
" <menuitem action='open-torrent-folder'/>\n"
|
2009-11-29 07:41:13 +00:00
|
|
|
" <separator/>\n"
|
2011-08-01 22:24:24 +00:00
|
|
|
" <menuitem action='torrent-start'/>\n"
|
|
|
|
" <menuitem action='torrent-start-now'/>\n"
|
|
|
|
" <menuitem action='torrent-reannounce'/>\n"
|
|
|
|
" <menu action='queue-menu'>\n"
|
|
|
|
" <menuitem action='queue-move-top'/>\n"
|
|
|
|
" <menuitem action='queue-move-up'/>\n"
|
|
|
|
" <menuitem action='queue-move-down'/>\n"
|
|
|
|
" <menuitem action='queue-move-bottom'/>\n"
|
|
|
|
" </menu>\n"
|
|
|
|
" <menuitem action='torrent-stop'/>\n"
|
2009-11-29 18:23:06 +00:00
|
|
|
" <separator/>\n"
|
|
|
|
" <menuitem action='relocate-torrent'/>\n"
|
2011-08-01 22:24:24 +00:00
|
|
|
" <menuitem action='torrent-verify'/>\n"
|
|
|
|
" <menuitem action='copy-magnet-link-to-clipboard'/>\n"
|
2009-11-29 07:41:13 +00:00
|
|
|
" <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"
|
2010-03-15 14:42:43 +00:00
|
|
|
" <menuitem action='compact-view'/>\n"
|
2008-09-23 19:11:04 +00:00
|
|
|
" <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"
|
2011-08-02 03:59:54 +00:00
|
|
|
" <menuitem action='sort-by-queue'/>\n"
|
2008-09-23 19:11:04 +00:00
|
|
|
" <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
|
|
|
" <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"
|
2011-01-20 19:48:13 +00:00
|
|
|
" <toolitem action='open-torrent-toolbar'/>\n"
|
2011-08-01 22:24:24 +00:00
|
|
|
" <toolitem action='torrent-start'/>\n"
|
|
|
|
" <toolitem action='torrent-stop'/>\n"
|
2008-09-23 19:11:04 +00:00
|
|
|
" <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"
|
2009-12-01 07:43:21 +00:00
|
|
|
" <menuitem action='open-torrent-folder'/>\n"
|
2009-11-05 02:02:07 +00:00
|
|
|
" <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"
|
|
|
|
" <separator/>\n"
|
|
|
|
" <menuitem action='sort-reversed'/>\n"
|
|
|
|
" </menu>\n"
|
|
|
|
" <separator/>\n"
|
2011-08-01 22:24:24 +00:00
|
|
|
" <menuitem action='torrent-start'/>\n"
|
|
|
|
" <menuitem action='torrent-start-now'/>\n"
|
|
|
|
" <menuitem action='torrent-reannounce'/>\n"
|
|
|
|
" <menu action='queue-menu'>\n"
|
|
|
|
" <menuitem action='queue-move-top'/>\n"
|
|
|
|
" <menuitem action='queue-move-up'/>\n"
|
|
|
|
" <menuitem action='queue-move-down'/>\n"
|
|
|
|
" <menuitem action='queue-move-bottom'/>\n"
|
|
|
|
" </menu>\n"
|
|
|
|
" <menuitem action='torrent-stop'/>\n"
|
2009-11-29 18:23:06 +00:00
|
|
|
" <separator/>\n"
|
2009-05-13 15:54:04 +00:00
|
|
|
" <menuitem action='relocate-torrent'/>\n"
|
2011-08-01 22:24:24 +00:00
|
|
|
" <menuitem action='torrent-verify'/>\n"
|
|
|
|
" <menuitem action='copy-magnet-link-to-clipboard'/>\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"
|
2010-01-14 07:03:29 +00:00
|
|
|
" <menuitem action='toggle-main-window'/>\n"
|
|
|
|
" <separator/>\n"
|
2011-01-20 19:48:13 +00:00
|
|
|
" <menuitem action='open-torrent-menu'/>\n"
|
|
|
|
" <menuitem action='open-torrent-from-url'/>\n"
|
2008-09-23 19:11:04 +00:00
|
|
|
" <separator/>\n"
|
2008-12-03 05:15:17 +00:00
|
|
|
" <menuitem action='pause-all-torrents'/>\n"
|
2010-01-14 07:03:29 +00:00
|
|
|
" <menuitem action='start-all-torrents'/>\n"
|
|
|
|
" <separator/>\n"
|
|
|
|
" <menuitem action='alt-speed-enabled'/>\n"
|
2008-12-03 05:15:17 +00:00
|
|
|
" <separator/>\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
|
|
|
|