diff options
author | Marco Pesenti Gritti <mpg@redhat.com> | 2005-06-30 08:16:45 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@src.gnome.org> | 2005-06-30 08:16:45 (GMT) |
commit | 616f5c97013f1344caa6e899de6cc99664faa5e9 (patch) | |
tree | ad6392193de5ac668d0b73d8c54afe4c46edf44d /shell/ev-application-service.xml | |
parent | 574925f7b2618bb12dd6e8d63fcbc08b97c42126 (diff) |
Add an optional dbus interface (--enable-dbus). Rework application code,
2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-application-service.xml:
* configure.ac:
* shell/Makefile.am:
* shell/ev-application.c:
* shell/ev-application.h:
* shell/ev-window.c:
* shell/ev-window.h:
* shell/main.c:
Add an optional dbus interface (--enable-dbus).
Rework application code, mainly to be easier to
use "remotely".
Do not open multiple windows with the same document,
spatial evince!
Diffstat (limited to 'shell/ev-application-service.xml')
-rw-r--r-- | shell/ev-application-service.xml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/shell/ev-application-service.xml b/shell/ev-application-service.xml new file mode 100644 index 0000000..68a63e2 --- /dev/null +++ b/shell/ev-application-service.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8" ?> + +<node name="/org/gnome/evince/Evince"> + + <interface name="org.gnome.evince.Application"> + <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="ev_application"/> + + <method name="OpenWindow"> + <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="ev_application_open_window"/> + </method> + + <method name="OpenURI"> + <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="ev_application_open_uri"/> + <arg type="s" name="uri" direction="in"/> + <arg type="s" name="page_label" direction="in"/> + </method> + + </interface> + +</node> |