comparison src/prefs.c @ 8235:63c7a16a2c09

[gaim-migrate @ 8958] A bunch of minor changes, much of it from Gary Kramlich (amc_grim/xgrimx): gaim-away_do_menu_leak.diff - plugs a memory leak in the do away menu code gaim-gtkpounce_smart_menu.diff - makes the buddy pounce menu only show currently online accounts so that we can edit them. With the current pounce dialog you can only edit pounces for accounts that are online, this stops users from inadvertently change the account for which a pounce belongs. gaim-remove_pouces_with_account.diff - removes pounces for an account when that account is deleted. It adds a function to pounce.[ch]; gaim_pounces_delete_all_from_account, the doxygen help has been added to punce.h so that it will generate it with the rest of the doxygen api. gaim-yahoo_segfault_on_self_pounce.diff - fixes a segfault which occurred with yahoo if you had a pounce set on yourself to message on signon. What was happening was that the display name was being set after the pounces were being executed. This fixes that. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 12 Feb 2004 05:26:52 +0000
parents fa6395637e2c
children f24172f53650
comparison
equal deleted inserted replaced
8234:a2662eb5955b 8235:63c7a16a2c09
129 gaim_prefs_add_int("/core/contact/offline_score", 4); 129 gaim_prefs_add_int("/core/contact/offline_score", 4);
130 gaim_prefs_add_int("/core/contact/away_score", 2); 130 gaim_prefs_add_int("/core/contact/away_score", 2);
131 gaim_prefs_add_int("/core/contact/idle_score", 1); 131 gaim_prefs_add_int("/core/contact/idle_score", 1);
132 } 132 }
133 133
134 void
135 gaim_prefs_uninit()
136 {
137 if (prefs_save_timer != 0) {
138 g_source_remove(prefs_save_timer);
139 prefs_save_timer = 0;
140 gaim_prefs_sync();
141 }
142 }
143
134 static char * 144 static char *
135 get_path_dirname(const char *name) 145 get_path_dirname(const char *name)
136 { 146 {
137 char *c, *str; 147 char *c, *str;
138 148