try to make more error message strings the same, easier for translators

2002-02-09  Havoc Pennington  <hp@pobox.com>

	* src/theme-parser.c: try to make more error message strings the
	same, easier for translators

	* src/theme.c (meta_draw_op_free): free color spec for line op
	(meta_theme_free): free the integer_constants hash

	* src/theme-parser.c (parse_boolean): move above first use

	* src/theme-viewer.c: fixes for theme.h changes

	* src/frames.c (queue_recalc_func): don't recreate layout
	immediately, just save title text. should speed things up.
	(meta_frames_set_title): just remove the layout here also,
	and save title text.

	* src/theme-parser.c (parse_toplevel_element): parse title_scale
	attribute on frame_geometry

	* src/theme.c: support setting the text size

	* src/frames.c: support setting the text size

	* theme-format.txt: updates
This commit is contained in:
Havoc Pennington
2002-02-09 17:02:38 +00:00
committed by Havoc Pennington
parent 116fc5546f
commit 339bdf8dd2
10 changed files with 341 additions and 112 deletions

View File

@@ -68,6 +68,8 @@ struct _MetaUIFrame
Window xwindow;
GdkWindow *window;
PangoLayout *layout;
int text_height;
char *title; /* NULL once we have a layout */
guint expose_delayed : 1;
};
@@ -75,7 +77,7 @@ struct _MetaFrames
{
GtkWindow parent_instance;
int text_height;
GHashTable *text_heights;
GHashTable *frames;