/pidgin/main: 33e0bc920834: Fix status box drawing
Jakub Adam
jakub.adam at ktknet.cz
Thu Apr 7 13:33:39 EDT 2016
Changeset: 33e0bc920834f4785c8d607a05e5249390c01698
Author: Jakub Adam <jakub.adam at ktknet.cz>
Date: 2015-09-09 12:41 +0200
Branch: default
URL: https://hg.pidgin.im/pidgin/main/rev/33e0bc920834
Description:
Fix status box drawing
PidginStatusBox didn't propagate draw events to the icon box and status
message webview, so the widgets were permanently invisible, though
reacting on user input.
diffstat:
pidgin/gtkstatusbox.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diffs (13 lines):
diff --git a/pidgin/gtkstatusbox.c b/pidgin/gtkstatusbox.c
--- a/pidgin/gtkstatusbox.c
+++ b/pidgin/gtkstatusbox.c
@@ -1992,6 +1992,9 @@ pidgin_status_box_draw(GtkWidget *widget
PidginStatusBox *status_box = PIDGIN_STATUS_BOX(widget);
gtk_widget_draw(status_box->toggle_button, cr);
+ gtk_container_propagate_draw(GTK_CONTAINER(widget), status_box->icon_box, cr);
+ gtk_container_propagate_draw(GTK_CONTAINER(widget), status_box->vbox, cr);
+
if (status_box->icon_box && status_box->icon_opaque) {
GtkAllocation allocation;
GtkStyleContext *context;
More information about the Commits
mailing list