Changeset 5760


Ignore:
Timestamp:
May 6, 2008, 7:20:19 PM (14 years ago)
Author:
charles
Message:

(gtk) link to the online manual from the Help menu

Location:
trunk/gtk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/actions.c

    r5583 r5760  
    129129    N_("_Open Folder"), NULL, NULL, G_CALLBACK(action_cb) },
    130130  { "show-about-dialog", GTK_STOCK_ABOUT, NULL, NULL, NULL, G_CALLBACK(action_cb) },
     131  { "help", GTK_STOCK_HELP, NULL, NULL, NULL, G_CALLBACK(action_cb) },
    131132  { "update-tracker", GTK_STOCK_NETWORK,
    132133    N_("Ask Tracker for _More Peers"), NULL, NULL, G_CALLBACK(action_cb) }
  • trunk/gtk/main.c

    r5699 r5760  
    11841184        about( data->wind );
    11851185    }
     1186    else if (!strcmp (action_name, "help"))
     1187    {
     1188        gtr_open_file( "http://www.transmissionbt.com/help/gtk" );
     1189    }
    11861190    else if (!strcmp (action_name, "toggle-main-window"))
    11871191    {
  • trunk/gtk/ui.h

    r5583 r5760  
    4545"      <menuitem action='show-stats'/>\n"
    4646"      <separator/>\n"
     47"      <menuitem action='help'/>\n"
    4748"      <menuitem action='show-about-dialog'/>\n"
    4849"    </menu>\n"
Note: See TracChangeset for help on using the changeset viewer.