diff options
author | Simon Steinbeiss <simon.steinbeiss@elfenbeinturm.at> | 2017-11-19 23:17:55 +0100 |
---|---|---|
committer | Simon Steinbeiss <simon.steinbeiss@elfenbeinturm.at> | 2017-11-19 23:25:34 +0100 |
commit | d58b735197121bd27b3b016148f56c89ee862ec3 (patch) | |
tree | bd709eaa26c1fc5c7413a63df04eb5723ba77c74 /panel-plugins/power-manager-plugin | |
parent | 560a960e663e43f319e703fb9c8e394829066a42 (diff) | |
download | ixfce4-power-manager-d58b735197121bd27b3b016148f56c89ee862ec3.tar.gz |
panel-plugin: Block panel autohide if the menu is open
Diffstat (limited to 'panel-plugins/power-manager-plugin')
-rw-r--r-- | panel-plugins/power-manager-plugin/power-manager-button.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/panel-plugins/power-manager-plugin/power-manager-button.c b/panel-plugins/power-manager-plugin/power-manager-button.c index 2075aa3d..e6e41615 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 } |