[gnome-music/wip/mschraal/gtk4-pre-squash-backup: 222/254] songsview: flake8 fixes
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/gtk4-pre-squash-backup: 222/254] songsview: flake8 fixes
- Date: Thu, 17 Feb 2022 11:35:45 +0000 (UTC)
commit 450d707ae0d66597d531efa0ad53af9712c1eca0
Author: Jean Felder <jfelder src gnome org>
Date: Sat Feb 12 12:30:30 2022 +0100
songsview: flake8 fixes
gnomemusic/views/songsview.py | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
---
diff --git a/gnomemusic/views/songsview.py b/gnomemusic/views/songsview.py
index eb619527c..17c17b518 100644
--- a/gnomemusic/views/songsview.py
+++ b/gnomemusic/views/songsview.py
@@ -23,11 +23,8 @@
# delete this exception statement from your version.
from gettext import gettext as _
-from gi.repository import Adw, GObject, Gdk, Gtk
+from gi.repository import GObject, Gtk
-from gnomemusic.coresong import CoreSong
-from gnomemusic.utils import SongStateIcon
-from gnomemusic.widgets.starhandlerwidget import StarHandlerWidget
import gnomemusic.utils as utils
@@ -83,8 +80,8 @@ class SongsView(Gtk.Box):
self.bind_property(
"selection-mode", self._listview, "single-click-activate",
- GObject.BindingFlags.SYNC_CREATE |
- GObject.BindingFlags.INVERT_BOOLEAN)
+ GObject.BindingFlags.SYNC_CREATE
+ | GObject.BindingFlags.INVERT_BOOLEAN)
self.bind_property(
"selection-mode", self._listview, "enable-rubberband",
GObject.BindingFlags.SYNC_CREATE)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]