[Xfce4-commits] <postler:master> Give explicit width and height to attachment icons
Christian Dywan
noreply at xfce.org
Thu Feb 3 00:34:04 CET 2011
Updating branch refs/heads/master
to c3a14c07fa5ea65f86b880a9feb4ac069cce2b2c (commit)
from e7ce5145e7f808f290498347ce87dbb71930da92 (commit)
commit c3a14c07fa5ea65f86b880a9feb4ac069cce2b2c
Author: Christian Dywan <christian at twotoasts.de>
Date: Mon Jan 31 23:04:11 2011 +0100
Give explicit width and height to attachment icons
postler/postler-attachments.vala | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/postler/postler-attachments.vala b/postler/postler-attachments.vala
index 0ac74e4..7de50de 100644
--- a/postler/postler-attachments.vala
+++ b/postler/postler-attachments.vala
@@ -143,8 +143,9 @@ public class Postler.Attachments : Gtk.IconView {
? Filename.display_basename (part.filename)
: g_content_type_get_description (part.mime_type);
cell.set ("text", text,
- "wrap-mode", Pango.WrapMode.WORD,
- "wrap-width", 20);
+ "height", icon_size + item_padding,
+ "wrap-mode", Pango.WrapMode.WORD_CHAR,
+ "wrap-width", 128);
}
void render_delete (Gtk.CellLayout layout, Gtk.CellRenderer cell,
More information about the Xfce4-commits
mailing list