[Xfce4-commits] [apps/xfce4-notifyd] 01/01: Fix panel plugin menu position

noreply at xfce.org noreply at xfce.org
Mon Dec 3 00:07:39 CET 2018


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 apps/xfce4-notifyd.

commit 6295b4c6f2e368f05c46c5350af821f0b7f6ba08
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date:   Mon Dec 3 00:07:14 2018 +0100

    Fix panel plugin menu position
    
    Follow the core panel plugins:
    https://git.xfce.org/xfce/xfce4-panel/commit/?id=0dba5bc9cfd35fe35e9d7acb5791b08b8e38cece
---
 panel-plugin/notification-plugin.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/panel-plugin/notification-plugin.c b/panel-plugin/notification-plugin.c
index d2b85fb..bb62587 100644
--- a/panel-plugin/notification-plugin.c
+++ b/panel-plugin/notification-plugin.c
@@ -70,9 +70,8 @@ notification_plugin_popup_menu (NotificationPlugin *notification_plugin)
   gtk_menu_popup_at_widget (GTK_MENU (notification_plugin->menu),
                             notification_plugin->button,
                             xfce_panel_plugin_get_orientation (notification_plugin->plugin) == GTK_ORIENTATION_VERTICAL
-                            ? GDK_GRAVITY_WEST : GDK_GRAVITY_NORTH,
-                            xfce_panel_plugin_get_orientation (notification_plugin->plugin) == GTK_ORIENTATION_VERTICAL
-                            ? GDK_GRAVITY_EAST : GDK_GRAVITY_SOUTH,
+                            ? GDK_GRAVITY_NORTH_EAST : GDK_GRAVITY_SOUTH_WEST,
+                            GDK_GRAVITY_NORTH_WEST,
                             NULL);
 #else
   gtk_menu_popup (GTK_MENU (notification_plugin->menu), NULL, NULL,

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


More information about the Xfce4-commits mailing list