Hello community,

here is the log from the commit of package xfce4-panel for openSUSE:Factory 
checked in at 2013-10-03 07:27:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xfce4-panel (Old)
 and      /work/SRC/openSUSE:Factory/.xfce4-panel.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xfce4-panel"

Changes:
--------
--- /work/SRC/openSUSE:Factory/xfce4-panel/xfce4-panel.changes  2013-05-06 
10:15:37.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.xfce4-panel.new/xfce4-panel.changes     
2013-10-03 07:27:28.000000000 +0200
@@ -1,0 +2,7 @@
+Wed Oct  2 18:31:58 UTC 2013 - [email protected]
+
+- add xfce4-panel-fix-actions-autohide.patch in order to fix
+  autohiding after using the actions plugin menu (bnc#764310,
+  bxo#8960)
+
+-------------------------------------------------------------------

New:
----
  xfce4-panel-fix-actions-autohide.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ xfce4-panel.spec ++++++
--- /var/tmp/diff_new_pack.mDw1Rc/_old  2013-10-03 07:27:29.000000000 +0200
+++ /var/tmp/diff_new_pack.mDw1Rc/_new  2013-10-03 07:27:29.000000000 +0200
@@ -31,6 +31,8 @@
 Patch0:         xfce4-panel-fix-icon-name.patch
 # PATCH-FEATURE-UPSTREAM xfce4-panel-add-calendar-popup.patch bnc#767145 
bxo#9034 [email protected] -- Add calendar popup to clock plugin (backported 
from upstream git)
 Patch1:         xfce4-panel-add-calendar-popup.patch
+# PATCH-FIX-UPSTREAM xfce4-panel-fix-actions-autohide.patch bnc#764310 
bxo#8960 [email protected] -- Fix autohiding after using the actions plugin menu
+Patch2:         xfce4-panel-fix-actions-autohide.patch
 BuildRequires:  ed
 BuildRequires:  intltool
 BuildRequires:  perl
@@ -101,6 +103,7 @@
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 # fix up missing icon
 ed -s plugins/clock/clock.desktop.in 2>/dev/null <<'EOF'
 ,s/^Icon=office-calendar/Icon=application-x-executable/

++++++ xfce4-panel-fix-actions-autohide.patch ++++++
>From 2b03d8ed2f33e125d08908ff6122db542fba773f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20Gajd=C5=AF=C5=A1ek?= <[email protected]>
Date: Sun, 14 Oct 2012 07:49:28 +0200
Subject: [PATCH] Actions: Fix panel autohide broken by the actions menu (bug
 #8960)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Check the button toggle status in actions_plugin_menu() and avoid to popup
the menu if the button is not pressed.

Signed-off-by: Petr Gajdůšek <[email protected]>
---
 plugins/actions/actions.c |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/plugins/actions/actions.c b/plugins/actions/actions.c
index 53ff8d0..7e24806 100644
--- a/plugins/actions/actions.c
+++ b/plugins/actions/actions.c
@@ -1248,6 +1248,11 @@ actions_plugin_menu (GtkWidget     *button,
 
   panel_return_if_fail (XFCE_IS_ACTIONS_PLUGIN (plugin));
 
+  // do not popup the menu if the button is being toggled off
+  if (button != NULL
+      && !gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON (button)))
+    return;
+
   if (plugin->menu == NULL)
     {
       plugin->menu = gtk_menu_new ();
-- 
1.7.10.4

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to