[Xfce4-commits] [apps/xfce4-notifyd] 07/24: panel-plugin: Fix gravity issues of the plugin menu

noreply at xfce.org noreply at xfce.org
Fri Sep 8 23:27:38 CEST 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 apps/xfce4-notifyd.

commit 3e086b625b62eae32a5851605c5e2b33d3a0e866
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date:   Tue Aug 22 01:15:17 2017 +0200

    panel-plugin: Fix gravity issues of the plugin menu
---
 panel-plugin/notification-plugin-log.c | 2 +-
 panel-plugin/notification-plugin.c     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/panel-plugin/notification-plugin-log.c b/panel-plugin/notification-plugin-log.c
index 0b89086..12ad97d 100644
--- a/panel-plugin/notification-plugin-log.c
+++ b/panel-plugin/notification-plugin-log.c
@@ -152,7 +152,7 @@ G_GNUC_END_IGNORE_DEPRECATIONS
       g_free (tmp);
       gtk_image_set_pixel_size (GTK_IMAGE (app_icon), 16);
 G_GNUC_BEGIN_IGNORE_DEPRECATIONS
-      gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM(mi), app_icon);
+      gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (mi), app_icon);
 G_GNUC_END_IGNORE_DEPRECATIONS
 
       tmp = g_key_file_get_string (notify_log, group, "expire-timeout", NULL);
diff --git a/panel-plugin/notification-plugin.c b/panel-plugin/notification-plugin.c
index be7f85f..8f83e81 100644
--- a/panel-plugin/notification-plugin.c
+++ b/panel-plugin/notification-plugin.c
@@ -171,7 +171,7 @@ notification_plugin_popup_menu (NotificationPlugin *notification_plugin)
 {
   gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (notification_plugin->button), TRUE);
   gtk_menu_popup_at_widget (GTK_MENU (notification_plugin->menu), notification_plugin->button,
-                            GDK_GRAVITY_NORTH_WEST, GDK_GRAVITY_NORTH_WEST, NULL);
+                            GDK_GRAVITY_SOUTH_WEST, GDK_GRAVITY_NORTH_WEST, NULL);
   xfce_panel_plugin_register_menu (notification_plugin->plugin,
                                    GTK_MENU (notification_plugin->menu));
 }

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


More information about the Xfce4-commits mailing list