Mercurial > pidgin
comparison src/gtkprefs.c @ 8905:438e8d857554
[gaim-migrate @ 9674]
"It would have been nice to remove the prefs in, say, conversation.c's
init function. But it can't be done in the init function, because the
prefs aren't read in yet. What about if the _init function somehow
registers preferences to be removed, and then once all the init functions
have been called, the core can call
gaim_prefs_remove_and_rename(GSList *stuff_to_remove_and_rename)?"
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sat, 08 May 2004 17:43:21 +0000 |
parents | 7a67c459ab8f |
children | 5dd21fa59de3 |
comparison
equal
deleted
inserted
replaced
8904:9a25d7f66d9c | 8905:438e8d857554 |
---|---|
2966 | 2966 |
2967 /* Smiley Callbacks */ | 2967 /* Smiley Callbacks */ |
2968 gaim_prefs_connect_callback("/gaim/gtk/smileys/theme", | 2968 gaim_prefs_connect_callback("/gaim/gtk/smileys/theme", |
2969 smiley_theme_pref_cb, NULL); | 2969 smiley_theme_pref_cb, NULL); |
2970 } | 2970 } |
2971 | |
2972 void gaim_gtk_prefs_update_old() { | |
2973 /* Rename some old prefs */ | |
2974 gaim_prefs_rename("/gaim/gtk/logging/log_ims", "/core/logging/log_ims"); | |
2975 gaim_prefs_rename("/gaim/gtk/logging/log_chats", "/core/logging/log_chats"); | |
2976 gaim_prefs_rename("/core/conversations/placement", | |
2977 "/gaim/gtk/conversations/placement"); | |
2978 gaim_prefs_rename_boolean_toggle("/gaim/gtk/sound/silent_signon", | |
2979 "/gaim/gtk/sound/signon"); | |
2980 | |
2981 /* Remove some no-longer-used prefs */ | |
2982 gaim_prefs_remove("/gaim/gtk/conversations/show_urls_as_links"); | |
2983 gaim_prefs_remove("/gaim/gtk/conversations/show_smileys"); | |
2984 } |