Apply settings after commiting the change set
2001-12-17 Bradford Hovinen <hovinen@ximian.com> * background-properties-capplet.c (dialog_button_clicked_cb): Apply settings after commiting the change set
This commit is contained in:
parent
f8dbd8090f
commit
756102ee52
2 changed files with 7 additions and 2 deletions
|
@ -2,6 +2,8 @@
|
|||
|
||||
* background-properties-capplet.c (setup_dialog): Don't hide
|
||||
opacity controls
|
||||
(dialog_button_clicked_cb): Apply settings after commiting the
|
||||
change set
|
||||
|
||||
* background.schema: Added wallpaper-enabled
|
||||
|
||||
|
|
|
@ -250,10 +250,13 @@ create_dialog (void)
|
|||
static void
|
||||
dialog_button_clicked_cb (GnomeDialog *dialog, gint button_number, GConfChangeSet *changeset)
|
||||
{
|
||||
if (button_number == 0)
|
||||
if (button_number == 0) {
|
||||
gconf_engine_commit_change_set (gconf_engine_get_default (), changeset, TRUE, NULL);
|
||||
else if (button_number == 1)
|
||||
apply_settings ();
|
||||
}
|
||||
else if (button_number == 1) {
|
||||
gnome_dialog_close (dialog);
|
||||
}
|
||||
}
|
||||
|
||||
int
|
||||
|
|
Loading…
Add table
Reference in a new issue