[Xfce4-commits] <postler:master> Use Viewer for source window to allow inline find

Christian Dywan noreply at xfce.org
Mon Feb 21 01:18:01 CET 2011


Updating branch refs/heads/master
         to 294b3c732d07795a971d2d883abff6c4cc5a5e29 (commit)
       from 3dfdb1162476efd0d91ffc7984836623f9d8a321 (commit)

commit 294b3c732d07795a971d2d883abff6c4cc5a5e29
Author: Christian Dywan <christian at twotoasts.de>
Date:   Mon Feb 21 01:17:28 2011 +0100

    Use Viewer for source window to allow inline find

 postler/postler-reader.vala |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/postler/postler-reader.vala b/postler/postler-reader.vala
index 2178f3e..280e864 100644
--- a/postler/postler-reader.vala
+++ b/postler/postler-reader.vala
@@ -168,12 +168,7 @@ public class Postler.Reader {
             var shelf = new Gtk.VBox (false, 0);
             window.add (shelf);
             /* TODO: menubar, toolbar */
-            if (module == "content")
-                shelf.add (new Postler.Viewer (instance as Postler.Content));
-            else {
-                var scrolled = new Postler.ScrolledWindow (instance);
-                shelf.add (scrolled);
-            }
+            shelf.add (new Postler.Viewer (instance as Postler.Content));
             window.destroy.connect (Gtk.main_quit);
             window.show_all ();
             Gtk.main ();



More information about the Xfce4-commits mailing list