[gthumb] center the thumbnail caption horinzontally
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] center the thumbnail caption horinzontally
- Date: Tue, 25 Oct 2011 14:56:15 +0000 (UTC)
commit a988d2cd93ddc7fcb50e56e0a4f237e179434d1d
Author: Paolo Bacchilega <paobac src gnome org>
Date: Fri Oct 21 17:40:06 2011 +0200
center the thumbnail caption horinzontally
gthumb/gth-icon-view.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gthumb/gth-icon-view.c b/gthumb/gth-icon-view.c
index 6d4fb4b..e197133 100644
--- a/gthumb/gth-icon-view.c
+++ b/gthumb/gth-icon-view.c
@@ -336,6 +336,7 @@ gth_icon_view_update_attributes (GthFileView *self,
"yalign", 0.0,
NULL);
g_object_set (text_renderer,
+ "xalign", 0.5,
"yalign", 0.0,
"alignment", PANGO_ALIGN_CENTER,
"width", thumb_size + THUMBNAIL_BORDER,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]