comparison src/applet.c @ 3063:22c84cbcd5a6

[gaim-migrate @ 3077] A buddy window placement fix by Marc Deslauriers and a compile fix from Benjamin Miller. Thanks guys. Also, an irc fix. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Sat, 16 Mar 2002 20:14:24 +0000
parents 32c78c57b351
children 01279615a5fe
comparison
equal deleted inserted replaced
3062:7fedd5d56b66 3063:22c84cbcd5a6
392 } 392 }
393 393
394 void createOnlinePopup() 394 void createOnlinePopup()
395 { 395 {
396 GtkAllocation *al; 396 GtkAllocation *al;
397 if (blist) 397 if (!blist)
398 gtk_widget_show(blist); 398 return;
399 al = get_applet_pos(TRUE); 399 al = get_applet_pos(TRUE);
400 if (blist_options & OPT_BLIST_NEAR_APPLET) 400 if (blist_options & OPT_BLIST_NEAR_APPLET)
401 gtk_widget_set_uposition(blist, al->x, al->y); 401 gtk_widget_set_uposition(blist, al->x, al->y);
402 else if (blist_options & OPT_BLIST_SAVED_WINDOWS) 402 else if (blist_options & OPT_BLIST_SAVED_WINDOWS)
403 gtk_widget_set_uposition(blist, blist_pos.x - blist_pos.xoff, 403 gtk_widget_set_uposition(blist, blist_pos.x - blist_pos.xoff,
404 blist_pos.y - blist_pos.yoff); 404 blist_pos.y - blist_pos.yoff);
405 gtk_widget_show(blist);
405 g_free(al); 406 g_free(al);
406 } 407 }
407 408
408 void AppletClicked(GtkWidget *sender, GdkEventButton *ev, gpointer data) 409 void AppletClicked(GtkWidget *sender, GdkEventButton *ev, gpointer data)
409 { 410 {