[Xfce4-commits] <ristretto:stephan/icon-bar> Set cursor-item to NULL when the orientation-changes
Stephan Arts
noreply at xfce.org
Sat Feb 4 12:32:07 CET 2012
Updating branch refs/heads/stephan/icon-bar
to 1127e89f339a2e5722c97b85a7084574b400c1a8 (commit)
from 5cafffaab3f0bc3dfb2879ff7f2aa72bd14998e1 (commit)
commit 1127e89f339a2e5722c97b85a7084574b400c1a8
Author: Stephan Arts <stephan at xfce.org>
Date: Sat Feb 4 11:58:29 2012 +0100
Set cursor-item to NULL when the orientation-changes
src/icon_bar.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/icon_bar.c b/src/icon_bar.c
index 7bb2f3f..341f4b8 100644
--- a/src/icon_bar.c
+++ b/src/icon_bar.c
@@ -2061,6 +2061,9 @@ rstto_icon_bar_set_orientation (
if (icon_bar->priv->orientation != orientation)
{
+ /* Unset the cursor-item */
+ icon_bar->priv->cursor_item = NULL;
+
icon_bar->priv->orientation = orientation;
gtk_widget_queue_resize (GTK_WIDGET (icon_bar));
More information about the Xfce4-commits
mailing list