/pidgin/main: 33e0bc920834: Fix status box drawing

Jakub Adam <[email protected]>
Newsgroups gmane.comp.gnome.gaim.cvs
Message-ID <[email protected]>
Changeset: 33e0bc920834f4785c8d607a05e5249390c01698
Author:	 Jakub Adam <[email protected]>
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;

_______________________________________________
Commits mailing list
[email protected]
https://pidgin.im/cgi-bin/mailman/listinfo/commits
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.