Mercurial > pidgin
comparison 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 |
comparison
equal
deleted
inserted
replaced
15237:658f815e2b58 | 15238:ea246204cf36 |
---|---|
101 | 101 |
102 GtkWidget *scrollbook; /**< Scrollbook for alerts */ | 102 GtkWidget *scrollbook; /**< Scrollbook for alerts */ |
103 GtkWidget *headline_hbox; /**< Hbox for headline notification */ | 103 GtkWidget *headline_hbox; /**< Hbox for headline notification */ |
104 GtkWidget *headline_label; /**< Label for headline notifications */ | 104 GtkWidget *headline_label; /**< Label for headline notifications */ |
105 GtkWidget *headline_image; /**< Image for headline notifications */ | 105 GtkWidget *headline_image; /**< Image for headline notifications */ |
106 GdkPixbuf *headline_close; /**< Close image for closing the headline without triggering the callback */ | |
106 GCallback headline_callback; /**< Callback for headline notifications */ | 107 GCallback headline_callback; /**< Callback for headline notifications */ |
107 gpointer headline_data; /**< User data for headline notifications */ | 108 gpointer headline_data; /**< User data for headline notifications */ |
108 gboolean changing_style; /**< True when changing GTK+ theme style */ | 109 gboolean changing_style; /**< True when changing GTK+ theme style */ |
109 | 110 |
110 GtkWidget *error_buttons; /**< Box containing the connection error buttons */ | 111 GtkWidget *error_buttons; /**< Box containing the connection error buttons */ |