summaryrefslogtreecommitdiff
path: root/mate-panel/launcher.h
diff options
context:
space:
mode:
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);