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
|
* background-properties-capplet.c (setup_dialog): Don't hide
|
||||||
opacity controls
|
opacity controls
|
||||||
|
(dialog_button_clicked_cb): Apply settings after commiting the
|
||||||
|
change set
|
||||||
|
|
||||||
* background.schema: Added wallpaper-enabled
|
* background.schema: Added wallpaper-enabled
|
||||||
|
|
||||||
|
|
|
@ -250,10 +250,13 @@ create_dialog (void)
|
||||||
static void
|
static void
|
||||||
dialog_button_clicked_cb (GnomeDialog *dialog, gint button_number, GConfChangeSet *changeset)
|
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);
|
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);
|
gnome_dialog_close (dialog);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue