[Xfce4-commits] [apps/xfdashboard] 01/02: Quit (or suspend) application when an application action in pop-up menu was selected.

noreply at xfce.org noreply at xfce.org
Tue Oct 24 18:30:35 CEST 2017


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

n   o   m   a   d       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/xfdashboard.

commit bc6cee87160f546ea8281d9f342414c61753d599
Author: Stephan Haller <nomad at froevel.de>
Date:   Tue Oct 24 17:53:48 2017 +0200

    Quit (or suspend) application when an application action in pop-up menu was selected.
    
    This commit addresses issue GH #158
---
 libxfdashboard/quicklaunch.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/libxfdashboard/quicklaunch.c b/libxfdashboard/quicklaunch.c
index f334168..1e34075 100644
--- a/libxfdashboard/quicklaunch.c
+++ b/libxfdashboard/quicklaunch.c
@@ -711,6 +711,9 @@ static void _xfdashboard_quicklaunch_on_favourite_popup_menu_item_application_ac
 								xfdashboard_desktop_app_info_action_get_name(appAction),
 								g_app_info_get_display_name(G_APP_INFO(appInfo)));
 
+			/* Quit application */
+			xfdashboard_application_suspend_or_quit(NULL);
+
 			/* Release allocated resources */
 			g_object_unref(gicon);
 		}

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


More information about the Xfce4-commits mailing list