Mercurial > pidgin.yaz
diff console/gntblist.c @ 14396:9e9699792bb9
[gaim-migrate @ 17104]
Add option in gntgf to set the URGENT hint for the terminal's window (in X).
Unescape the status-string in the statusbox.
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Fri, 01 Sep 2006 02:07:23 +0000 |
parents | 81932c1ec6cf |
children | 28baa42b5ac2 |
line wrap: on
line diff
--- a/console/gntblist.c Thu Aug 31 22:04:16 2006 +0000 +++ b/console/gntblist.c Fri Sep 01 02:07:23 2006 +0000 @@ -127,7 +127,7 @@ g_return_if_fail(node != NULL); if (list->ui_data == NULL) - return; + return; /* XXX: this is probably the place to auto-join chats */ if (node->ui_data != NULL) { gnt_tree_change_text(GNT_TREE(ggblist->tree), node, @@ -1417,9 +1417,11 @@ StatusBoxItem *item = list->data; if (item->type == STATUS_PRIMITIVE && item->u.prim == prim) { + char *mess = gaim_unescape_html(message); gnt_combo_box_set_selected(GNT_COMBO_BOX(ggblist->status), item); - gnt_entry_set_text(GNT_ENTRY(ggblist->statustext), message); + gnt_entry_set_text(GNT_ENTRY(ggblist->statustext), mess); gnt_widget_draw(ggblist->status); + g_free(mess); break; } }