[Xfce4-commits] <postler:master> Explicitly hide the menubars in bureau and composer

Christian Dywan noreply at xfce.org
Wed Jun 2 18:24:01 CEST 2010


Updating branch refs/heads/master
         to 7ae4f0f977ab40ecbf326f63fd4cbdf3c5f30428 (commit)
       from 8fc8ef80c6b2b2d4ba7b0612bacb41ef3963e81e (commit)

commit 7ae4f0f977ab40ecbf326f63fd4cbdf3c5f30428
Author: Christian Dywan <christian at twotoasts.de>
Date:   Wed Jun 2 18:14:15 2010 +0200

    Explicitly hide the menubars in bureau and composer

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

diff --git a/postler/postler-bureau.vala b/postler/postler-bureau.vala
index 0dd4ed0..31cfcea 100644
--- a/postler/postler-bureau.vala
+++ b/postler/postler-bureau.vala
@@ -199,6 +199,7 @@ public class Postler.Bureau : Gtk.Window {
         var menubar = ui.get_widget ("/menubar");
         /* The menubar is nice for globalmenu, but otherwise redundant */
         menubar.set_no_show_all (true);
+        menubar.hide ();
         shelf.pack_start (menubar, false, false, 0);
         toolbar = ui.get_widget ("/toolbar") as Gtk.Toolbar;
         actions.get_action ("MessageNew").is_important = true;
diff --git a/postler/postler-composer.vala b/postler/postler-composer.vala
index cd5dfd5..c717ae8 100644
--- a/postler/postler-composer.vala
+++ b/postler/postler-composer.vala
@@ -124,6 +124,7 @@ public class Postler.Composer : Gtk.Window {
         var menubar = ui.get_widget ("/menubar");
         /* The menubar is nice for globalmenu, but otherwise redundant */
         menubar.set_no_show_all (true);
+        menubar.hide ();
         shelf.pack_start (menubar, false, false, 0);
         toolbar = ui.get_widget ("/toolbar") as Gtk.Toolbar;
         actions.get_action ("MessageSend").is_important = true;



More information about the Xfce4-commits mailing list