[gnome-music/wip/mschraal/core: 24/57] coremode: def some minor stuff
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/core: 24/57] coremode: def some minor stuff
- Date: Fri, 31 May 2019 09:38:45 +0000 (UTC)
commit 4ff93cb9a7b1e6026dc9161b0e0e8272acaba22c
Author: Marinus Schraal <mschraal gnome org>
Date: Wed May 8 15:59:03 2019 +0200
coremode: def some minor stuff
gnomemusic/coremodel.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/gnomemusic/coremodel.py b/gnomemusic/coremodel.py
index b576f3c2..dc49efbc 100644
--- a/gnomemusic/coremodel.py
+++ b/gnomemusic/coremodel.py
@@ -1,4 +1,4 @@
-from gi.repository import GObject
+from gi.repository import GObject, Gio
from gnomemusic import log
@@ -9,3 +9,5 @@ class CoreModel(GObject.GObject):
def __init__(self):
super().__init__()
+ self._model = Gio.ListStore()
+ self._hash = {}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]