[gnome-panel/wip/packed-objects: 14/17] panel: Fix display corruption in objects after moving them
- From: Vincent Untz <vuntz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-panel/wip/packed-objects: 14/17] panel: Fix display corruption in objects after moving them
- Date: Thu, 31 Mar 2011 07:00:34 +0000 (UTC)
commit 7de0eee3b536e22e616e9fddb54e8c4a19160b1b
Author: Vincent Untz <vuntz gnome org>
Date: Thu Mar 31 10:11:56 2011 +0530
panel: Fix display corruption in objects after moving them
We have to queue a draw for the object to make sure it will be correctly
displayed.
gnome-panel/panel-widget.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gnome-panel/panel-widget.c b/gnome-panel/panel-widget.c
index add14dc..c17869c 100644
--- a/gnome-panel/panel-widget.c
+++ b/gnome-panel/panel-widget.c
@@ -107,6 +107,10 @@ static void
emit_applet_moved (PanelWidget *panel_widget,
AppletData *applet)
{
+ /* we always want to queue a draw after moving, so do it here instead
+ * of after the signal emission in all callers */
+ gtk_widget_queue_draw (applet->applet);
+
g_signal_emit (panel_widget,
panel_widget_signals [APPLET_MOVE_SIGNAL], 0,
applet->applet);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]