im.pidgin.pidgin: 75d4255e8fc5d320ac4ed6b04e392b219dc8b70a
sadrul at pidgin.im
sadrul at pidgin.im
Sun Dec 2 02:40:37 EST 2007
-----------------------------------------------------------------
Revision: 75d4255e8fc5d320ac4ed6b04e392b219dc8b70a
Ancestor: 872484bf9e23965956bacedc374083deeb3329d4
Author: sadrul at pidgin.im
Date: 2007-12-02T07:37:40
Branch: im.pidgin.pidgin
Modified files:
finch/libgnt/test/tv.c
ChangeLog:
Use colors in textview.
-------------- next part --------------
============================================================
--- finch/libgnt/test/tv.c a9326fa1cb38640fd6f0c3ec5cf7ca31d87bf9d0
+++ finch/libgnt/test/tv.c 1038f94c8f4b988ee5e799f8d27ee07798516572
@@ -112,8 +112,8 @@ int main()
gnt_text_view_append_text_with_flags(GNT_TEXT_VIEW(view), "plugins: ", GNT_TEXT_FLAG_BOLD);
gnt_text_view_append_text_with_flags(GNT_TEXT_VIEW(view), "this is the 2nd line\n", GNT_TEXT_FLAG_NORMAL);
- gnt_text_view_append_text_with_flags(GNT_TEXT_VIEW(view), "plugins: ", GNT_TEXT_FLAG_BOLD);
- gnt_text_view_append_text_with_flags(GNT_TEXT_VIEW(view), "this is the 3rd line\n", GNT_TEXT_FLAG_NORMAL);
+ gnt_text_view_append_text_with_flags(GNT_TEXT_VIEW(view), "plugins: ", GNT_TEXT_FLAG_BOLD | gnt_color_pair(GNT_COLOR_HIGHLIGHT));
+ gnt_text_view_append_text_with_flags(GNT_TEXT_VIEW(view), "this is the 3rd line\n", GNT_TEXT_FLAG_NORMAL | gnt_color_pair(GNT_COLOR_HIGHLIGHT));
gnt_text_view_append_text_with_flags(GNT_TEXT_VIEW(view), "plugins: ", GNT_TEXT_FLAG_BOLD);
gnt_text_view_append_text_with_flags(GNT_TEXT_VIEW(view), "this is the 4th line\n", GNT_TEXT_FLAG_NORMAL);
More information about the Commits
mailing list