Hook up the previewing file selector to the FileEntry.
2002-03-09 Richard Hestilow <hestilow@ximian.com> * background-properties-capplet.c (setup_dialog): Hook up the previewing file selector to the FileEntry.
This commit is contained in:
parent
18e6eb221f
commit
ed6922aae0
2 changed files with 8 additions and 0 deletions
|
@ -35,6 +35,7 @@
|
|||
#include "capplet-util.h"
|
||||
#include "gconf-property-editor.h"
|
||||
#include "applier.h"
|
||||
#include "preview-file-selection.h"
|
||||
|
||||
/* Retrieve legacy gnome_config settings and store them in the GConf
|
||||
* database. This involves some translation of the settings' meanings.
|
||||
|
@ -234,6 +235,8 @@ setup_dialog (GladeXML *dialog, GConfChangeSet *changeset, BGApplier *bg_applier
|
|||
g_signal_connect_after (G_OBJECT (bg_applier_get_preview_widget (bg_applier)), "realize",
|
||||
(GCallback) realize_cb, prefs);
|
||||
|
||||
preview_file_selection_hookup_file_entry (GNOME_FILE_ENTRY (WID ("image_fileentry")), _("Please select a background image"));
|
||||
|
||||
/* Make sure the preferences object gets destroyed when the dialog is
|
||||
closed */
|
||||
g_object_weak_ref (G_OBJECT (dialog), (GWeakNotify) g_object_unref, prefs);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue