diff options
author | Walter Bender <walter.bender@gmail.com> | 2012-11-01 17:38:06 (GMT) |
---|---|---|
committer | Walter Bender <walter.bender@gmail.com> | 2012-11-01 17:38:06 (GMT) |
commit | ecdc738cca0f54058bc4949fb52d57fd18485342 (patch) | |
tree | c9ebc460db262c5346d5a32ce2185a99d978b40b | |
parent | fa7676f04f5dbdc6d62036daa5195a4e26a81cec (diff) |
use proper method name for resetting button iconsv33
-rw-r--r-- | PortfolioActivity.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/PortfolioActivity.py b/PortfolioActivity.py index 54be433..0ab7aa3 100644 --- a/PortfolioActivity.py +++ b/PortfolioActivity.py @@ -615,13 +615,13 @@ class PortfolioActivity(activity.Activity): self.i -= 1 self._first_time = False self._playing = True - self._auto_button.set_icon('media-playback-pause') + self._auto_button.set_icon_name('media-playback-pause') self._loop() def _stop_autoplay(self): ''' Stop autoplaying. ''' self._playing = False - self._auto_button.set_icon('media-playback-start') + self._auto_button.set_icon_name('media-playback-start') if hasattr(self, '_timeout_id') and self._timeout_id is not None: GObject.source_remove(self._timeout_id) |