[Xfce4-commits] <postler:master> Ensure that the label of a folder is visible

Christian Dywan noreply at xfce.org
Thu Aug 4 03:20:05 CEST 2011


Updating branch refs/heads/master
         to 8d82084836fd030b0c21ca57a7273e4376f2394a (commit)
       from 8c0af26fd66e471e143961b438b7a2131382b73d (commit)

commit 8d82084836fd030b0c21ca57a7273e4376f2394a
Author: Christian Dywan <christian at twotoasts.de>
Date:   Wed Aug 3 22:42:16 2011 +0200

    Ensure that the label of a folder is visible

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

diff --git a/postler/postler-folders.vala b/postler/postler-folders.vala
index 3f8dd21..7cf2daf 100644
--- a/postler/postler-folders.vala
+++ b/postler/postler-folders.vala
@@ -74,7 +74,7 @@ public class Postler.Folders : Gtk.Toolbar {
         var button = new Gtk.RadioToolButton (group);
         button.set_data ("uri", uri);
         button.label_widget = new Gtk.Label.with_mnemonic (label);
-        button.visible = button.is_important = true;
+        button.visible = button.is_important = button.label_widget.visible = true;
         button.clicked.connect (() => {
             selected_label = label;
             selected_type = folder_type;


More information about the Xfce4-commits mailing list