[Xfce4-commits] <postler:master> Hide panebox if there's no account yet

Christian Dywan noreply at xfce.org
Sun Dec 19 03:06:02 CET 2010


Updating branch refs/heads/master
         to b7597419dfbab55057b99e6376866aa6021eab1d (commit)
       from 5e13da9a92c096690691f8baec79c6bb1ee7d9b2 (commit)

commit b7597419dfbab55057b99e6376866aa6021eab1d
Author: Christian Dywan <christian at twotoasts.de>
Date:   Sun Dec 19 01:44:40 2010 +0100

    Hide panebox if there's no account yet

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

diff --git a/postler/postler-bureau.vala b/postler/postler-bureau.vala
index 5288360..7c178f5 100644
--- a/postler/postler-bureau.vala
+++ b/postler/postler-bureau.vala
@@ -630,6 +630,7 @@ public class Postler.Bureau : Gtk.Window {
             messages_box.pack_start (welcome_box, true, false, 0);
             messages_box.show ();
             welcome.address.grab_focus ();
+            panebox.set_no_show_all (true);
             messages.parent.set_no_show_all (true);
             var continue_box = new Gtk.HButtonBox ();
             continue_box.set_border_width (16);
@@ -649,6 +650,8 @@ public class Postler.Bureau : Gtk.Window {
                     return;
                 welcome_box.hide ();
                 continue_box.hide ();
+                panebox.set_no_show_all (false);
+                panebox.show_all ();
                 messages.parent.set_no_show_all (false);
                 messages.parent.show_all ();
                 accounts.add_info (info);



More information about the Xfce4-commits mailing list