Mercurial > pidgin
comparison console/gntconv.c @ 13907:cc60d0861337
[gaim-migrate @ 16402]
This commit has 1234 lines of diff :)
Windows can now be moved (alt+m, then the arrow keys, then escape/enter).
Add a window to enable/disable accounts. But the 'add' etc. buttons don't
have any callbacks yet. I am going to need to do some more widgets (checkbox,
combobox) before I do anything else.
I have also updated the test programs to work with the changes in libgnt.
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sun, 02 Jul 2006 22:13:06 +0000 |
parents | eaaf73de9188 |
children | fdf2dbed6faa |
comparison
equal
deleted
inserted
replaced
13906:b986b6e2441b | 13907:cc60d0861337 |
---|---|
163 gnt_text_view_next_line(GNT_TEXT_VIEW(ggconv->tv)); | 163 gnt_text_view_next_line(GNT_TEXT_VIEW(ggconv->tv)); |
164 gnt_text_view_scroll(GNT_TEXT_VIEW(ggconv->tv), 0); | 164 gnt_text_view_scroll(GNT_TEXT_VIEW(ggconv->tv), 0); |
165 | 165 |
166 g_free(strip); | 166 g_free(strip); |
167 | 167 |
168 gnt_widget_set_urgent(ggconv->tv); | 168 if (flags & (GAIM_MESSAGE_RECV | GAIM_MESSAGE_NICK | GAIM_MESSAGE_ERROR)) |
169 gnt_widget_set_urgent(ggconv->tv); | |
169 } | 170 } |
170 | 171 |
171 static void | 172 static void |
172 gg_write_chat(GaimConversation *conv, const char *who, const char *message, | 173 gg_write_chat(GaimConversation *conv, const char *who, const char *message, |
173 GaimMessageFlags flags, time_t mtime) | 174 GaimMessageFlags flags, time_t mtime) |
259 void gg_conversation_init() | 260 void gg_conversation_init() |
260 { | 261 { |
261 ggconvs = g_hash_table_new_full(g_direct_hash, g_direct_equal, NULL, destroy_ggconv); | 262 ggconvs = g_hash_table_new_full(g_direct_hash, g_direct_equal, NULL, destroy_ggconv); |
262 } | 263 } |
263 | 264 |
265 void gg_conversation_uninit() | |
266 { | |
267 g_hash_table_destroy(ggconvs); | |
268 ggconvs = NULL; | |
269 } | |
270 |