diff options
author | George Lebl <jirka@5z.com> | 2001-01-30 23:23:41 +0000 |
---|---|---|
committer | George Lebl <jirka@src.gnome.org> | 2001-01-30 23:23:41 +0000 |
commit | e39b97b6096f6eac03e349e7ea5899bc4c094acc (patch) | |
tree | e13795ede44f3331cd3955dd71d81902c29c10f2 /gui/gdmconfig.h | |
parent | e755f8ff028dfc4f29290003f668e9fd6481856e (diff) | |
download | gdm-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.h | 2 |
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) \ |