GNOME Bugzilla – Bug 302112
Add authorize preference to prompt
Last modified: 2005-04-27 04:06:53 UTC
ENH - Add a check box tied to gconf for "/apps/seahorse/agent/cache_authorize" to the authorize passphrase prompt.
Created attachment 45723 [details] [review] see bug description Adding code from libseahorse/seahorse-prefs-cache.c may not be the best way to do this. Do we need to make these methods more exposed to allow this kind of tie in, or is this a very rare thing?
You can use the seahorse_check_button_control_new function to build a checkbox nicely linked to a boolean gconf entry.
Created attachment 45725 [details] [review] see bug description Whose apparently out of sync with cvs? This guy----^ Now with a patch that builds against current.
Created attachment 45726 [details] [review] One last time with the right function
Looks good. I'd just suggest two things to change if you think they make sense: - Use the text "Always ask me before using a cached passphrase". The 'always' makes it clearer to the user that he/she is changing a setting. - I'd suggest moving all the SETTING_XXXX gconf keys into seahorse-agent.h now that we're using them from more than one place.
Created attachment 45727 [details] [review] New and Shiny Changed text, moved #defines to seahorse-agent.h
Awesome. Checked into CVS.