Mercurial > pidgin.yaz
comparison src/toc.c @ 966:f7886476f9d9
[gaim-migrate @ 976]
yay, the applet works again (mostly)
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Tue, 10 Oct 2000 10:35:05 +0000 |
parents | 2cd7b73e2c9a |
children | 9eb07b383df4 |
comparison
equal
deleted
inserted
replaced
965:50f2977537d8 | 966:f7886476f9d9 |
---|---|
37 #include <sys/socket.h> | 37 #include <sys/socket.h> |
38 #include "multi.h" | 38 #include "multi.h" |
39 #include "gaim.h" | 39 #include "gaim.h" |
40 #include "gnome_applet_mgr.h" | 40 #include "gnome_applet_mgr.h" |
41 | 41 |
42 #define REVISION "gaim:$Revision: 974 $" | 42 #define REVISION "gaim:$Revision: 976 $" |
43 | 43 |
44 | 44 |
45 static unsigned int peer_ver=0; | 45 static unsigned int peer_ver=0; |
46 #ifdef _WIN32 | 46 #ifdef _WIN32 |
47 static int win32_r; | 47 static int win32_r; |
132 g_snprintf(buf, sizeof(buf), "Retrieving config..."); | 132 g_snprintf(buf, sizeof(buf), "Retrieving config..."); |
133 set_login_progress(5, buf); | 133 set_login_progress(5, buf); |
134 config = toc_wait_config(gc); | 134 config = toc_wait_config(gc); |
135 gc->state = STATE_ONLINE; | 135 gc->state = STATE_ONLINE; |
136 | 136 |
137 gtk_widget_hide(mainwindow); | 137 if (mainwindow) |
138 gtk_widget_hide(mainwindow); | |
138 show_buddy_list(); | 139 show_buddy_list(); |
139 #ifdef USE_APPLET | 140 #ifdef USE_APPLET |
140 if (general_options & OPT_GEN_APP_BUDDY_SHOW) { | 141 if (general_options & OPT_GEN_APP_BUDDY_SHOW) { |
141 refresh_buddy_window(); | 142 refresh_buddy_window(); |
142 createOnlinePopup(); | 143 createOnlinePopup(); |