[jhbuild: 14/60] [gui] set terminal expander above the button box



commit 4173c23ec642b110006184a035a21004c514cf5f
Author: Frédéric Péters <fpeters 0d be>
Date:   Sat May 16 23:50:20 2009 +0200

    [gui] set terminal expander above the button box
---
 jhbuild/frontends/gtkui.py |   24 ++++++++++++------------
 1 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/jhbuild/frontends/gtkui.py b/jhbuild/frontends/gtkui.py
index 3f79d2d..b598253 100644
--- a/jhbuild/frontends/gtkui.py
+++ b/jhbuild/frontends/gtkui.py
@@ -120,18 +120,6 @@ class AppWindow(gtk.Window, buildscript.BuildScript):
         self.progressbar.set_text(_('Build Progess'))
         app_vbox.pack_start(self.progressbar, fill=False, expand=False)
 
-        buttonbox = gtk.HButtonBox()
-        buttonbox.set_layout(gtk.BUTTONBOX_END)
-        app_vbox.pack_start(buttonbox, fill=False, expand=False)
-
-        self.build_button = gtk.Button(_('Build'))
-        self.build_button.connect('clicked', self.on_build_cb)
-        buttonbox.add(self.build_button)
-
-        button = gtk.Button(stock=gtk.STOCK_HELP)
-        buttonbox.add(button)
-        buttonbox.set_child_secondary(button, True)
-
         if vte:
             expander = gtk.Expander(_('Terminal'))
             expander.set_expanded(False)
@@ -144,6 +132,18 @@ class AppWindow(gtk.Window, buildscript.BuildScript):
             self.terminal.connect('child-exited', self.on_vte_child_exit_cb)
             sclwin.add(self.terminal)
 
+        buttonbox = gtk.HButtonBox()
+        buttonbox.set_layout(gtk.BUTTONBOX_END)
+        app_vbox.pack_start(buttonbox, fill=False, expand=False)
+
+        self.build_button = gtk.Button(_('Build'))
+        self.build_button.connect('clicked', self.on_build_cb)
+        buttonbox.add(self.build_button)
+
+        button = gtk.Button(stock=gtk.STOCK_HELP)
+        buttonbox.add(button)
+        buttonbox.set_child_secondary(button, True)
+
         app_vbox.show_all()
         self.add(app_vbox)
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]