[Xfce4-commits] [panel-plugins/xfce4-mount-plugin] 01/02: fix bug 9399 to place the menu non-overlapping over the panel
noreply at xfce.org
noreply at xfce.org
Fri Apr 25 02:36:19 CEST 2014
This is an automated email from the git hooks/post-receive script.
timystery pushed a commit to branch master
in repository panel-plugins/xfce4-mount-plugin.
commit 7e23745578f0464ab26771d8cf46492cbdf539c6
Author: Fabian <timystery at arcor.de>
Date: Fri Apr 25 01:22:35 2014 +0200
fix bug 9399 to place the menu non-overlapping over the panel
---
panel-plugin/mount-plugin.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/panel-plugin/mount-plugin.c b/panel-plugin/mount-plugin.c
index aa56d47..df32a50 100644
--- a/panel-plugin/mount-plugin.c
+++ b/panel-plugin/mount-plugin.c
@@ -351,8 +351,9 @@ on_button_press (GtkWidget *widget, GdkEventButton *event, t_mounter *mounter)
{
mounter_refresh (mounter); /* refreshs infos regarding mounts data */
- gtk_menu_popup (GTK_MENU(mounter->menu), NULL, NULL, NULL, NULL, 0,
- event->time);
+ gtk_menu_popup (GTK_MENU(mounter->menu), NULL, NULL,
+ xfce_panel_plugin_position_menu, mounter->plugin,
+ 0, event->time);
return TRUE;
}
TRACE ("leaves on_button_press");
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list