(trunk) #3926: use "Open Torrent" instead of "Add Torrent" in GTK+ and Qt clients -- text changed.

This commit is contained in:
Jordan Lee
2011-01-20 19:48:13 +00:00
parent bcb83b4577
commit 131afcc3a4
10 changed files with 59 additions and 56 deletions

View File

@@ -1702,15 +1702,15 @@ gtr_actions_handler( const char * action_name, gpointer user_data )
struct cbdata * data = user_data;
gboolean changed = FALSE;
if( !strcmp( action_name, "add-torrent-from-url" ) )
if( !strcmp( action_name, "open-torrent-from-url" ) )
{
GtkWidget * w = gtr_torrent_add_from_url_dialog_new( data->wind, data->core );
GtkWidget * w = gtr_torrent_open_from_url_dialog_new( data->wind, data->core );
gtk_widget_show( w );
}
else if( !strcmp( action_name, "add-torrent-menu" )
|| !strcmp( action_name, "add-torrent-toolbar" ) )
else if( !strcmp( action_name, "open-torrent-menu" )
|| !strcmp( action_name, "open-torrent-toolbar" ) )
{
GtkWidget * w = gtr_torrent_add_from_file_dialog_new( data->wind, data->core );
GtkWidget * w = gtr_torrent_open_from_file_dialog_new( data->wind, data->core );
gtk_widget_show( w );
}
else if( !strcmp( action_name, "show-stats" ) )