Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/activity.py
diff options
context:
space:
mode:
authorSimon Schampijer <simon@laptop.org>2013-01-23 12:26:39 (GMT)
committer Simon Schampijer <simon@laptop.org>2013-01-31 20:18:11 (GMT)
commitcb71d268f900270bcbc28b7dddf02a37f3f21883 (patch)
tree1cd3a006a6484106abc4c7860be107e3ed1491d4 /activity.py
parentccf711ae1acaea90e37ab61ff0213927c21afc0e (diff)
Fixup of the leftovers from the convert script
- add missing Gdk imports - do not use GObject.GObject.__init__(self) when we have a Gtk object - correct Gdk, GObject, Rsvg and GdkPixbuf imports - add missing Gtk.Alignment arguments
Diffstat (limited to 'activity.py')
-rw-r--r--activity.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/activity.py b/activity.py
index 843b820..fceef10 100644
--- a/activity.py
+++ b/activity.py
@@ -16,10 +16,6 @@
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
-# activate threads for gst needs
-from gi.repository import GObject
-GObject.threads_init()
-
import locale
locale.setlocale(locale.LC_NUMERIC, 'C')
@@ -32,6 +28,12 @@ import os
import zipfile
from gi.repository import Gtk
+from gi.repository import Gdk
+from gi.repository import GObject
+
+# activate threads for gst needs
+GObject.threads_init()
+
import telepathy
import telepathy.client