don't crash when we close rhythmbox while Gajim is running. fixes #3442

This commit is contained in:
Yann Leboulanger 2007-09-20 08:34:22 +00:00
parent fe0ac73f3d
commit cf9945245a
1 changed files with 2 additions and 0 deletions

View File

@ -136,6 +136,8 @@ class MusicTrackListener(gobject.GObject):
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')