comparison src/dialogs.c @ 5593:b07aa997ddd8

[gaim-migrate @ 5997] We don't actually need to call save_prefs() anymore. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sat, 31 May 2003 08:42:55 +0000
parents 9eb5b13fd412
children dae79aefac8d
comparison
equal deleted inserted replaced
5592:57165429ed73 5593:b07aa997ddd8
1935 1935
1936 if (b->account) { 1936 if (b->account) {
1937 strncpy_withhtml(b->account->user_info, junk, sizeof b->account->user_info); 1937 strncpy_withhtml(b->account->user_info, junk, sizeof b->account->user_info);
1938 gc = b->account->gc; 1938 gc = b->account->gc;
1939 1939
1940 save_prefs();
1941
1942 if (gc) 1940 if (gc)
1943 serv_set_info(gc, b->account->user_info); 1941 serv_set_info(gc, b->account->user_info);
1944 } 1942 }
1945 g_free(junk); 1943 g_free(junk);
1946 destroy_dialog(NULL, b->window); 1944 destroy_dialog(NULL, b->window);
2150 return; 2148 return;
2151 } 2149 }
2152 2150
2153 serv_change_passwd(b->gc, orig, new1); 2151 serv_change_passwd(b->gc, orig, new1);
2154 g_snprintf(b->gc->account->password, sizeof(b->gc->account->password), "%s", new1); 2152 g_snprintf(b->gc->account->password, sizeof(b->gc->account->password), "%s", new1);
2155 save_prefs();
2156 2153
2157 destroy_dialog(NULL, b->window); 2154 destroy_dialog(NULL, b->window);
2158 g_free(b); 2155 g_free(b);
2159 } 2156 }
2160 2157
2551 2548
2552 if (c != NULL) 2549 if (c != NULL)
2553 gaim_conversation_set_logging(c, TRUE); 2550 gaim_conversation_set_logging(c, TRUE);
2554 } 2551 }
2555 2552
2556 save_prefs();
2557 cancel_log(NULL, c); 2553 cancel_log(NULL, c);
2558 } 2554 }
2559 2555
2560 void show_log_dialog(struct gaim_conversation *c) 2556 void show_log_dialog(struct gaim_conversation *c)
2561 { 2557 {
3309 3305
3310 if (!ca->mess) { 3306 if (!ca->mess) {
3311 away_messages = g_slist_insert_sorted(away_messages, am, sort_awaymsg_list); 3307 away_messages = g_slist_insert_sorted(away_messages, am, sort_awaymsg_list);
3312 } 3308 }
3313 3309
3314 save_prefs();
3315 do_away_menu(NULL); 3310 do_away_menu(NULL);
3316 3311
3317 return am; 3312 return am;
3318 } 3313 }
3319 3314
5069 */ 5064 */
5070 if (b->account) { 5065 if (b->account) {
5071 strncpy(b->account->user_info, tmp, sizeof b->account->user_info); 5066 strncpy(b->account->user_info, tmp, sizeof b->account->user_info);
5072 gc = b->account->gc; 5067 gc = b->account->gc;
5073 5068
5074 save_prefs();
5075
5076 if (gc) 5069 if (gc)
5077 serv_set_info(gc, b->account->user_info); 5070 serv_set_info(gc, b->account->user_info);
5078 } 5071 }
5079 5072
5080 g_free(tmp); 5073 g_free(tmp);