(gtk) link to the online manual from the Help menu
This commit is contained in:
parent
0f9ca34848
commit
2e257e7c24
|
@ -128,6 +128,7 @@ static GtkActionEntry entries[] =
|
|||
{ "open-torrent-folder", GTK_STOCK_OPEN,
|
||||
N_("_Open Folder"), NULL, NULL, G_CALLBACK(action_cb) },
|
||||
{ "show-about-dialog", GTK_STOCK_ABOUT, NULL, NULL, NULL, G_CALLBACK(action_cb) },
|
||||
{ "help", GTK_STOCK_HELP, NULL, NULL, NULL, G_CALLBACK(action_cb) },
|
||||
{ "update-tracker", GTK_STOCK_NETWORK,
|
||||
N_("Ask Tracker for _More Peers"), NULL, NULL, G_CALLBACK(action_cb) }
|
||||
};
|
||||
|
|
|
@ -1183,6 +1183,10 @@ doAction ( const char * action_name, gpointer user_data )
|
|||
{
|
||||
about( data->wind );
|
||||
}
|
||||
else if (!strcmp (action_name, "help"))
|
||||
{
|
||||
gtr_open_file( "http://www.transmissionbt.com/help/gtk" );
|
||||
}
|
||||
else if (!strcmp (action_name, "toggle-main-window"))
|
||||
{
|
||||
toggleMainWindow( data );
|
||||
|
|
Loading…
Reference in New Issue