[gnome-music/wip/jfelder/gtk4-v3] songsview: flake8 fixes
- From: Jean Felder <jfelder src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/jfelder/gtk4-v3] songsview: flake8 fixes
- Date: Sat, 12 Feb 2022 11:30:46 +0000 (UTC)
commit 7ee26de0e01228c1480018dbc6c5057740d8db3b
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]