Home | Trees | Indices | Help |
|
---|
|
object --+ | ??.GObject --+ | base.Option --+ | AccountOption
An Option-type for username/password combos. Stores the password in the gnome-keyring (if available) and only saves username and auth_token through the screenlets-backend. TODO: - not create new token for any change (use "set" instead of "create" if the given item already exists) - use usual storage if no keyring is available but output warning - on_delete-function for removing the data from keyring when the Screenlet holding the option gets deleted
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
|
|||
protected = True
|
|||
Inherited from |
|
|||
Inherited from Inherited from |
|
Creates a new Option with the given information.
|
Import account info from a string (like 'username:auth_token'),. retrieve the password from the storage and return a tuple containing username and password.
|
Export the given tuple/list containing a username and a password. The function stores the password in the gnomekeyring and returns a string in form 'username:auth_token'.
|
Generate a textbox for a account options
|
Set the account value as required.
|
Executed when the widget event kicks off.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Jun 6 10:56:35 2011 | http://epydoc.sourceforge.net |