[gnome-music/wip/mschraal/gtk4: 68/69] playlistswidget: Disable some signals to make it work slightly better



commit d3b9520e0b257313afbc9e80ac1557e1b1bc4761
Author: Marinus Schraal <mschraal gnome org>
Date:   Fri May 1 07:56:10 2020 +0200

    playlistswidget: Disable some signals to make it work slightly better

 gnomemusic/widgets/playlistswidget.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gnomemusic/widgets/playlistswidget.py b/gnomemusic/widgets/playlistswidget.py
index cfdc0d40..5490d0fa 100644
--- a/gnomemusic/widgets/playlistswidget.py
+++ b/gnomemusic/widgets/playlistswidget.py
@@ -98,9 +98,9 @@ class PlaylistsWidget(Gtk.Box):
         song_widget = SongWidget(coresong, can_dnd, True)
         song_widget.props.show_song_number = False
 
-        song_widget.connect("button-release-event", self._on_song_activated)
-        if can_dnd is True:
-            song_widget.connect("widget_moved", self._on_song_widget_moved)
+        # song_widget.connect("button-release-event", self._on_song_activated)
+        # if can_dnd is True:
+        #     song_widget.connect("widget_moved", self._on_song_widget_moved)
 
         return song_widget
 


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