diff options
author | Havoc Pennington <hp@pobox.com> | 2002-02-09 17:02:38 +0000 |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 2002-02-09 17:02:38 +0000 |
commit | 339bdf8dd21d024b4f5bf382590702c0f8b28034 (patch) | |
tree | 8f46d3c037cec1d43139f5668ee900db6ab9ec45 /src/theme-viewer.c | |
parent | 116fc5546f3ab87a6a2650aa7afa4aa5c842a9bd (diff) | |
download | metacity-339bdf8dd21d024b4f5bf382590702c0f8b28034.tar.gz |
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
Diffstat (limited to 'src/theme-viewer.c')
-rw-r--r-- | src/theme-viewer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/theme-viewer.c b/src/theme-viewer.c index 0f8a24ad..ef3ffc57 100644 --- a/src/theme-viewer.c +++ b/src/theme-viewer.c @@ -55,7 +55,8 @@ get_flags (GtkWidget *widget) static int get_text_height (GtkWidget *widget) { - return meta_gtk_widget_get_text_height (widget); + return meta_pango_font_desc_get_text_height (widget->style->font_desc, + gtk_widget_get_pango_context (widget)); } static PangoLayout* |