[gnome-music/wip/mschraal/core: 3/118] coremode: def some minor stuff
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/core: 3/118] coremode: def some minor stuff
- Date: Wed, 26 Jun 2019 13:00:16 +0000 (UTC)
commit 3094d276adbc59609cd9f00af0cf00c35d7a575b
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]