Updating branch refs/heads/master to 6ee950a379857aa48d953581fcb7e04882fdd77c (commit) from f287f9bfbb2953a140e40edc9cce1a6823b48432 (commit)
commit 6ee950a379857aa48d953581fcb7e04882fdd77c Author: Christian Dywan <christ...@twotoasts.de> Date: Sat Nov 27 16:21:23 2010 +0100 Don't draw separators in the toolbar 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 128b246..6297d23 100644 --- a/postler/postler-bureau.vala +++ b/postler/postler-bureau.vala @@ -60,7 +60,6 @@ public class Postler.Bureau : Gtk.Window { </menubar> <toolbar> <toolitem action="MailReceive"/> - <separator/> <toolitem action="MessageNew"/> <separator/> <toolitem action="MessageReply"/> @@ -477,6 +476,11 @@ public class Postler.Bureau : Gtk.Window { menubar.hide (); shelf.pack_start (menubar, false, false, 0); toolbar = ui.get_widget ("/toolbar") as Gtk.Toolbar; + /* Do not draw separators in the toolbar */ + foreach (var toolchild in toolbar.get_children ()) { + if (toolchild is Gtk.SeparatorToolItem) + (toolchild as Gtk.SeparatorToolItem).draw = false; + } toolbar.show_arrow = false; actions.get_action ("MessageNew").is_important = true; var toolitem = new Gtk.ToolItem (); _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org http://foo-projects.org/mailman/listinfo/xfce4-commits