summaryrefslogtreecommitdiff
path: root/gui/gdmconfig.h
diff options
context:
space:
mode:
authorGeorge Lebl <jirka@5z.com>2001-01-30 23:23:41 +0000
committerGeorge Lebl <jirka@src.gnome.org>2001-01-30 23:23:41 +0000
commite39b97b6096f6eac03e349e7ea5899bc4c094acc (patch)
treee13795ede44f3331cd3955dd71d81902c29c10f2 /gui/gdmconfig.h
parente755f8ff028dfc4f29290003f668e9fd6481856e (diff)
downloadgdm-e39b97b6096f6eac03e349e7ea5899bc4c094acc.tar.gz
x18n fixes, add missing configuration options, add warning dialog about
Tue Jan 30 15:16:40 2001 George Lebl <jirka@5z.com> * daemon/gdm.c, daemon/server.c, daemon/xdmcp.c, daemon/slave.c, gui/gdmconfig.c, gui/gdmconfig-strings.c, gui/gdmconfig.glade, po/POTFILES.in: x18n fixes, add missing configuration options, add warning dialog about when configuration will be applied, fix up gboolean vs. int mess and it's related gnome_config stuff
Diffstat (limited to 'gui/gdmconfig.h')
-rw-r--r--gui/gdmconfig.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/gdmconfig.h b/gui/gdmconfig.h
index b84487c3..3811f79f 100644
--- a/gui/gdmconfig.h
+++ b/gui/gdmconfig.h
@@ -76,6 +76,8 @@
gnome_config_set_int(key, gtk_spin_button_get_value_as_int(GTK_SPIN_BUTTON(glade_xml_get_widget(GUI, spin_button_name))));
#define gdm_toggle_write(toggle_name, key) \
+ gnome_config_set_bool(key, gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(glade_xml_get_widget(GUI, toggle_name)))?TRUE:FALSE);
+#define gdm_toggle_write_int(toggle_name, key) \
gnome_config_set_int(key, gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(glade_xml_get_widget(GUI, toggle_name)))?1:0);
#define gdm_icon_write(icon_name, key) \