Am Freitag 12 Februar 2010 12:09:07 schrieb Petr Vanek:
> KK> > > i had tried the
> KK> > > org.shr.phoneui.Messages /org/shr/phoneui/Messages
> KK> > > org.shr.phoneui.Messages.CreateMessage
> KK> > >
> KK> > > but no luck with parameters,
> KK> CreateMessage expects a parameter of type a{sv} which unfortunately
> 
> yes. i had tried this.
> 
> KK> you cannot supply from commandline (neither mdbus nor dbus-send
> KK> support that... don't know about mdbus2).
> 
> and from a python script? First retrieving the correct parameters from
> dbus and the supplying them?
hmm, should work... but does not :(

trying with the following script:
------
#!/usr/bin/env python
# -*- coding: utf-8 -*-

import dbus

bus = dbus.SystemBus()
msg = bus.get_object("org.shr.phoneui", "/org/shr/phoneui/Messages")
msg_iface = dbus.Interface(msg, dbus_interface="org.shr.phoneui.Messages")
msg_iface.CreateMessage({"":""})
-----

it does just nothing. Replacing CreateMessage with DisplayList shows the 
message list though...

Obviously there is something wrong there. Will take a look a bit later today.

> 
> Petr
> 

-- 
Klaus 'mrmoku' Kurzmann
_______________________________________________
Shr-User mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-user

Reply via email to