mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
(trunk) #3926: use "Open Torrent" instead of "Add Torrent" in GTK+ and Qt clients -- text changed.
This commit is contained in:
10
gtk/main.c
10
gtk/main.c
@@ -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" ) )
|
||||
|
||||
Reference in New Issue
Block a user