[gnome-music/wip/mschraal/core: 28/92] coremode: def some minor stuff
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/core: 28/92] coremode: def some minor stuff
- Date: Mon, 17 Jun 2019 22:49:17 +0000 (UTC)
commit fa584442700309b5612edc9e293b17660535ae89
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]