From 918f8f4936dad6fdcf8108bc42b5b2a8f61b7d47 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Thu, 3 Apr 2008 02:13:13 +0000 Subject: [PATCH] (gtk) one more open -> add --- gtk/add-dialog.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gtk/add-dialog.c b/gtk/add-dialog.c index bff4968f0..a4f0d5d3d 100644 --- a/gtk/add-dialog.c +++ b/gtk/add-dialog.c @@ -258,7 +258,7 @@ addSingleTorrentDialog( GtkWindow * parent, ****/ static void -onOpenDialogResponse( GtkDialog * dialog, int response, gpointer core ) +onAddDialogResponse( GtkDialog * dialog, int response, gpointer core ) { char * folder; @@ -288,7 +288,7 @@ addDialog( GtkWindow * parent, GtkWidget * c; char * folder; - w = gtk_file_chooser_dialog_new( _( "Open a Torrent" ), parent, + w = gtk_file_chooser_dialog_new( _( "Add a Torrent" ), parent, GTK_FILE_CHOOSER_ACTION_OPEN, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_ADD, GTK_RESPONSE_ACCEPT, @@ -299,7 +299,7 @@ addDialog( GtkWindow * parent, -1 ); gtk_file_chooser_set_select_multiple( GTK_FILE_CHOOSER( w ), TRUE ); addTorrentFilters( GTK_FILE_CHOOSER( w ) ); - g_signal_connect( w, "response", G_CALLBACK(onOpenDialogResponse), core ); + g_signal_connect( w, "response", G_CALLBACK(onAddDialogResponse), core ); if(( folder = pref_string_get( PREF_KEY_OPEN_DIALOG_FOLDER ))) { gtk_file_chooser_set_current_folder( GTK_FILE_CHOOSER( w ), folder );