From 7ee450758e4f2bee13aa8ff967a5795a6dcdc91f Mon Sep 17 00:00:00 2001 From: Denis Gorodnichev Date: Mon, 2 Jan 2017 23:29:52 +0300 Subject: support desktop actions --- mate-panel/launcher.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'mate-panel/launcher.h') diff --git a/mate-panel/launcher.h b/mate-panel/launcher.h index 28cfd117..784fe876 100644 --- a/mate-panel/launcher.h +++ b/mate-panel/launcher.h @@ -14,6 +14,8 @@ #include "applet.h" #include "panel-widget.h" +#include + #ifdef __cplusplus extern "C" { #endif @@ -22,8 +24,7 @@ typedef struct { AppletInfo *info; GtkWidget *button; - char *location; - GKeyFile *key_file; + GDesktopAppInfo *app_info; GtkWidget *prop_dialog; GSList *error_dialogs; @@ -48,8 +49,8 @@ void panel_launcher_create_from_info (PanelToplevel *toplevel, const char *comment, const char *icon); -void launcher_launch (Launcher *launcher, - GtkWidget *widget); +void launcher_launch (Launcher *launcher, + const gchar *action); void launcher_properties (Launcher *launcher); -- cgit v1.2.1