summarylogtreecommitdiffstats
path: root/gst-webkit-imports.patch
blob: 446df2d39eec7df6057d450b2c02585aeceec405 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
diff -Naur arista-0.9.7.orig/arista-gtk arista-0.9.7/arista-gtk
--- arista-0.9.7.orig/arista-gtk	2011-06-20 16:10:53.000000000 +0200
+++ arista-0.9.7/arista-gtk	2014-06-08 19:58:38.190311033 +0200
@@ -59,12 +59,6 @@
     pynotify = None
     _log.info("Unable to import pynotify - desktop notifications disabled")
 
-try:
-    import webkit
-except ImportError:
-    webkit = None
-    _log.info("Unable to import webkit - in-app documentation disabled")
-
 import arista
 
 _ = gettext.gettext
@@ -2334,6 +2328,13 @@
     import gst
     import gst.pbutils
     
+    # FIXME: if webkit is imported before gst the whole application hangs indefinitely
+    try:
+        import webkit
+    except ImportError:
+        webkit = None
+        _log.info("Unable to import webkit - in-app documentation disabled")
+
     arista.init()
     
     lc_path = arista.utils.get_path("locale", default = "")