Force using the gtk+ backend for the file chooser since we don't support

2005-02-06  Rodney Dawes  <dobey@novell.com>

	* gnome-wp-capplet.c (wallpaper_properties_init): Force using the gtk+
	backend for the file chooser since we don't support vfs yet

	Fixes #154978
This commit is contained in:
Rodney Dawes 2005-02-06 23:02:14 +00:00 committed by Rodney Dawes
parent f3db3b9cd1
commit 39dc62b223
2 changed files with 16 additions and 8 deletions

View file

@ -1,3 +1,10 @@
2005-02-06 Rodney Dawes <dobey@novell.com>
* gnome-wp-capplet.c (wallpaper_properties_init): Force using the gtk+
backend for the file chooser since we don't support vfs yet
Fixes #154978
2005-02-06 Rodney Dawes <dobey@novell.com>
* gnome-wp-capplet.c (gnome_wp_color_changed): Change the API to use

View file

@ -1257,14 +1257,15 @@ static void wallpaper_properties_init (poptContext ctx) {
G_CALLBACK (gnome_wp_props_wp_selected), capplet);
/* Create the file chooser dialog stuff here */
capplet->filesel = gtk_file_chooser_dialog_new (_("Add Wallpaper"),
GTK_WINDOW (capplet->window),
GTK_FILE_CHOOSER_ACTION_OPEN,
GTK_STOCK_CANCEL,
GTK_RESPONSE_CANCEL,
GTK_STOCK_OPEN,
GTK_RESPONSE_OK,
NULL);
capplet->filesel = gtk_file_chooser_dialog_new_with_backend (_("Add Wallpaper"),
GTK_WINDOW (capplet->window),
GTK_FILE_CHOOSER_ACTION_OPEN,
"gtk+",
GTK_STOCK_CANCEL,
GTK_RESPONSE_CANCEL,
GTK_STOCK_OPEN,
GTK_RESPONSE_OK,
NULL);
gtk_file_chooser_set_select_multiple (GTK_FILE_CHOOSER (capplet->filesel),
TRUE);