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.
This commit is contained in:
Anders Carlsson 2002-02-11 16:28:17 +00:00 committed by Anders Carlsson
parent a2d4594e19
commit a9b7683110
3 changed files with 4 additions and 3 deletions

View File

@ -1,7 +1,6 @@
2002-02-11 Anders Carlsson <andersca@gnu.org>
* src/theme-parser.c (parse_toplevel_element): Always set
title_scale_val.
* src/theme.c (meta_frame_layout_new): Set title_scale to 1.0
2002-02-11 Bastien Nocera <hadess@hadess.net>

View File

@ -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);

View File

@ -334,6 +334,7 @@ meta_frame_layout_new (void)
layout->button_height = -1;
layout->has_title = TRUE;
layout->title_scale = 1.0;
init_border (&layout->button_border);