src/gnome_applet_mgr.c

changeset 941
da5dc4cfa8cc
parent 940
b3985f53a6c0
child 966
57ba1b059564
equal deleted inserted replaced
940:b3985f53a6c0 941:da5dc4cfa8cc
316 316
317 if(applet_buddy_show) { 317 if(applet_buddy_show) {
318 applet_buddy_show = FALSE; 318 applet_buddy_show = FALSE;
319 switch( MRI_user_status ){ 319 switch( MRI_user_status ){
320 case offline: 320 case offline:
321 gtk_widget_hide(mainwindow); 321 if (mainwindow)
322 gtk_widget_hide(mainwindow);
322 break; 323 break;
323 case online: 324 case online:
324 case away: 325 case away:
325 applet_destroy_buddy(0, 0, 0); 326 applet_destroy_buddy(0, 0, 0);
326 break; 327 break;

mercurial