[gnome-music/wip/mschraal/gtk4: 52/64] playertoolbar: Disable button	image switching
- From: Marinus Schraal <mschraal src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [gnome-music/wip/mschraal/gtk4: 52/64] playertoolbar: Disable button	image switching
 
- Date: Tue, 17 Mar 2020 18:57:02 +0000 (UTC)
 
commit 761b177e9cb41f82fe2554c9b17318e194752472
Author: Marinus Schraal <mschraal gnome org>
Date:   Thu Oct 31 16:35:19 2019 +0100
    playertoolbar: Disable button image switching
 gnomemusic/widgets/playertoolbar.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnomemusic/widgets/playertoolbar.py b/gnomemusic/widgets/playertoolbar.py
index 051212eb..6e531b80 100644
--- a/gnomemusic/widgets/playertoolbar.py
+++ b/gnomemusic/widgets/playertoolbar.py
@@ -146,8 +146,8 @@ class PlayerToolbar(Gtk.ActionBar):
             image = self._play_image
             tooltip = _("Play")
 
-        if self._play_button.get_image() != image:
-            self._play_button.set_image(image)
+        # if self._play_button.get_image() != image:
+        #     self._play_button.set_image(image)
 
         self._play_button.set_tooltip_text(tooltip)
 
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]