Re: [Gajim-devel] what's wrong ???

2006-05-09 Thread Dimitur Kirov
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.0 +0300
+++ src/remote_control.py	2006-05-10 00:45:16.0 +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


Re: [Gajim-devel] what's wrong ???

2006-05-09 Thread Geobert QUACH
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.

And I just see that my patch broke everything... :p

On 5/9/06, Dimitur Kirov <[EMAIL PROTECTED]> wrote:
> On Tue, 9 May 2006 23:12:01 +0200 "Geobert QUACH"
> <[EMAIL PROTECTED]> wrote:
>
> > Hi !
> >
> > Im' trying to hack into gajim again by adding the start_chat command
> > to it to popup the Start chat dialog.
> >
> > My problem is that I try gajim-remote start_chat Main but nothing
> > happen, it just wait like this forever.
> >
> Maybe it is because of yesterday changes for
> http://trac.gajim.org/ticket/1926
>
> We didn't know that you were hacking on a similar part of the code. :(
> __
> D. Kirov
>


--
Geobert QUACH
http://articles-ido.dnsalias.net
___
Gajim-devel mailing list
Gajim-devel@gajim.org
https://lists.gajim.org/cgi-bin/listinfo/gajim-devel


Re: [Gajim-devel] what's wrong ???

2006-05-09 Thread Dimitur Kirov
On Tue, 9 May 2006 23:12:01 +0200 "Geobert QUACH"
<[EMAIL PROTECTED]> wrote:

> Hi !
> 
> Im' trying to hack into gajim again by adding the start_chat command
> to it to popup the Start chat dialog.
> 
> My problem is that I try gajim-remote start_chat Main but nothing
> happen, it just wait like this forever.
> 
Maybe it is because of yesterday changes for
http://trac.gajim.org/ticket/1926

We didn't know that you were hacking on a similar part of the code. :(
__
D. Kirov
___
Gajim-devel mailing list
Gajim-devel@gajim.org
https://lists.gajim.org/cgi-bin/listinfo/gajim-devel