[gnome-music/wip/mschraal/player-factor-out-gstreamer: 38/42] player: btn -> button
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/player-factor-out-gstreamer: 38/42] player: btn -> button
- Date: Fri, 9 Feb 2018 20:55:59 +0000 (UTC)
commit 251fc93be7871fb704e47a2690276e512e3e16e2
Author: Marinus Schraal <mschraal gnome org>
Date: Fri Feb 9 19:40:35 2018 +0100
player: btn -> button
gnomemusic/player.py | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/gnomemusic/player.py b/gnomemusic/player.py
index 0505b35..7dcb771 100644
--- a/gnomemusic/player.py
+++ b/gnomemusic/player.py
@@ -594,9 +594,9 @@ class Player(GObject.GObject):
self._sync_repeat_image()
- self._prev_button.connect('clicked', self._on_prev_btn_clicked)
- self._play_button.connect('clicked', self._on_play_btn_clicked)
- self._next_button.connect('clicked', self._on_next_btn_clicked)
+ self._prev_button.connect('clicked', self._on_prev_button_clicked)
+ self._play_button.connect('clicked', self._on_play_button_clicked)
+ self._next_button.connect('clicked', self._on_next_button_clicked)
self._progress_scale.connect('button-press-event', self._on_progress_scale_event)
self._progress_scale.connect('value-changed', self._on_progress_value_changed)
self._progress_scale.connect('button-release-event', self._on_progress_scale_button_released)
@@ -711,18 +711,18 @@ class Player(GObject.GObject):
self._on_progress_value_changed(None)
@log
- def _on_play_btn_clicked(self, btn):
+ def _on_play_button_clicked(self, button):
if self._player.is_playing():
self.pause()
else:
self.play()
@log
- def _on_next_btn_clicked(self, btn):
+ def _on_next_button_clicked(self, button):
self.play_next()
@log
- def _on_prev_btn_clicked(self, btn):
+ def _on_prev_button_clicked(self, button):
self.play_previous()
@log
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]