[Xfce4-commits] [xfce/xfce4-power-manager] 02/03: panel-plugin: Block panel autohide if the menu is open

noreply at xfce.org noreply at xfce.org
Sun Nov 19 23:26:03 CET 2017


This is an automated email from the git hooks/post-receive script.

o   c   h   o   s   i       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository xfce/xfce4-power-manager.

commit d58b735197121bd27b3b016148f56c89ee862ec3
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date:   Sun Nov 19 23:17:55 2017 +0100

    panel-plugin: Block panel autohide if the menu is open
---
 panel-plugins/power-manager-plugin/power-manager-button.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/panel-plugins/power-manager-plugin/power-manager-button.c b/panel-plugins/power-manager-plugin/power-manager-button.c
index 2075aa3..e6e4161 100644
--- a/panel-plugins/power-manager-plugin/power-manager-button.c
+++ b/panel-plugins/power-manager-plugin/power-manager-button.c
@@ -1695,4 +1695,9 @@ G_GNUC_END_IGNORE_DEPRECATIONS
                     0,
                     gtk_get_current_event_time ());
 #endif
+
+#ifdef XFCE_PLUGIN
+    xfce_panel_plugin_register_menu (button->priv->plugin,
+                                     GTK_MENU (menu));
+#endif
 }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list