[Xfce4-commits] <postler:master> Allow attachments to shrink, instead of only growing

Christian Dywan noreply at xfce.org
Sun Jan 30 21:42:01 CET 2011


Updating branch refs/heads/master
         to 262f0e1003d60662801169277f48e58f5e45c2f5 (commit)
       from 868ac426cdc25208aa590f1b88db5e52a4899cc7 (commit)

commit 262f0e1003d60662801169277f48e58f5e45c2f5
Author: Christian Dywan <christian at twotoasts.de>
Date:   Sun Jan 30 21:39:56 2011 +0100

    Allow attachments to shrink, instead of only growing

 postler/postler-attachments.vala |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/postler/postler-attachments.vala b/postler/postler-attachments.vala
index bde2c96..58de2f3 100644
--- a/postler/postler-attachments.vala
+++ b/postler/postler-attachments.vala
@@ -16,8 +16,9 @@ public class Postler.Attachments : Gtk.IconView {
         model = new Gtk.ListStore (1, typeof (MessagePart));
 
         selection_mode = Gtk.SelectionMode.BROWSE;
-        columns = 3;
         set ("item-orientation", Gtk.Orientation.HORIZONTAL);
+        /* Allow the icon view to shrink, instead of only growing larger */
+        set_size_request (128, -1);
         set_no_show_all (true);
 
         var renderer_pixbuf = new Gtk.CellRendererPixbuf ();



More information about the Xfce4-commits mailing list