Mercurial > pidgin
diff src/pounce.c @ 5878:9e54bb2ee3b5
[gaim-migrate @ 6310]
Whether or not pounces save after activation is now saved and loaded in
pounces.xml.
committer: Tailor Script <tailor@pidgin.im>
| author | Christian Hammond <chipx86@chipx86.com> |
|---|---|
| date | Sun, 15 Jun 2003 03:22:55 +0000 |
| parents | 448f2f4ca3ec |
| children | 94ad4d45346a |
line wrap: on
line diff
--- a/src/pounce.c Sun Jun 15 03:17:41 2003 +0000 +++ b/src/pounce.c Sun Jun 15 03:22:55 2003 +0000 @@ -604,6 +604,9 @@ g_free(data->pouncee); data->pouncee = NULL; } + else if (!strcmp(element_name, "save")) { + gaim_pounce_set_save(data->pounce, TRUE); + } else if (!strcmp(element_name, "pounce")) { data->pounce = NULL; data->events = 0; @@ -792,6 +795,10 @@ g_hash_table_foreach(pounce->actions, write_action_parameter_list, fp); fprintf(fp, " </actions>\n"); + + if (gaim_pounce_get_save(pounce)) + fprintf(fp, " <save/>\n"); + fprintf(fp, " </pounce>\n"); g_free(pouncer_name);
