Change file chooser dialog title to say "Add Wallpaper" instead of "Add

2004-04-05  Rodney Dawes  <dobey@ximian.com>

	* gnome-wp-capplet.c (wallpaper_properties_init): Change file chooser
	dialog title to say "Add Wallpaper" instead of "Add Wallpapers"

	Fixes #135084
This commit is contained in:
Rodney Dawes 2004-04-05 21:37:03 +00:00 committed by Rodney Dawes
parent 00006d7745
commit 3d66a947a7
2 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,10 @@
2004-04-05 Rodney Dawes <dobey@ximian.com>
* gnome-wp-capplet.c (wallpaper_properties_init): Change file chooser
dialog title to say "Add Wallpaper" instead of "Add Wallpapers"
Fixes #135084
2004-04-05 Rodney Dawes <dobey@ximian.com>
* gnome-wp-capplet.c (gnome_wp_scale_type_changed): Regenerate the

View file

@ -1450,7 +1450,7 @@ static void wallpaper_properties_init (void) {
/* Create the file chooser dialog stuff here */
#if GTK_CHECK_VERSION (2, 3, 0)
capplet->filesel = gtk_file_chooser_dialog_new (_("Add Wallpapers"),
capplet->filesel = gtk_file_chooser_dialog_new (_("Add Wallpaper"),
GTK_WINDOW (capplet->window),
GTK_FILE_CHOOSER_ACTION_OPEN,
GTK_STOCK_CANCEL,
@ -1461,7 +1461,7 @@ static void wallpaper_properties_init (void) {
gtk_file_chooser_set_select_multiple (GTK_FILE_CHOOSER (capplet->filesel),
TRUE);
#else
capplet->filesel = gtk_file_selection_new (_("Add Wallpapers"));
capplet->filesel = gtk_file_selection_new (_("Add Wallpaper"));
gtk_file_selection_set_select_multiple (GTK_FILE_SELECTION (capplet->filesel),
TRUE);
#endif