diff options
author | Chris Larson <chris_larson@mentor.com> | 2010-12-09 14:05:22 -0500 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2011-01-04 14:46:47 +0000 |
commit | c8d2dad04960746d38d28bb2c5aba8363534541a (patch) | |
tree | 1871652c0d8d52ad23d216db0da03392b276c11d /bitbake/lib/bb/ui/goggle.py | |
parent | 72c6953488149f1c1fe93a1191f5aa88e6f128de (diff) | |
download | poky-c8d2dad04960746d38d28bb2c5aba8363534541a.tar.gz |
Rename the ui 'init' method to 'main'
As these may run the UI in a blocking fashion and then return the exit code,
'init' was an inappropriate name, and 'main' is more appropriate.
(Bitbake rev: 4d081a0ed759bd526ab01849d650bd9e8d80ddd1)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/lib/bb/ui/goggle.py')
-rw-r--r-- | bitbake/lib/bb/ui/goggle.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/goggle.py b/bitbake/lib/bb/ui/goggle.py index 858ca14c45..40923ba88d 100644 --- a/bitbake/lib/bb/ui/goggle.py +++ b/bitbake/lib/bb/ui/goggle.py | |||
@@ -49,7 +49,7 @@ class MainWindow (gtk.Window): | |||
49 | self.set_default_size(640, 480) | 49 | self.set_default_size(640, 480) |
50 | scrolled_window.add (self.cur_build_tv) | 50 | scrolled_window.add (self.cur_build_tv) |
51 | 51 | ||
52 | def init (server, eventHandler): | 52 | def main (server, eventHandler): |
53 | gobject.threads_init() | 53 | gobject.threads_init() |
54 | gtk.gdk.threads_init() | 54 | gtk.gdk.threads_init() |
55 | 55 | ||