[gnome-music/wip/mschraal/core: 180/208] searchview: Remove treeview stuff



commit 4e411fe81680292fe3f4e18ddc158db13db4a2c9
Author: Marinus Schraal <mschraal gnome org>
Date:   Mon Jul 1 11:24:46 2019 +0200

    searchview: Remove treeview stuff

 gnomemusic/views/searchview.py | 9 ---------
 1 file changed, 9 deletions(-)
---
diff --git a/gnomemusic/views/searchview.py b/gnomemusic/views/searchview.py
index ccf609b8..c871ff1d 100644
--- a/gnomemusic/views/searchview.py
+++ b/gnomemusic/views/searchview.py
@@ -111,15 +111,6 @@ class SearchView(BaseView):
         self._all_results_box.pack_start(self._album_flowbox, True, True, 0)
         self._all_results_box.pack_start(self._songs_listbox, True, True, 0)
 
-        # self._view = Gtk.TreeView(
-        #     activate_on_single_click=True, can_focus=False,
-        #     halign=Gtk.Align.CENTER, headers_visible=False,
-        #     show_expanders=False, width_request=530)
-        # self._view.get_style_context().add_class('view')
-        # self._view.get_style_context().add_class('content-view')
-        # self._view.get_selection().props.mode = Gtk.SelectionMode.NONE
-        # self._view.connect('row-activated', self._on_item_activated)
-
         # self._ctrl = Gtk.GestureMultiPress().new(self._view)
         # self._ctrl.props.propagation_phase = Gtk.PropagationPhase.CAPTURE
         # self._ctrl.connect("released", self._on_view_clicked)


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