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:
parent
f3db3b9cd1
commit
39dc62b223
2 changed files with 16 additions and 8 deletions
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue