im.pidgin.pidgin: 37e81a57e46d4d1e09aa69c447b5146a9cf81455
charkins at pidgin.im
charkins at pidgin.im
Sun Oct 28 14:00:44 EDT 2007
-----------------------------------------------------------------
Revision: 37e81a57e46d4d1e09aa69c447b5146a9cf81455
Ancestor: 022ff8d97a85c1c5ea7b66f7d6ce6c607fd12a32
Author: charkins at pidgin.im
Date: 2007-10-28T17:53:14
Branch: im.pidgin.pidgin
Modified files:
pidgin/gtkblist.c
ChangeLog:
Consider buddy list obscured if it is partially obscured in addition to
fully obscured. This will cause a partially obscured buddy list to get
raised when clicking on the docklet rather than hiding it. Fixes #2740.
-------------- next part --------------
============================================================
--- pidgin/gtkblist.c 65d6197141137da5511548fd6623258ed53a4aa0
+++ pidgin/gtkblist.c 658d620e3ebaf6dba98ee2aa0b8987af5d2c9c61
@@ -174,9 +174,12 @@ static gboolean gtk_blist_visibility_cb(
***************************************************/
static gboolean gtk_blist_visibility_cb(GtkWidget *w, GdkEventVisibility *event, gpointer data)
{
- if (event->state == GDK_VISIBILITY_FULLY_OBSCURED)
+ if (event->state == GDK_VISIBILITY_FULLY_OBSCURED ||
+ event->state == GDK_VISIBILITY_PARTIAL) {
+
gtk_blist_obscured = TRUE;
- else if (gtk_blist_obscured) {
+
+ } else if (gtk_blist_obscured) {
gtk_blist_obscured = FALSE;
pidgin_blist_refresh_timer(purple_get_blist());
}
More information about the Commits
mailing list