[gnome-music/wip/merge: 319/343] application: Create MPRIS service after creating the window
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/merge: 319/343] application: Create MPRIS service after creating the window
- Date: Thu, 25 Jul 2013 11:39:26 +0000 (UTC)
commit c11ac669cb06571cda8bb488674c2e464edcf55c
Author: Arnel A. Borja <arnelborja src gnome org>
Date: Sun Jul 21 22:46:35 2013 +0800
application: Create MPRIS service after creating the window
gnomemusic/application.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gnomemusic/application.py b/gnomemusic/application.py
index 28a1274..9ee556f 100644
--- a/gnomemusic/application.py
+++ b/gnomemusic/application.py
@@ -1,5 +1,6 @@
from gi.repository import Gtk, Gio, GLib, Gdk
from gnomemusic.window import Window
+from gnomemusic.mpris import MediaPlayer2Service
class Application(Gtk.Application):
@@ -25,6 +26,7 @@ class Application(Gtk.Application):
def do_activate(self):
if not self._window:
self._window = Window(self)
+ self.service = MediaPlayer2Service(self)
self._window.present()
def quit(self):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]