# HG changeset patch # User Mark Doliner # Date 1098915891 0 # Node ID a485dedd6ba220271617eef338409b3c758639b4 # Parent ffab99688e5f915ec1730da0bd93f2c26855184a [gaim-migrate @ 11224] Minor privacy dialog changes from Bleeter. 1. Force-save blist.xml when privacy stuff changes instead of when Gaim shutdowns (or when something else triggers a blist-save) 2. Don't redraw stuff in the dialog if you select the same privacy option that was previously selected. Someone can commit this to oldstatus, if you really want. I'm not going to because I don't want to test it and I don't want to be responsible if it breaks something there, and I don't consider the changes to be that dire. committer: Tailor Script diff -r ffab99688e5f -r a485dedd6ba2 src/gtkprivacy.c --- a/src/gtkprivacy.c Wed Oct 27 00:05:28 2004 +0000 +++ b/src/gtkprivacy.c Wed Oct 27 22:24:51 2004 +0000 @@ -243,6 +243,9 @@ { int new_type = menu_entries[gtk_option_menu_get_history(optmenu)].num; + if (dialog->account->perm_deny == new_type) + return; + dialog->account->perm_deny = new_type; serv_set_permit_deny(gaim_account_get_connection(dialog->account)); @@ -260,6 +263,8 @@ gtk_widget_show(dialog->button_box); dialog->in_allow_list = FALSE; } + + gaim_blist_sync(); } static void