7 ./query-dialog QueryPassword True \
9 Caption "Please insert password" \
13 # password confirm query
14 ./query-dialog QueryPassword True \
16 Caption "Enter current password and new password twice" \
22 ./query-dialog CaptchaUrl "file:///usr/share/locale/l10n/us/flag.png" \
24 Caption "Please solve the captcha" \
28 ./query-dialog OpenUrl "http://google.fi/" \
29 FinalUrl "http://xkcd.com/" \
35 from pprint import pprint;
38 if type(db)==dbus.Dictionary:
39 return dict((db2p(key), db2p(value)) for key, value in db.items())
40 if type(db)==dbus.String:
42 if type(db)==dbus.Int32:
44 if type(db)==dbus.Boolean:
46 return ('type: %s' % type(db), db)
49 bus = dbus.SessionBus()
50 proxy = bus.get_object('org.tizen.SSO',
51 '/org/tizen/SSO/SignonUi')
52 sso = dbus.Interface(proxy, dbus_interface='org.tizen.SSO.singlesignonui')
54 params = dbus.Dictionary({}, signature='sv')
56 # do some guesswork on the params ...
59 if (args[1].lower() == "true"):
60 val = dbus.Boolean (True)
61 elif (args[1].lower() == "false"):
62 val = dbus.Boolean (False)
64 val = dbus.String (args[1])
68 pprint(db2p(sso.queryDialog(params, timeout=60*10)))