Changeset 4911


Ignore:
Timestamp:
Feb 3, 2008, 5:10:03 PM (14 years ago)
Author:
charles
Message:

(gtk) #677: hig tweaks

Location:
trunk/gtk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/actions.c

    r4905 r4911  
    102102  { "edit-menu", NULL, N_("_Edit"), NULL, NULL, NULL },
    103103  { "help-menu", NULL, N_("_Help"), NULL, NULL, NULL },
    104   { "open-torrent", GTK_STOCK_OPEN,
    105     NULL, NULL, N_("Open Torrent"), G_CALLBACK(action_cb) },
     104  { "open-torrent-toolbar", GTK_STOCK_OPEN, N_("_Open"), NULL,
     105    N_("Open an existing torrent"),
     106    G_CALLBACK(action_cb) },
     107  { "open-torrent-menu", GTK_STOCK_OPEN, N_("_Open..."), "<control>O",
     108    N_("Open an existing torrent"),
     109    G_CALLBACK(action_cb) },
    106110  { "start-torrent", GTK_STOCK_MEDIA_PLAY,
    107111    N_("_Start"), "<control>S", NULL, G_CALLBACK(action_cb) },
     
    113117  { "remove-torrent", GTK_STOCK_REMOVE,
    114118    N_("_Remove"), "<control>Delete", NULL, G_CALLBACK(action_cb) },
    115   { "create-torrent", GTK_STOCK_NEW,
    116     N_("Create _New Torrent"), NULL, NULL, G_CALLBACK(action_cb) },
    117   { "close", GTK_STOCK_CLOSE,
    118     N_("_Close"), "<control>W", NULL, G_CALLBACK(action_cb) },
     119  { "new-torrent", GTK_STOCK_NEW, N_("_New..."), NULL,
     120    N_("Create a new torrent"),
     121    G_CALLBACK(action_cb) },
     122  { "close", GTK_STOCK_CLOSE, N_("_Close"), "<control>W",
     123    N_("Close main window"),
     124    G_CALLBACK(action_cb) },
    119125  { "quit", GTK_STOCK_QUIT,
    120126    N_("_Quit"), "<control>Q", NULL, G_CALLBACK(action_cb) },
  • trunk/gtk/main.c

    r4903 r4911  
    979979        gtk_tree_selection_selected_foreach( s, updateTrackerForeach, data->wind );
    980980    }
    981     else if (!strcmp (action_name, "create-torrent"))
     981    else if (!strcmp (action_name, "new-torrent"))
    982982    {
    983983        GtkWidget * w = make_meta_ui( GTK_WINDOW( data->wind ),
  • trunk/gtk/makemeta-ui.c

    r4850 r4911  
    233233    ui->handle = handle;
    234234
    235     d = gtk_dialog_new_with_buttons( _("Create New Torrent"),
     235    d = gtk_dialog_new_with_buttons( _("New Torrent"),
    236236                                     parent,
    237237                                     GTK_DIALOG_DESTROY_WITH_PARENT,
  • trunk/gtk/ui.h

    r4905 r4911  
    33"  <menubar name='main-window-menu'>\n"
    44"    <menu action='torrent-menu'>\n"
    5 "      <menuitem action='open-torrent'/>\n"
    6 "      <menuitem action='create-torrent'/>\n"
     5"      <menuitem action='open-torrent-menu'/>\n"
     6"      <menuitem action='new-torrent'/>\n"
    77"      <separator/>\n"
    88"      <menuitem action='start-torrent'/>\n"
     
    2424"    <menu action='view-menu'>\n"
    2525"      <menuitem action='minimal-view'/>\n"
     26"      <separator/>\n"
    2627"      <menuitem action='show-toolbar'/>\n"
    2728"      <menuitem action='show-filter-bar'/>\n"
     
    3334"      <menuitem action='sort-by-state'/>\n"
    3435"      <menuitem action='sort-by-tracker'/>\n"
     36"      <separator/>\n"
    3537"      <menuitem action='sort-reversed'/>\n"
    3638"    </menu>\n"
     
    4446"\n"
    4547"  <toolbar name='main-window-toolbar'>\n"
    46 "    <toolitem action='open-torrent'/>\n"
     48"    <toolitem action='open-torrent-toolbar'/>\n"
    4749"    <toolitem action='start-torrent'/>\n"
    4850"    <toolitem action='pause-torrent'/>\n"
     
    6466"\n"
    6567"  <popup name='icon-popup'>\n"
    66 "    <menuitem action='open-torrent'/>\n"
     68"    <menuitem action='open-torrent-menu'/>\n"
    6769"    <separator/>\n"
    6870"    <menuitem action='toggle-main-window'/>\n"
Note: See TracChangeset for help on using the changeset viewer.