Skip to content
Snippets Groups Projects
Commit 71231fb8 authored by dkirov's avatar dkirov
Browse files

don't load remote control if dbus is 0.23.x

and python is 2.4
parent 973631a2
No related branches found
No related tags found
No related merge requests found
......@@ -21,6 +21,7 @@
import gobject
import gtk
import os
import sys
from common import gajim
from time import time
......@@ -54,6 +55,10 @@ def __init__(self, plugin):
print _('D-Bus python bindings are missing in this computer')
print _('D-Bus capabilities of Gajim cannot be used')
raise DbusNotSupported()
# dbus 0.23 leads to segfault with threads_init()
if sys.version[:4] >= '2.4' and _version[1] < 30:
raise DbusNotSupported()
try:
session_bus = dbus.SessionBus()
except:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment