summaryrefslogtreecommitdiff
path: root/mate-panel/libpanel-util/panel-launch.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/libpanel-util/panel-launch.h
parenta27e6eaffa7e3bf72381b63dc9cfecc06125fce2 (diff)
downloadmate-panel-7ee450758e4f2bee13aa8ff967a5795a6dcdc91f.tar.bz2
mate-panel-7ee450758e4f2bee13aa8ff967a5795a6dcdc91f.tar.xz
support desktop actions
Diffstat (limited to 'mate-panel/libpanel-util/panel-launch.h')
-rw-r--r--mate-panel/libpanel-util/panel-launch.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/mate-panel/libpanel-util/panel-launch.h b/mate-panel/libpanel-util/panel-launch.h
index 1e4033b1..b98b8ca4 100644
--- a/mate-panel/libpanel-util/panel-launch.h
+++ b/mate-panel/libpanel-util/panel-launch.h
@@ -25,28 +25,30 @@
#ifndef PANEL_LAUNCH_H
#define PANEL_LAUNCH_H
-#include <gio/gio.h>
+#include <gio/gdesktopappinfo.h>
#include <gdk/gdk.h>
#ifdef __cplusplus
extern "C" {
#endif
-gboolean panel_app_info_launch_uris (GAppInfo *appinfo,
+gboolean panel_app_info_launch_uris (GDesktopAppInfo *appinfo,
GList *uris,
GdkScreen *screen,
+ const gchar *action,
guint32 timestamp,
GError **error);
-gboolean panel_app_info_launch_uri (GAppInfo *appinfo,
+gboolean panel_app_info_launch_uri (GDesktopAppInfo *appinfo,
const gchar *uri,
GdkScreen *screen,
guint32 timestamp,
GError **error);
-gboolean panel_launch_key_file (GKeyFile *keyfile,
+gboolean panel_app_info_launch (GDesktopAppInfo *appinfo,
GList *uri_list,
GdkScreen *screen,
+ const gchar *action,
GError **error);
gboolean panel_launch_desktop_file (const char *desktop_file,