Updating branch refs/heads/master
to cccf3ec8ea521c6b257b72a77f8d17837e34b6b1 (commit)
from 5fce5a90a82ac2d2fccb3003b9b6b08fbd096e07 (commit)
commit cccf3ec8ea521c6b257b72a77f8d17837e34b6b1
Author: Christian Dywan <[email protected]>
Date: Sat Aug 7 16:22:19 2010 +0200
Only show dashboard initially if there are no parts
postler/postler-viewer.vala | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/postler/postler-viewer.vala b/postler/postler-viewer.vala
index 21b5f48..ba915fa 100644
--- a/postler/postler-viewer.vala
+++ b/postler/postler-viewer.vala
@@ -70,7 +70,8 @@ public class Postler.Viewer : Gtk.VBox {
content.create_plugin_widget.connect (create_plugin_widget);
content.settings.set ("enable-plugins", true);
content.clear.connect_after ((content) => { show_dashboard (); });
- show_dashboard ();
+ if (content.n_parts == 0)
+ show_dashboard ();
}
void resource_request (WebKit.WebFrame frame, WebKit.WebResource resouce,
_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits