[gnome-music/wip/mschraal/core: 3/93] coremodel initial commit
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gnome-music/wip/mschraal/core: 3/93] coremodel initial commit
- Date: Fri, 21 Jun 2019 22:40:56 +0000 (UTC)
commit bf0eb82eff1a189130d68d6f28a12f971ff65637
Author: Marinus Schraal <mschraal gnome org>
Date:   Wed May 8 15:29:05 2019 +0200
    coremodel initial commit
 gnomemusic/application.py |  3 +++
 gnomemusic/coremodel.py   | 11 +++++++++++
 2 files changed, 14 insertions(+)
---
diff --git a/gnomemusic/application.py b/gnomemusic/application.py
index 4887d8fa..5d3eb0a7 100644
--- a/gnomemusic/application.py
+++ b/gnomemusic/application.py
@@ -36,6 +36,7 @@ import logging
 from gi.repository import Gtk, Gio, GLib, Gdk, GObject
 
 from gnomemusic import log
+from gnomemusic.coremodel import CoreModel
 from gnomemusic.inhibitsuspend import InhibitSuspend
 from gnomemusic.mpris import MPRIS
 from gnomemusic.pauseonsuspend import PauseOnSuspend
@@ -62,6 +63,8 @@ class Application(Gtk.Application):
         self._init_style()
         self._window = None
 
+        coremodel = CoreModel()
+
         self._settings = Gio.Settings.new('org.gnome.Music')
         self._player = Player(self)
 
diff --git a/gnomemusic/coremodel.py b/gnomemusic/coremodel.py
new file mode 100644
index 00000000..b576f3c2
--- /dev/null
+++ b/gnomemusic/coremodel.py
@@ -0,0 +1,11 @@
+from gi.repository import GObject
+
+from gnomemusic import log
+
+
+class CoreModel(GObject.GObject):
+
+    @log
+    def __init__(self):
+        super().__init__()
+
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]