Mercurial > pidgin
changeset 19482:3b61b5279a56
Allow you to click on statusbox again and keep it open.
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Tue, 28 Aug 2007 22:40:51 +0000 |
parents | 6b9675447eac |
children | b66909a58e5f |
files | pidgin/gtkstatusbox.c |
diffstat | 1 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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; }