summaryrefslogtreecommitdiff
path: root/src/theme-parser.c
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@gnu.org>2002-02-11 16:28:17 +0000
committerAnders Carlsson <andersca@src.gnome.org>2002-02-11 16:28:17 +0000
commita9b76831103ac6d2b6a002d8ddf2c6bf2e2430dc (patch)
treebbd178157492c6fec89423eb950ba1b517200c3f /src/theme-parser.c
parenta2d4594e19f16216e33feb575ada345f45c2f4cc (diff)
downloadmetacity-a9b76831103ac6d2b6a002d8ddf2c6bf2e2430dc.tar.gz
metacity-a9b76831103ac6d2b6a002d8ddf2c6bf2e2430dc.tar.bz2
Set title_scale to 1.0.
2002-02-11 Anders Carlsson <andersca@gnu.org> * src/theme.c (meta_frame_layout_new): Set title_scale to 1.0.
Diffstat (limited to 'src/theme-parser.c')
-rw-r--r--src/theme-parser.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/theme-parser.c b/src/theme-parser.c
index ff66a9e..48b6328 100644
--- a/src/theme-parser.c
+++ b/src/theme-parser.c
@@ -776,7 +776,8 @@ parse_toplevel_element (GMarkupParseContext *context,
if (has_title) /* only if explicit, otherwise inherit */
info->layout->has_title = has_title_val;
- info->layout->title_scale = title_scale_val;
+ if (title_scale)
+ info->layout->title_scale = title_scale_val;
meta_theme_insert_layout (info->theme, name, info->layout);