summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/hob.py
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2011-08-03 12:14:30 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-04 15:06:38 +0100
commit9610ab39d936e091029b3e20cc8636f2d4134221 (patch)
tree3561f64a2c3ed528e339d509f4a9fb103e8879f8 /bitbake/lib/bb/ui/hob.py
parent9eb25be609367e97333fe48cff9c4182d2c622c5 (diff)
downloadpoky-9610ab39d936e091029b3e20cc8636f2d4134221.tar.gz
bb/ui/hob: prevent label on progress bar from changing rapidly when loading
Fixes [YOCTO #1240] (Bitbake rev: 2cb561de9b34d0c23939a492c475230f21d87d99) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui/hob.py')
-rw-r--r--bitbake/lib/bb/ui/hob.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/hob.py b/bitbake/lib/bb/ui/hob.py
index 5998e6bbf8..b8842a9b0c 100644
--- a/bitbake/lib/bb/ui/hob.py
+++ b/bitbake/lib/bb/ui/hob.py
@@ -240,7 +240,6 @@ class MainWindow (gtk.Window):
240 240
241 def busy_idle_func(self): 241 def busy_idle_func(self):
242 if self.generating: 242 if self.generating:
243 self.progress.set_text("Loading...")
244 self.progress.pulse() 243 self.progress.pulse()
245 return True 244 return True
246 else: 245 else:
@@ -253,12 +252,13 @@ class MainWindow (gtk.Window):
253 252
254 def busy(self, handler): 253 def busy(self, handler):
255 self.generating = True 254 self.generating = True
255 self.progress.set_text("Loading...")
256 self.set_busy_cursor() 256 self.set_busy_cursor()
257 if self.image_combo_id: 257 if self.image_combo_id:
258 self.image_combo.disconnect(self.image_combo_id) 258 self.image_combo.disconnect(self.image_combo_id)
259 self.image_combo_id = None 259 self.image_combo_id = None
260 self.progress.pulse() 260 self.progress.pulse()
261 gobject.timeout_add (200, self.busy_idle_func) 261 gobject.timeout_add (100, self.busy_idle_func)
262 self.disable_widgets() 262 self.disable_widgets()
263 263
264 def enable_widgets(self): 264 def enable_widgets(self):