diff options
author | Paul W. Frields <stickster@gmail.com> | 2010-12-20 22:15:16 -0500 |
---|---|---|
committer | Paul W. Frields <stickster@gmail.com> | 2010-12-20 22:15:16 -0500 |
commit | 8e93d38bf8d965047cb683dfcbfd9ec021ff44e2 (patch) | |
tree | 2226c64b623092cb5eeac2b8384e85a45b514267 /pulsecaster/ui.py | |
parent | a7b2271a969a06d639fb0ac27d4a22b797ba4946 (diff) | |
download | pulsecaster-8e93d38bf8d965047cb683dfcbfd9ec021ff44e2.tar.gz pulsecaster-8e93d38bf8d965047cb683dfcbfd9ec021ff44e2.tar.xz pulsecaster-8e93d38bf8d965047cb683dfcbfd9ec021ff44e2.zip |
Replace use of egg.trayicon with gtk.StatusIcon
Diffstat (limited to 'pulsecaster/ui.py')
-rw-r--r-- | pulsecaster/ui.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pulsecaster/ui.py b/pulsecaster/ui.py index ce089e1..0707f27 100644 --- a/pulsecaster/ui.py +++ b/pulsecaster/ui.py @@ -136,7 +136,9 @@ class PulseCasterUI: self.filesinkpath = '' - self.trayicon = PulseCasterTrayIcon() + self.trayicon = gtk.StatusIcon() + self.trayicon.set_visible(False) + self.trayicon.set_from_icon_name('pulsecaster') def repop_sources(self, *args): self.sources = self.pa.pulse_source_list() |