diff options
author | Ryan Lortie <desrt@desrt.ca> | 2005-08-26 02:34:30 (GMT) |
---|---|---|
committer | Ryan Lortie <ryanl@src.gnome.org> | 2005-08-26 02:34:30 (GMT) |
commit | 2eecd9167f17b9b0506675a9dc05dff487779afa (patch) | |
tree | db76828ec740f747cdf6549029a54e3551fe5412 /shell/ev-application-service.xml | |
parent | 37c2570fb37d29b576f70b210e3334cb3d7b04b1 (diff) |
Add 'timestamp' argument to ev_application_open_window and
2005-08-25 Ryan Lortie <desrt@desrt.ca>
* shell/ev-application-service.xml: Add 'timestamp' argument to
ev_application_open_window and ev_application_open_uri methods.
* shell/ev-application.h: Add 'timestamp' argument to
ev_application_open_window, ev_application_open_uri,
and ev_application_open_uri_list functions.
* shell/ev-application.c (ev_application_open_window,
ev_application_open_uri, ev_application_open_uri_list): Change
functions that show/present windows to use a timestamp if one
is passed in.
* shell/ev-window.c (ev_window_cmd_file_open,
ev_window_cmd_recent_file_activate, drag_data_received_cb):
* shell/main.c (load_files): Modify calls to ev_application to
include GDK_CURRENT_TIME as timestamp.
* shell/main.c (load_files_remote): Obtain timestamp for client
instance from GDK and pass to server instance so new windows are
focused properly. Fix dbus_g_proxy_call() calls by including second
G_TYPE_INVALID.
Closes bug #314475.
Diffstat (limited to 'shell/ev-application-service.xml')
-rw-r--r-- | shell/ev-application-service.xml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/ev-application-service.xml b/shell/ev-application-service.xml index 68a63e2..65bd1ec 100644 --- a/shell/ev-application-service.xml +++ b/shell/ev-application-service.xml @@ -7,12 +7,14 @@ <method name="OpenWindow"> <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="ev_application_open_window"/> + <arg type="u" name="timestamp" direction="in"/> </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"/> + <arg type="u" name="timestamp" direction="in"/> </method> </interface> |