[gnome-music/wip/jfelder/searchbar-child: 7/8] window: Fix warnings with new Flake8



commit 2345aa741eacf871260513f49df82e9175a3406b
Author: Jean Felder <jfelder src gnome org>
Date:   Fri Nov 16 01:29:43 2018 +0100

    window: Fix warnings with new Flake8
    
    This is a follow up of commit c855efb4.

 gnomemusic/window.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gnomemusic/window.py b/gnomemusic/window.py
index abd1ea01..6890a187 100644
--- a/gnomemusic/window.py
+++ b/gnomemusic/window.py
@@ -135,8 +135,8 @@ class Window(Gtk.ApplicationWindow):
 
         self._headerbar.bind_property(
             "search-mode-enabled", self._searchbar, "search-mode-enabled",
-            GObject.BindingFlags.BIDIRECTIONAL |
-            GObject.BindingFlags.SYNC_CREATE)
+            GObject.BindingFlags.BIDIRECTIONAL
+            | GObject.BindingFlags.SYNC_CREATE)
         self._searchbar.props.stack = self._stack
         self._headerbar.connect(
             'back-button-clicked', self._switch_back_from_childview)
@@ -150,8 +150,8 @@ class Window(Gtk.ApplicationWindow):
             'selected-items-count', selection_toolbar, 'selected-items-count')
         self.bind_property(
             'selection-mode', self._headerbar, 'selection-mode',
-            GObject.BindingFlags.BIDIRECTIONAL |
-            GObject.BindingFlags.SYNC_CREATE)
+            GObject.BindingFlags.BIDIRECTIONAL
+            | GObject.BindingFlags.SYNC_CREATE)
         self.bind_property(
             'selection-mode', selection_toolbar, 'visible',
             GObject.BindingFlags.SYNC_CREATE)


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