[gnome-music/wip/merge: 185/343] player: set sensitivity of prev/next button
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/merge: 185/343] player: set sensitivity of prev/next button
- Date: Thu, 25 Jul 2013 11:28:32 +0000 (UTC)
commit 161c077c1f8289a9956d9058821ab731fe8de325
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date: Tue Jul 16 18:13:26 2013 +0200
player: set sensitivity of prev/next button
gnomemusic/player.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnomemusic/player.py b/gnomemusic/player.py
index 519839e..fd2dd4c 100644
--- a/gnomemusic/player.py
+++ b/gnomemusic/player.py
@@ -222,8 +222,8 @@ class Player(GObject.GObject):
hasNext = self._hasNext()
hasPrevious = self._hasPrevious()
- self.nextBtn.sensitive = hasNext
- self.prevBtn.sensitive = hasPrevious
+ self.nextBtn.set_sensitive(hasNext)
+ self.prevBtn.set_sensitive(hasPrevious)
#self._dbusImpl.emit_property_changed('CanGoNext', GLib.Variant.new('b', hasNext))
#self._dbusImpl.emit_property_changed('CanGoPrevious', GLib.Variant.new('b', hasPrevious))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]