]> Dogcows Code - chaz/openbox/commitdiff
add booleans
authorDana Jansens <danakj@orodu.net>
Sun, 23 Mar 2003 00:39:04 +0000 (00:39 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 23 Mar 2003 00:39:04 +0000 (00:39 +0000)
openbox/config.c
openbox/config.h

index ca7cc2b5aad7af3f245e19db853b683411e6c2a7..a6114b4768b571b08a93cd019c78e898c1a9e717 100644 (file)
@@ -35,7 +35,7 @@ void config_startup()
                                   "Titlebar Font",
                                   "The fontstring specifying the font to "
                                   "be used in window titlebars."));
-    config_def_set(config_def_new("font.shadow", Config_Integer,
+    config_def_set(config_def_new("font.shadow", Config_Bool,
                                   "Titlebar Font Shadow",
                                   "Whether or not the text in the window "
                                   "titlebars gets a drop shadow."));
index 7366e95f041fba453d55628f42585a52be915d08..9b62b8e5e009527fb483653290ef34f5d19d45b0 100644 (file)
@@ -5,12 +5,14 @@
 
 typedef enum {
     Config_String,
-    Config_Integer
+    Config_Integer,
+    Config_Bool
 } ConfigValueType;
 
 typedef union {
     char *string;
     int integer;
+    gboolean bool;
 } ConfigValue;
 
 typedef struct {
This page took 0.023566 seconds and 4 git commands to generate.