Mercurial > pidgin.yaz
diff src/prefs.h @ 8705:543b19a96ac5
[gaim-migrate @ 9458]
" All preferences in gaim, except for "No sounds when you
log in", are "positive" preferences. For consistency
and to make it a bit easier to understand the
preference I think they should all be "positive"
preferences (there's probably something about this in
some HIG somewhere too)
This patch:
1. changes "No sounds when you log in" to "Sounds when
you log in"
2. adds a helper function for renaming old boolean
prefs and inverting their meaning
(gaim_prefs_rename_boolean_toggle)
3. Moves existing renames from prefs.c to gtkprefs.c
because they all reference gtk preferences.
Default behaviour for new users remains the same (no
sounds during log in), and existing user's preferences
are migrated correctly." --Stu Tomlinson
at one point possitive preferences were policy, i think we should maintain that policy.
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Sun, 18 Apr 2004 19:30:19 +0000 |
parents | 63c7a16a2c09 |
children | 7a67c459ab8f |
line wrap: on
line diff
--- a/src/prefs.h Sun Apr 18 19:26:33 2004 +0000 +++ b/src/prefs.h Sun Apr 18 19:30:19 2004 +0000 @@ -122,6 +122,14 @@ void gaim_prefs_rename(const char *oldname, const char *newname); /** + * Rename a boolean pref, toggling it's value + * + * @param oldname The old name of the pref + * @param newname The new name for the pref + */ +void gaim_prefs_rename_boolean_toggle(const char *oldname, const char *newname); + +/** * Remove all prefs. */ void gaim_prefs_destroy(); @@ -232,11 +240,6 @@ */ void gaim_prefs_sync(); -/** - * Rename legacy prefs - */ -void gaim_prefs_rename_old(); - /*@}*/ #ifdef __cplusplus