summaryrefslogtreecommitdiff
path: root/mate-panel/launcher.h
diff options
context:
space:
mode:
authorDenis Gorodnichev <[email protected]>2017-01-02 23:29:52 +0300
committerlukefromdc <[email protected]>2017-01-13 19:12:06 -0500
commit7ee450758e4f2bee13aa8ff967a5795a6dcdc91f (patch)
tree9352174371cbb4c5af49342f4797e4a8514a751c /mate-panel/launcher.h
parenta27e6eaffa7e3bf72381b63dc9cfecc06125fce2 (diff)
downloadmate-panel-7ee450758e4f2bee13aa8ff967a5795a6dcdc91f.tar.bz2
mate-panel-7ee450758e4f2bee13aa8ff967a5795a6dcdc91f.tar.xz
support desktop actions
Diffstat (limited to 'mate-panel/launcher.h')
-rw-r--r--mate-panel/launcher.h9
1 files changed, 5 insertions, 4 deletions
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 <gio/gdesktopappinfo.h>
+
#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);