[gthumb/ext] use the font scale property to make it more generic
- From: Paolo Bacchilega <paobac src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gthumb/ext] use the font scale property to make it more generic
- Date: Mon, 31 Aug 2009 11:19:29 +0000 (UTC)
commit 1e5df7ee8064896a1f5f01c18c71fa35adc6510c
Author: Paolo Bacchilega <paobac src gnome org>
Date: Mon Aug 31 13:18:30 2009 +0200
use the font scale property to make it more generic
gthumb/gth-file-properties.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gthumb/gth-file-properties.c b/gthumb/gth-file-properties.c
index 84ca908..c768c94 100644
--- a/gthumb/gth-file-properties.c
+++ b/gthumb/gth-file-properties.c
@@ -33,7 +33,7 @@
#define GTH_FILE_PROPERTIES_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GTH_TYPE_FILE_PROPERTIES, GthFilePropertiesPrivate))
-#define FONT_SIZE (8.0)
+#define FONT_SCALE (0.85)
#define COMMENT_HEIGHT 150
#define CATEGORY_SIZE 1000
@@ -274,7 +274,7 @@ gth_file_properties_init (GthFileProperties *file_properties)
NULL);
g_object_set (renderer,
"ellipsize", PANGO_ELLIPSIZE_END,
- "size-points", FONT_SIZE,
+ "scale", FONT_SCALE,
NULL);
gtk_tree_view_column_set_expand (column, TRUE);
@@ -291,7 +291,7 @@ gth_file_properties_init (GthFileProperties *file_properties)
NULL);
g_object_set (renderer,
"ellipsize", PANGO_ELLIPSIZE_END,
- "size-points", FONT_SIZE,
+ "scale", FONT_SCALE,
NULL);
gtk_tree_view_column_set_expand (column, TRUE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]