Mercurial > pidgin
diff gtk/gtkblist.h @ 15238:ea246204cf36
[gaim-migrate @ 18028]
Draw a small "close-button" in the buddylist-headline when the cursor is moved
over it. I was drawing the close button all the time first, but showing it only
on hover seemed like a better idea.
Clicking the close-button will close the headline box without triggering the
callback.
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Wed, 20 Dec 2006 09:28:29 +0000 |
parents | a505577b6f4b |
children | b17a907065cc |
line wrap: on
line diff
--- a/gtk/gtkblist.h Wed Dec 20 05:50:49 2006 +0000 +++ b/gtk/gtkblist.h Wed Dec 20 09:28:29 2006 +0000 @@ -103,6 +103,7 @@ GtkWidget *headline_hbox; /**< Hbox for headline notification */ GtkWidget *headline_label; /**< Label for headline notifications */ GtkWidget *headline_image; /**< Image for headline notifications */ + GdkPixbuf *headline_close; /**< Close image for closing the headline without triggering the callback */ GCallback headline_callback; /**< Callback for headline notifications */ gpointer headline_data; /**< User data for headline notifications */ gboolean changing_style; /**< True when changing GTK+ theme style */