[latexila] Fix bug with synctex
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [latexila] Fix bug with synctex
- Date: Sat, 27 Dec 2014 20:15:32 +0000 (UTC)
commit 5bdd40c97a1edb07b1ff3d9d67d049885dc50763
Author: Sébastien Wilmet <swilmet gnome org>
Date: Sat Dec 27 21:11:46 2014 +0100
Fix bug with synctex
When opening a PDF file with a build tool, the evince window was not
connected with synctex, so doing initially Ctrl+click from the PDF to
the .tex file didn't work.
src/liblatexila/latexila-build-tool.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/src/liblatexila/latexila-build-tool.c b/src/liblatexila/latexila-build-tool.c
index 9de082b..6da8ca4 100644
--- a/src/liblatexila/latexila-build-tool.c
+++ b/src/liblatexila/latexila-build-tool.c
@@ -558,10 +558,9 @@ query_exists_cb (GFile *file,
/* Show URI */
- gtk_show_uri (gtk_widget_get_screen (GTK_WIDGET (data->build_view)),
- uri,
- GDK_CURRENT_TIME,
- &error);
+ latexila_utils_show_uri (gtk_widget_get_screen (GTK_WIDGET (data->build_view)),
+ uri,
+ &error);
if (error != NULL)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]