changeset 13535:99040e8c1142

[gaim-migrate @ 15912] The folder selection dialog should have a proper title if one wasn't specified. This has been pending end of string freeze. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Tue, 21 Mar 2006 00:54:54 +0000
parents 1685dcd6b3a5
children 977714c5e8a6
files src/gtkrequest.c
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkrequest.c	Tue Mar 21 00:50:58 2006 +0000
+++ b/src/gtkrequest.c	Tue Mar 21 00:54:54 2006 +0000
@@ -1597,9 +1597,8 @@
 	data->u.file.savedialog = FALSE;
 	
 #if GTK_CHECK_VERSION(2,4,0) /* FILECHOOSER */
-	/* Use a translated "Select Folder..." in place of NULL after strings thaw. */
 	dirsel = gtk_file_chooser_dialog_new(
-						title ? title : NULL,
+						title ? title : _("Select Folder..."),
 						NULL,
 						GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER,
 						GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
@@ -1613,8 +1612,7 @@
 	g_signal_connect(G_OBJECT(GTK_FILE_CHOOSER(dirsel)), "response",
 						G_CALLBACK(file_ok_check_if_exists_cb), data);
 #else
-	/* Use a translated "Select Folder..." in place of NULL after strings thaw. */
-	dirsel = gtk_file_selection_new(title ? title : NULL);
+	dirsel = gtk_file_selection_new(title ? title : _("Select Folder..."));
 
 	g_signal_connect_swapped(G_OBJECT(dirsel), "delete_event",
 							 G_CALLBACK(file_cancel_cb), data);