about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--saneterm/terminal.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/saneterm/terminal.py b/saneterm/terminal.py
index 54dc321..827f46c 100644
--- a/saneterm/terminal.py
+++ b/saneterm/terminal.py
@@ -92,6 +92,9 @@ class Terminal(Gtk.Window):
         vbox = Gtk.Box.new(Gtk.Orientation.VERTICAL, 0)
         self.add(vbox)
 
+        self.search_bar = SearchBar(self.termview)
+        vbox.pack_start(self.search_bar, False, True, 0)
+
         self.scroll = Gtk.ScrolledWindow().new(None, None)
         self.scroll.set_policy(Gtk.PolicyType.AUTOMATIC, Gtk.PolicyType.ALWAYS)
         self.scroll.add(self.termview)
@@ -102,9 +105,6 @@ class Terminal(Gtk.Window):
             vscroll = self.scroll.get_vscrollbar()
             vscroll.hide()
 
-        self.search_bar = SearchBar(self.termview)
-        vbox.pack_start(self.search_bar, False, True, 0)
-
         signals = {
             "toggle-search": (),
             "toggle-config": (GObject.TYPE_STRING,),