Author: asterix Date: 2007-09-20 18:30:45 +0200 (Thu, 20 Sep 2007) New Revision: 8841
Modified: branches/gajim_0.11.1/src/music_track_listener.py Log: don't crash when we close rhythmbox while Gajim is running. fixes #3442
Modified: branches/gajim_0.11.1/src/music_track_listener.py =================================================================== --- branches/gajim_0.11.1/src/music_track_listener.py 2007-09-20 16:30:06 UTC (rev 8840) +++ branches/gajim_0.11.1/src/music_track_listener.py 2007-09-20 16:30:45 UTC (rev 8841) @@ -136,6 +136,8 @@ return info def _rhythmbox_music_track_change_cb(self, uri): + if not uri: + return bus = dbus.SessionBus() rbshellobj = bus.get_object('org.gnome.Rhythmbox', '/org/gnome/Rhythmbox/Shell')