diff options
author | Paul W. Frields <stickster@gmail.com> | 2011-03-16 23:01:07 -0400 |
---|---|---|
committer | Paul W. Frields <stickster@gmail.com> | 2011-03-16 23:01:07 -0400 |
commit | 836511d5ac90a6dda0e27416b396893380ab57c8 (patch) | |
tree | 349f91dafe85cefd41d1b84bc92d96933fcfb17d /pulsecaster/ui.py | |
parent | 2c064eb3388fe4833d21c297107ff4cb2cd9333f (diff) | |
download | pulsecaster-836511d5ac90a6dda0e27416b396893380ab57c8.tar.gz pulsecaster-836511d5ac90a6dda0e27416b396893380ab57c8.tar.xz pulsecaster-836511d5ac90a6dda0e27416b396893380ab57c8.zip |
Only import what we need for UI
Diffstat (limited to 'pulsecaster/ui.py')
-rw-r--r-- | pulsecaster/ui.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pulsecaster/ui.py b/pulsecaster/ui.py index 5df1190..de6bea0 100644 --- a/pulsecaster/ui.py +++ b/pulsecaster/ui.py @@ -28,7 +28,7 @@ import gtk import os import sys import tempfile -import gobject +from gobject import timeout_add as gobject_timeout_add import pygst pygst.require('0.10') import gst @@ -215,7 +215,7 @@ class PulseCasterUI: self.starttime = datetime.now() self._update_time() self.timeout = 1000 - gobject.timeout_add(self.timeout, self._update_time) + gobject_timeout_add(self.timeout, self._update_time) self.trayicon.set_visible(True) def on_stop(self, *args): |