Mercurial > pidgin
changeset 13835:f1dd1555b39c
[gaim-migrate @ 16284]
Fix a bug interalia just pointed out in #gaim. Unchecking a
substatus in the saved status editor would not actually
get rid of that substatus.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 19 Jun 2006 06:22:26 +0000 |
parents | 378bba5011e7 |
children | 9af607a0108f |
files | src/gtksavedstatuses.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtksavedstatuses.c Mon Jun 19 05:57:11 2006 +0000 +++ b/src/gtksavedstatuses.c Mon Jun 19 06:22:26 2006 +0000 @@ -760,6 +760,10 @@ type = gaim_account_get_status_type(account, id); gaim_savedstatus_set_substatus(saved_status, account, type, message); } + else + { + gaim_savedstatus_unset_substatus(saved_status, account); + } g_free(id); g_free(message); } while (gtk_tree_model_iter_next(model, &iter));