X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=shell%2Fev-window.c;h=32616818f3bdb3f6227822352029cccb5db65b8a;hb=e769474337c9a6ffdaed2327056e8de2f7ca9ee4;hp=e70e7eee84805ce23a020563fa84a7c9b4f265de;hpb=8c225e626012b51f44a33af4be67755d9be47be0;p=evince.git
diff --git a/shell/ev-window.c b/shell/ev-window.c
index e70e7eee..32616818 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -6595,6 +6595,7 @@ ev_window_sync_source (EvWindow *window,
{
GDBusConnection *connection;
GError *error = NULL;
+ guint32 timestamp;
if (window->priv->dbus_object_id <= 0)
return;
@@ -6603,15 +6604,17 @@ ev_window_sync_source (EvWindow *window,
if (!connection)
return;
+ timestamp = gtk_get_current_event_time ();
g_dbus_connection_emit_signal (connection,
NULL,
window->priv->dbus_object_path,
EV_WINDOW_DBUS_INTERFACE,
"SyncSource",
- g_variant_new ("(s(ii))",
+ g_variant_new ("(s(ii)u)",
link->filename,
link->line,
- link->col),
+ link->col,
+ timestamp),
&error);
if (error) {
g_printerr ("Failed to emit DBus signal SyncSource: %s\n",
@@ -6722,6 +6725,7 @@ static const char introspection_xml[] =
""
""
""
+ ""
""
""
""
@@ -6887,7 +6891,7 @@ ev_window_init (EvWindow *ev_window)
gtk_widget_show (ev_window->priv->toolbar);
/* Add the main area */
- ev_window->priv->hpaned = gtk_hpaned_new ();
+ ev_window->priv->hpaned = gtk_paned_new (GTK_ORIENTATION_HORIZONTAL);
g_signal_connect (ev_window->priv->hpaned,
"notify::position",
G_CALLBACK (ev_window_sidebar_position_change_cb),