comparison src/away.c @ 1607:4ad4dac68317

[gaim-migrate @ 1617] whoops committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sat, 17 Mar 2001 03:35:55 +0000
parents 5c74d8b6cb57
children 3d3362903e1d
comparison
equal deleted inserted replaced
1606:bb2b3c18b13d 1607:4ad4dac68317
223 #ifdef USE_APPLET 223 #ifdef USE_APPLET
224 remove_applet_away(); 224 remove_applet_away();
225 if (imaway && applet) 225 if (imaway && applet)
226 applet_widget_register_callback(APPLET_WIDGET(applet), 226 applet_widget_register_callback(APPLET_WIDGET(applet),
227 "away", _("Back"), (AppletCallbackFunc)do_im_back, NULL); 227 "away", _("Back"), (AppletCallbackFunc)do_im_back, NULL);
228 else if (imaway) 228 else if (applet && !imaway)
229 insert_applet_away(); 229 insert_applet_away();
230 else
231 return;
232 #endif 230 #endif
233 231
234 if (prefs_away_list != NULL) { 232 if (prefs_away_list != NULL) {
235 gtk_list_clear_items(GTK_LIST(prefs_away_list), 0, -1); 233 gtk_list_clear_items(GTK_LIST(prefs_away_list), 0, -1);
236 while (awy) { 234 while (awy) {