Create changeset.
2002-02-10 Richard Hestilow <hestilow@ximian.com> * gnome-ui-properties.c (main): Create changeset.
This commit is contained in:
parent
e911f2f502
commit
b0200af14b
2 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2002-02-10 Richard Hestilow <hestilow@ximian.com>
|
||||||
|
|
||||||
|
* gnome-ui-properties.c (main): Create changeset.
|
||||||
|
|
||||||
2002-02-10 Richard Hestilow <hestilow@ximian.com>
|
2002-02-10 Richard Hestilow <hestilow@ximian.com>
|
||||||
|
|
||||||
* Make dialog Apply/Close.
|
* Make dialog Apply/Close.
|
||||||
|
|
|
@ -125,6 +125,7 @@ int
|
||||||
main (int argc, char **argv)
|
main (int argc, char **argv)
|
||||||
{
|
{
|
||||||
GConfClient *client;
|
GConfClient *client;
|
||||||
|
GConfChangeSet *changeset;
|
||||||
GladeXML *dialog;
|
GladeXML *dialog;
|
||||||
|
|
||||||
bindtextdomain (PACKAGE, GNOMELOCALEDIR);
|
bindtextdomain (PACKAGE, GNOMELOCALEDIR);
|
||||||
|
@ -136,12 +137,15 @@ main (int argc, char **argv)
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
client = gconf_client_get_default ();
|
client = gconf_client_get_default ();
|
||||||
|
changeset = gconf_change_set_new ();
|
||||||
gconf_client_add_dir (client, "/desktop/gnome/interface", GCONF_CLIENT_PRELOAD_ONELEVEL, NULL);
|
gconf_client_add_dir (client, "/desktop/gnome/interface", GCONF_CLIENT_PRELOAD_ONELEVEL, NULL);
|
||||||
|
|
||||||
dialog = create_dialog ();
|
dialog = create_dialog ();
|
||||||
setup_dialog (dialog, NULL);
|
setup_dialog (dialog, changeset);
|
||||||
|
|
||||||
gtk_main ();
|
gtk_main ();
|
||||||
|
|
||||||
|
gconf_change_set_unref (changeset);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue