# HG changeset patch # User Sean Egan # Date 1188340851 0 # Node ID 3b61b5279a56a1e1870401e2599e6c6ca7361f2c # Parent 6b9675447eac128def94840c0329830ca438b2e9 Allow you to click on statusbox again and keep it open. diff -r 6b9675447eac -r 3b61b5279a56 pidgin/gtkstatusbox.c --- a/pidgin/gtkstatusbox.c Mon Aug 27 23:44:11 2007 +0000 +++ b/pidgin/gtkstatusbox.c Tue Aug 28 22:40:51 2007 +0000 @@ -1394,7 +1394,7 @@ return; } gtk_grab_add (box->popup_window); - box->popup_in_progress = TRUE; +// box->popup_in_progress = TRUE; gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (box->toggle_button), TRUE); @@ -1590,14 +1590,15 @@ gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (status_box->toggle_button))) { pidgin_status_box_popdown (status_box); return TRUE; + } else if (ewidget == status_box->toggle_button) { + status_box->popup_in_progress = TRUE; } /* released outside treeview */ - if (ewidget != status_box->toggle_button) - { + if (ewidget != status_box->toggle_button) { pidgin_status_box_popdown (status_box); return TRUE; - } + } return FALSE; }