Mercurial > pidgin.yaz
comparison src/server.c @ 6071:adb43b7342ca
[gaim-migrate @ 6521]
We really shouldn't need this UI call in here anymore. This should all be
handled by connection.c, in a core way.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Wed, 09 Jul 2003 09:17:12 +0000 |
parents | 2cd7c409d71d |
children | 97835d03f0bb |
comparison
equal
deleted
inserted
replaced
6070:8469f83b6cae | 6071:adb43b7342ca |
---|---|
33 #include "util.h" | 33 #include "util.h" |
34 | 34 |
35 /* XXX UI Stuff */ | 35 /* XXX UI Stuff */ |
36 #include "gaim.h" | 36 #include "gaim.h" |
37 #include "gtkimhtml.h" | 37 #include "gtkimhtml.h" |
38 #include "gtkconv.h" | |
39 #include "gtkutils.h" | 38 #include "gtkutils.h" |
40 #include "ui.h" | 39 #include "ui.h" |
41 | 40 |
42 void serv_login(GaimAccount *account) | 41 void serv_login(GaimAccount *account) |
43 { | 42 { |
100 | 99 |
101 while (gc->buddy_chats) { | 100 while (gc->buddy_chats) { |
102 GaimConversation *b = gc->buddy_chats->data; | 101 GaimConversation *b = gc->buddy_chats->data; |
103 | 102 |
104 gc->buddy_chats = g_slist_remove(gc->buddy_chats, b); | 103 gc->buddy_chats = g_slist_remove(gc->buddy_chats, b); |
105 | |
106 /* TODO: Nuke the UI-specific code here. */ | |
107 if (GAIM_IS_GTK_CONVERSATION(b)) | |
108 gaim_gtkconv_update_buttons_by_protocol(b); | |
109 } | 104 } |
110 | 105 |
111 if (gc->idle_timer > 0) | 106 if (gc->idle_timer > 0) |
112 g_source_remove(gc->idle_timer); | 107 g_source_remove(gc->idle_timer); |
113 gc->idle_timer = 0; | 108 gc->idle_timer = 0; |