Mercurial > pidgin
diff console/libgnt/gntentry.c @ 13979:a71678d2da16
[gaim-migrate @ 16540]
Complete the notify-ui. I have been unable to test the searchresult-ui.
But "looks like" it will work.
The accounts-ui is also mostly . I am yet to add the proxy-options.
And you cannot still delete an account. That will happen after the
request-ui is complete. The account-edit dialog needs some work, but
it's usable.
Added GntCheckBox, and add some features to some other gnt-widgets.
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sun, 23 Jul 2006 01:10:06 +0000 |
parents | 25be562aaca8 |
children | 4c939ea15004 |
line wrap: on
line diff
--- a/console/libgnt/gntentry.c Sat Jul 22 18:11:34 2006 +0000 +++ b/console/libgnt/gntentry.c Sun Jul 23 01:10:06 2006 +0000 @@ -21,7 +21,14 @@ wbkgdset(widget->window, '\0' | COLOR_PAIR(GNT_COLOR_TEXT_NORMAL)); else wbkgdset(widget->window, '\0' | COLOR_PAIR(GNT_COLOR_HIGHLIGHT_D)); - mvwprintw(widget->window, 0, 0, entry->scroll); + + if (entry->masked) + { + mvwhline(widget->window, 0, 0, gnt_ascii_only() ? '*' : ACS_BULLET, + entry->end - entry->scroll); + } + else + mvwprintw(widget->window, 0, 0, entry->scroll); stop = entry->end - entry->scroll; if (stop < widget->priv.width) @@ -283,4 +290,8 @@ entry_redraw(GNT_WIDGET(entry)); } +void gnt_entry_set_masked(GntEntry *entry, gboolean set) +{ + entry->masked = set; +}