summaryrefslogtreecommitdiffstats
path: root/pulsecaster
diff options
context:
space:
mode:
authorPaul W. Frields <stickster@gmail.com>2009-05-24 17:40:51 -0400
committerPaul W. Frields <stickster@gmail.com>2009-05-24 17:40:51 -0400
commit0a0dc73cd547de12fe26404e6449207c2450c779 (patch)
treed047aa2d494a9b16eb7b9e55e37e0ccf0cfab478 /pulsecaster
parent6db972384a5733b9cd05b5a783dd045538ac8656 (diff)
downloadpulsecaster-0a0dc73cd547de12fe26404e6449207c2450c779.tar.gz
pulsecaster-0a0dc73cd547de12fe26404e6449207c2450c779.tar.xz
pulsecaster-0a0dc73cd547de12fe26404e6449207c2450c779.zip
Get rid of awkward runlib stuff
Diffstat (limited to 'pulsecaster')
-rw-r--r--pulsecaster/ui.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/pulsecaster/ui.py b/pulsecaster/ui.py
index b60a5d1..fbcfe04 100644
--- a/pulsecaster/ui.py
+++ b/pulsecaster/ui.py
@@ -35,7 +35,7 @@ def _debugPrint(text):
print (text)
class PulseCatcherUI:
- def __init__(self, runlib=True):
+ def __init__(self):
self.xml = gtk.glade.XML(fname)
self.logo = gtk.gdk.pixbuf_new_from_file(logofile)
@@ -90,10 +90,6 @@ class PulseCatcherUI:
# Fill the combo boxes initially
self.repop_sources()
- if not runlib:
- self.main.show_all()
- gtk.main()
-
def repop_sources(self, *args):
self.sources = self.pa.pulse_source_list()
@@ -128,4 +124,6 @@ class PulseCatcherUI:
if __name__ == '__main__':
- pulseCatcher = PulseCatcherUI(False)
+ pulseCatcher = PulseCatcherUI()
+ pulseCatcher.main.show_all()
+ gtk.main()