[gnome-music/wip/mschraal/gtk4-v2: 1/56] (TEMPORARY HACK) Disable all views but Album




commit 60e92c3c4c08e136af1ad7eb552ea5daed9ee555
Author: Marinus Schraal <mschraal gnome org>
Date:   Mon Apr 12 17:37:25 2021 +0200

    (TEMPORARY HACK) Disable all views but Album

 gnomemusic/window.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gnomemusic/window.py b/gnomemusic/window.py
index b4ca3676d..10b00afa9 100644
--- a/gnomemusic/window.py
+++ b/gnomemusic/window.py
@@ -246,10 +246,10 @@ class Window(Gtk.ApplicationWindow):
             return
 
         self.views[View.ALBUM] = AlbumsView(self._app)
-        self.views[View.ARTIST] = ArtistsView(self._app)
-        self.views[View.SONG] = SongsView(self._app)
-        self.views[View.PLAYLIST] = PlaylistsView(self._app)
-        self.views[View.SEARCH] = SearchView(self._app)
+        self.views[View.ARTIST] = Gtk.Box() # ArtistsView(self._app)
+        self.views[View.SONG] = Gtk.Box() # SongsView(self._app)
+        self.views[View.PLAYLIST] = Gtk.Box() # PlaylistsView(self._app)
+        self.views[View.SEARCH] = Gtk.Box() # SearchView(self._app)
 
         # empty view has already been created in self._setup_view starting at
         # View.ALBUM


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