summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2009-08-25 15:12:09 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2009-08-25 15:12:09 -0300
commit215fda51917bc9bdf9181f8eccc6a40c8b7f874b (patch)
tree0d92ae329e51e71e30c635fcb8c222a55bb3e333
parent82c94f49e729b1272c2f11ede36096a177fa924b (diff)
downloadtuna-215fda51917bc9bdf9181f8eccc6a40c8b7f874b.tar.gz
oscilloscope: properly refresh all widgets
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-rwxr-xr-xtuna/oscilloscope.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tuna/oscilloscope.py b/tuna/oscilloscope.py
index f6247e8..6b63c53 100755
--- a/tuna/oscilloscope.py
+++ b/tuna/oscilloscope.py
@@ -282,6 +282,8 @@ class oscilloscope(gtk.Window):
self.scope.ax.set_ylim(0, self.scope.max_value)
self.scope.refresh()
self.hist.refresh()
+ while gtk.events_pending():
+ gtk.main_iteration()
def get_samples(self, fd, condition):
try: