xmpp and xmpp:// is catched in GNOME now if gajim is running

This commit is contained in:
Nikos Kouremenos 2005-09-08 10:30:32 +00:00
parent 7e808fbb56
commit 7016af459f

View file

@ -1243,7 +1243,9 @@ if __name__ == '__main__':
command = path_to_gajim_script + ' open_chat %s'
else: # 'installed'
command = 'gajim-remote open_chat %s'
client.set_bool('/desktop/gnome/url-handlers/xmpp/enabled', True)
client.set_string('/desktop/gnome/url-handlers/xmpp/command', command)
client.set_bool('/desktop/gnome/url-handlers/xmpp/needs_terminal', False)
Interface()
gtk.main()