Am Sonntag 14 Februar 2010 01:05:04 schrieb Petr Vanek:
> KK> > > KK> you cannot supply from commandline (neither mdbus nor
> KK> > > KK> dbus-send support that... don't know about mdbus2).
> KK> > >
> KK> > > and from a python script? First retrieving the correct
> KK> > > parameters from dbus and the supplying them?
> KK> >
> KK> > hmm, should work... but does not :(
> KK> >
> KK> > trying with the following script:
> KK> > ------
> KK> > #!/usr/bin/env python
> KK> > # -*- coding: utf-8 -*-
> KK> >
> KK> > import dbus
> KK> >
> KK> > bus = dbus.SystemBus()
> KK> > msg = bus.get_object("org.shr.phoneui",
> KK> > "/org/shr/phoneui/Messages") msg_iface = dbus.Interface(msg,
> KK> > dbus_interface="org.shr.phoneui.Messages")
> KK> > msg_iface.CreateMessage({"":""}) -----
> KK> >
> KK> > it does just nothing. Replacing CreateMessage with DisplayList
> KK> > shows the message list though...
> KK> >
> KK> > Obviously there is something wrong there. Will take a look a bit
> KK> > later today.
> KK> okay, took me a day longer :/ but fixed phoneuid will hit the shr-u
> KK> feed in a minute :-)
>
> thank you very much! I can now open up the window but after moving to
> the next screen it either crashes or just disappears. I guess i am not
> passing right parameters in order for it to stay alive and also not
> able to pass a string with the prepared message... or is it even
> possible at the moment?
Hmm, I just checked that the new message window pops up. Segfaults for me too.
Next thing to look into :-)
>
> thank you
>
> Petr
>
--
Klaus 'mrmoku' Kurzmann
_______________________________________________
Shr-User mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-user