[gnome-music/wip/jfelder/discbox-selection-mode-allowed: 12/13] discbox: Remove unused attribute _selection_mode_allowed



commit 4f7d47180bdc0fb537f3538bc008aa3d97c3ecad
Author: Jean Felder <jfelder src gnome org>
Date:   Fri Jan 17 00:58:08 2020 +0100

    discbox: Remove unused attribute _selection_mode_allowed

 gnomemusic/widgets/disclistboxwidget.py | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/gnomemusic/widgets/disclistboxwidget.py b/gnomemusic/widgets/disclistboxwidget.py
index ef461b41..eb285777 100644
--- a/gnomemusic/widgets/disclistboxwidget.py
+++ b/gnomemusic/widgets/disclistboxwidget.py
@@ -64,8 +64,6 @@ class DiscBox(Gtk.ListBoxRow):
             'show-disc-label', self._disc_label, 'visible',
             GObject.BindingFlags.SYNC_CREATE)
 
-        self._selection_mode_allowed = True
-
         self._list_box.bind_model(self._model, self._create_widget)
 
     def set_disc_number(self, disc_number):


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