On Tue, 9 May 2006 23:33:11 +0200 "Geobert QUACH"
<[EMAIL PROTECTED]> wrote:

> I've just start it this evening :)
> 
> and it was motivated by the completion :)
> 
> All I want is to call the start chat dialog via DBus in order to
> xbindkey it.
You missed to import NewChatDialog. Remote methods' errors are not
reported to the console, so you didn;t saw the TB.

 With this patch it works fine.
__
D. Kirov
--- src/remote_control.py.orig	2006-05-10 00:45:05.000000000 +0300
+++ src/remote_control.py	2006-05-10 00:45:16.000000000 +0300
@@ -32,7 +32,7 @@
 from common import helpers
 from time import time
 from common import i18n
-from dialogs import AddNewContactWindow
+from dialogs import AddNewContactWindow, NewChatDialog
 _ = i18n._
 
 import dbus_support
@@ -553,7 +553,7 @@
 		if not account:
 			# FIXME:  raise exception for missing argument
 			return None
-		dialogs.NewChatDialog(account)
+		NewChatDialog(account)
 		return True
 
 	if dbus_support.version[1] >= 30 and dbus_support.version[1] <= 40:
_______________________________________________
Gajim-devel mailing list
Gajim-devel@gajim.org
https://lists.gajim.org/cgi-bin/listinfo/gajim-devel

Reply via email to