missing func called by emit() func. Fixes #564

This commit is contained in:
Yann Leboulanger 2006-09-26 14:01:34 +00:00
parent 4e1d7a21c9
commit 8d8b92c344
1 changed files with 4 additions and 0 deletions

View File

@ -57,6 +57,10 @@ class MusicTrackListener(gobject.GObject):
bus.add_signal_receiver(self._player_playing_changed_cb,
'playingChanged', 'org.gnome.Rhythmbox.Player')
def do_music_track_changed(self, info):
if info is not None:
self._last_playing_music = info
def _player_name_owner_changed(self, name, old, new):
if not new:
self.emit('music-track-changed', None)