summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2010-11-11 10:26:48 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2010-12-07 12:50:38 +0000
commit8cbaa9f0d98caf82a4e698abf24edc1c1a3122b2 (patch)
tree3f5f9ec51580755a96750004853c9c7a6f1f575d
parentcb6eff7c806acff406aec8208da92081f6a08775 (diff)
downloadopenembedded-core-8cbaa9f0d98caf82a4e698abf24edc1c1a3122b2.tar.gz
openembedded-core-8cbaa9f0d98caf82a4e698abf24edc1c1a3122b2.tar.bz2
openembedded-core-8cbaa9f0d98caf82a4e698abf24edc1c1a3122b2.zip
bitbake/goggle: interaction tweaks
Set the goggle window to a more sane default size (640x480) and hook up the close button. Signed-off-by: Joshua Lock <josh@linux.intel.com>
-rw-r--r--bitbake/lib/bb/ui/goggle.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/goggle.py b/bitbake/lib/bb/ui/goggle.py
index 2cfa002f8a..d29d57609f 100644
--- a/bitbake/lib/bb/ui/goggle.py
+++ b/bitbake/lib/bb/ui/goggle.py
@@ -41,6 +41,8 @@ class MainWindow (gtk.Window):
scrolled_window = gtk.ScrolledWindow ()
self.add (scrolled_window)
self.cur_build_tv = RunningBuildTreeView()
+ self.connect("delete-event", gtk.main_quit)
+ self.set_default_size(640, 480)
scrolled_window.add (self.cur_build_tv)
def init (server, eventHandler):