[Xfce4-commits] <postler:master> Clear content before showing it after it was hidden

Christian Dywan noreply at xfce.org
Mon Dec 20 04:58:06 CET 2010


Updating branch refs/heads/master
         to 94c54b2b6ccadff8a88c8eb79500cfe79695f7b6 (commit)
       from 9dec57c8c40b625f45d4f9658692a806da33aa64 (commit)

commit 94c54b2b6ccadff8a88c8eb79500cfe79695f7b6
Author: Christian Dywan <christian at twotoasts.de>
Date:   Mon Dec 20 02:14:44 2010 +0100

    Clear content before showing it after it was hidden

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

diff --git a/postler/postler-bureau.vala b/postler/postler-bureau.vala
index b630474..ba24b9d 100644
--- a/postler/postler-bureau.vala
+++ b/postler/postler-bureau.vala
@@ -693,8 +693,10 @@ public class Postler.Bureau : Gtk.Window {
             viewer.hide ();
         });
         messages.notify["selected-location"].connect ((object, pspec) => {
-            if (messages.selected_location != null)
+            if (messages.selected_location != null) {
+                content.clear ();
                 viewer.show ();
+            }
         });
         vpaned.pack2 (viewer, false, true);
         shelf.show_all ();



More information about the Xfce4-commits mailing list