add client.padding.height
authorDana Jansens <danakj@orodu.net>
Sat, 2 Jun 2007 20:36:33 +0000 (20:36 +0000)
committerDana Jansens <danakj@orodu.net>
Sat, 2 Jun 2007 20:36:33 +0000 (20:36 +0000)
render/theme.c

index 79b41f99171a1413fd1f392f97b42ee1964edc41..1dd20b73838ef5f9d0c7d76152a54746498a78b4 100644 (file)
@@ -190,7 +190,9 @@ RrTheme* RrThemeNew(const RrInstance *inst, gchar *name,
     if (!read_int(db, "window.client.padding.width", &theme->cbwidthx) ||
         theme->cbwidthx < 0 || theme->cbwidthx > 100)
         theme->cbwidthx = theme->paddingx;
-    theme->cbwidthy = theme->cbwidthx;
+    if (!read_int(db, "window.client.padding.height", &theme->cbwidthy) ||
+        theme->cbwidthy < 0 || theme->cbwidthy > 100)
+        theme->cbwidthy = theme->cbwidthx;
 
     /* load colors */
     if (!read_color(db, inst,