comparison src/gtksound.c @ 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 f8292be3b45c
children fa6c2d893c51
comparison
equal deleted inserted replaced
8704:581c94348984 8705:543b19a96ac5
105 gaim_prefs_add_string("/gaim/gtk/sound/file/chat_msg_recv", ""); 105 gaim_prefs_add_string("/gaim/gtk/sound/file/chat_msg_recv", "");
106 gaim_prefs_add_bool("/gaim/gtk/sound/enabled/nick_said", FALSE); 106 gaim_prefs_add_bool("/gaim/gtk/sound/enabled/nick_said", FALSE);
107 gaim_prefs_add_string("/gaim/gtk/sound/file/nick_said", ""); 107 gaim_prefs_add_string("/gaim/gtk/sound/file/nick_said", "");
108 gaim_prefs_add_bool("/gaim/gtk/sound/enabled/pounce_default", TRUE); 108 gaim_prefs_add_bool("/gaim/gtk/sound/enabled/pounce_default", TRUE);
109 gaim_prefs_add_string("/gaim/gtk/sound/file/pounce_default", ""); 109 gaim_prefs_add_string("/gaim/gtk/sound/file/pounce_default", "");
110 gaim_prefs_add_bool("/gaim/gtk/sound/silent_signon", TRUE); 110 gaim_prefs_add_bool("/gaim/gtk/sound/signon", FALSE);
111 gaim_prefs_add_bool("/gaim/gtk/sound/conv_focus", TRUE); 111 gaim_prefs_add_bool("/gaim/gtk/sound/conv_focus", TRUE);
112 gaim_prefs_add_string("/gaim/gtk/sound/command", ""); 112 gaim_prefs_add_string("/gaim/gtk/sound/command", "");
113 gaim_prefs_add_string("/gaim/gtk/sound/method", "automatic"); 113 gaim_prefs_add_string("/gaim/gtk/sound/method", "automatic");
114 114
115 #ifdef USE_AO 115 #ifdef USE_AO