[Xfce4-commits] <postler:master> Let Unread label blend in with treeview background
Christian Dywan
noreply at xfce.org
Sun Jul 3 21:04:04 CEST 2011
Updating branch refs/heads/master
to ee924f9d29c60b031be960c93b58490e27ce7e6d (commit)
from 213ad57052a57f449109c6c108b17fd3b7ab9dcf (commit)
commit ee924f9d29c60b031be960c93b58490e27ce7e6d
Author: Christian Dywan <christian at twotoasts.de>
Date: Sun Jul 3 16:30:02 2011 +0200
Let Unread label blend in with treeview background
postler/postler-bureau.vala | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/postler/postler-bureau.vala b/postler/postler-bureau.vala
index d67aaca..11f1246 100644
--- a/postler/postler-bureau.vala
+++ b/postler/postler-bureau.vala
@@ -749,7 +749,11 @@ public class Postler.Bureau : Gtk.Window {
messages_box.pack_start (scrolled, true, true, 0);
messages_label = new Gtk.Label (null);
- shelf.pack_end (messages_label, false, false, 0);
+ /* Let the label blend in with the treeview background */
+ var eventbox = new Gtk.EventBox ();
+ eventbox.add (messages_label);
+ eventbox.modify_bg (Gtk.StateType.NORMAL, messages.style.base[Gtk.StateType.NORMAL]);
+ messages_box.pack_end (eventbox, false, false, 0);
/* Welcome the new user with an account form embedded in the window */
if (accounts.get_infos ().length () == 0) {
More information about the Xfce4-commits
mailing list