[gnome-flashback] desktop: add freedesktop FileManager1 D-Bus interface
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-flashback] desktop: add freedesktop FileManager1 D-Bus interface
- Date: Tue, 12 Nov 2019 20:54:53 +0000 (UTC)
commit 4109f15bc94680ae2cdbf3c6ee2328ac702bac41
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Tue Nov 12 22:07:03 2019 +0200
desktop: add freedesktop FileManager1 D-Bus interface
gnome-flashback/libdesktop/Makefile.am | 9 +++++++++
.../libdesktop/org.freedesktop.FileManager1.xml | 23 ++++++++++++++++++++++
2 files changed, 32 insertions(+)
---
diff --git a/gnome-flashback/libdesktop/Makefile.am b/gnome-flashback/libdesktop/Makefile.am
index 0af6104..cfc0215 100644
--- a/gnome-flashback/libdesktop/Makefile.am
+++ b/gnome-flashback/libdesktop/Makefile.am
@@ -56,6 +56,12 @@ gf-desktop-enum-types.h: gf-desktop-enum-types.h.in $(ENUM_TYPES)
$(AM_V_GEN) $(GLIB_MKENUMS) --template $(srcdir)/gf-desktop-enum-types.h.in $(ENUM_TYPES) > \
gf-desktop-enum-types.h.tmp && mv gf-desktop-enum-types.h.tmp gf-desktop-enum-types.h
+gf-file-manager-gen.h:
+gf-file-manager-gen.c: org.freedesktop.FileManager1.xml
+ $(AM_V_GEN) $(GDBUS_CODEGEN) --c-namespace Gf \
+ --generate-c-code gf-file-manager-gen \
+ $(srcdir)/org.freedesktop.FileManager1.xml
+
gf-nautilus-gen.h:
gf-nautilus-gen.c: org.gnome.Nautilus.FileOperations.xml
$(AM_V_GEN) $(GDBUS_CODEGEN) --c-namespace Gf \
@@ -65,6 +71,8 @@ gf-nautilus-gen.c: org.gnome.Nautilus.FileOperations.xml
BUILT_SOURCES = \
gf-desktop-enum-types.c \
gf-desktop-enum-types.h \
+ gf-file-manager-gen.c \
+ gf-file-manager-gen.h \
gf-nautilus-gen.c \
gf-nautilus-gen.h \
$(NULL)
@@ -72,6 +80,7 @@ BUILT_SOURCES = \
EXTRA_DIST = \
gf-desktop-enum-types.c.in \
gf-desktop-enum-types.h.in \
+ org.freedesktop.FileManager1.xml \
org.gnome.Nautilus.FileOperations.xml \
$(NULL)
diff --git a/gnome-flashback/libdesktop/org.freedesktop.FileManager1.xml
b/gnome-flashback/libdesktop/org.freedesktop.FileManager1.xml
new file mode 100644
index 0000000..0d3b8ae
--- /dev/null
+++ b/gnome-flashback/libdesktop/org.freedesktop.FileManager1.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
+"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
+<node>
+ <interface name="org.freedesktop.FileManager1">
+ <annotation name="org.gtk.GDBus.C.Name" value="FileManagerGen" />
+
+ <method name="ShowFolders">
+ <arg type="as" name="URIs" direction="in" />
+ <arg type="s" name="StartupId" direction="in" />
+ </method>
+
+ <method name="ShowItems">
+ <arg type="as" name="URIs" direction="in" />
+ <arg type="s" name="StartupId" direction="in" />
+ </method>
+
+ <method name="ShowItemProperties">
+ <arg type="as" name="URIs" direction="in" />
+ <arg type="s" name="StartupId" direction="in" />
+ </method>
+ </interface>
+</node>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]