[gnome-music/wip/mschraal/gtk4: 119/143] songwidget: More fixes



commit 5e81d3d0aa012c884bd485a38e6774809947f6f8
Author: Marinus Schraal <mschraal gnome org>
Date:   Thu Oct 31 16:17:44 2019 +0100

    songwidget: More fixes

 gnomemusic/widgets/songwidget.py | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/gnomemusic/widgets/songwidget.py b/gnomemusic/widgets/songwidget.py
index 2f8f5c6e..0306ad7c 100644
--- a/gnomemusic/widgets/songwidget.py
+++ b/gnomemusic/widgets/songwidget.py
@@ -125,9 +125,8 @@ class SongWidget(Gtk.Box):
 
         self._select_button.set_visible(False)
 
-        self._play_icon.set_from_icon_name(
-            'media-playback-start-symbolic', Gtk.IconSize.SMALL_TOOLBAR)
-        self._play_icon.set_no_show_all(True)
+        self._play_icon.set_from_icon_name('media-playback-start-symbolic')
+        # self._play_icon.set_no_show_all(True)
 
         self.props.coresong.bind_property(
             'selected', self._select_button, 'active',
@@ -136,7 +135,7 @@ class SongWidget(Gtk.Box):
         self.bind_property(
             'show-duration', self._duration_label, 'visible',
             GObject.BindingFlags.SYNC_CREATE)
-        self._duration_label.set_no_show_all(True)
+        # self._duration_label.set_no_show_all(True)
         self.bind_property(
             'show-favorite', self._star_eventbox, 'visible',
             GObject.BindingFlags.SYNC_CREATE)
@@ -156,7 +155,7 @@ class SongWidget(Gtk.Box):
         if not self.props.coresong.props.is_tracker:
             self._star_stack.props.visible_child_name = "empty"
 
-        self._number_label.props.no_show_all = True
+        # self._number_label.props.no_show_all = True
 
         if can_dnd is True:
             self._dnd_eventbox.props.visible = True


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]