[Xfce4-commits] <postler:master> Always show images in 'Use as...' menu

Christian Dywan noreply at xfce.org
Thu Dec 30 06:00:06 CET 2010


Updating branch refs/heads/master
         to e115ea89a7f4a7737a9d60dd8404666bb84a8ef1 (commit)
       from f32c57b276224fb03922d1b61067d72162d0f9f7 (commit)

commit e115ea89a7f4a7737a9d60dd8404666bb84a8ef1
Author: Christian Dywan <christian at twotoasts.de>
Date:   Tue Dec 28 23:32:55 2010 +0100

    Always show images in 'Use as...' menu
    
    Folder names vary greatly, icons are always the same.

 postler/postler-folders.vala |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/postler/postler-folders.vala b/postler/postler-folders.vala
index e300264..7a807de 100644
--- a/postler/postler-folders.vala
+++ b/postler/postler-folders.vala
@@ -493,6 +493,7 @@ public class Postler.Folders : Gtk.TreeView {
                 var type = (FolderType)i;
                 var folder_item = new Gtk.ImageMenuItem.from_stock (
                     type.get_stock_id () ?? Gtk.STOCK_DIRECTORY, null);
+                folder_item.set_always_show_image (true);
                 folder_item.label = type.get_label ();
                 use_as_menu.append (folder_item);
                 folder_item.activate.connect ((folder_item) => {



More information about the Xfce4-commits mailing list