Mercurial > pidgin.yaz
diff console/libgnt/gntcombobox.c @ 14041:27182f83b79b
[gaim-migrate @ 16647]
Statusbox comes in. It's now possible to change the account status. There's
nothing yet for creating custom statuses.
It's also possible now to delete accounts.
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sat, 05 Aug 2006 11:31:54 +0000 |
parents | a71678d2da16 |
children | 143474e2b1cb |
line wrap: on
line diff
--- a/console/libgnt/gntcombobox.c Sat Aug 05 09:19:14 2006 +0000 +++ b/console/libgnt/gntcombobox.c Sat Aug 05 11:31:54 2006 +0000 @@ -23,11 +23,11 @@ /* XXX: make sure the key actually does exist */ gpointer old = box->selected; box->selected = key; - g_signal_emit(box, signals[SIG_SELECTION_CHANGED], 0, old, key); if (GNT_WIDGET(box)->window) gnt_widget_draw(GNT_WIDGET(box)); if (box->dropdown) gnt_tree_set_selected(GNT_TREE(box->dropdown), key); + g_signal_emit(box, signals[SIG_SELECTION_CHANGED], 0, old, key); } } @@ -65,7 +65,7 @@ } mvwprintw(widget->window, 1, 1, text); - whline(widget->window, '\0' | COLOR_PAIR(type), widget->priv.width - 4 - len); + whline(widget->window, ' ' | COLOR_PAIR(type), widget->priv.width - 4 - len); mvwaddch(widget->window, 1, widget->priv.width - 3, ACS_VLINE | COLOR_PAIR(GNT_COLOR_NORMAL)); mvwaddch(widget->window, 1, widget->priv.width - 2, ACS_DARROW | COLOR_PAIR(GNT_COLOR_NORMAL));