[gnome-clocks] Init GtkClutter in the application startup



commit d0c8fd1026509b9da9867e4c1c43c17e928925d5
Author: Paolo Borelli <pborelli gnome org>
Date:   Sat Aug 25 15:40:27 2012 +0200

    Init GtkClutter in the application startup

 gnomeclocks/app.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gnomeclocks/app.py b/gnomeclocks/app.py
index 576a8ca..0ed1041 100644
--- a/gnomeclocks/app.py
+++ b/gnomeclocks/app.py
@@ -25,7 +25,6 @@ from widgets import Embed
 from utils import Dirs
 from gnomeclocks import __version__, AUTHORS, COPYRIGHTS
 
-GtkClutter.init(sys.argv)
 
 class Window(Gtk.ApplicationWindow):
     def __init__(self, app):
@@ -406,6 +405,8 @@ class ClocksApplication(Gtk.Application):
     def do_startup(self):
         Gtk.Application.do_startup(self)
 
+        GtkClutter.init(sys.argv)
+
         action = Gio.SimpleAction.new("quit", None)
         action.connect("activate", self.quit_cb)
         self.add_action(action)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]