From b9be9e58d52f0db28486647728cd01c4f59adc1e Mon Sep 17 00:00:00 2001 From: Jean-Francois Dockes Date: Sat, 14 May 2011 09:56:58 +0200 Subject: [PATCH] GUI: clicking an open link or menu entry inside the result table would start the external application 3 times. Closes issue #59 --- src/filters/rclinfo | 4 ++++ src/qtgui/rclmain_w.cpp | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/filters/rclinfo b/src/filters/rclinfo index 05d99c21..1ccc2a72 100755 --- a/src/filters/rclinfo +++ b/src/filters/rclinfo @@ -12,6 +12,10 @@ import subprocess # Prototype for the html document we're returning. Info files are # normally ascii. Set no charset, and let it be provided by the # environment if necessary +# +# Some info source docs contain charset info like: +# @documentencoding ISO-2022-JP +# But this seems to be absent from outputs. htmltemplate = ''' diff --git a/src/qtgui/rclmain_w.cpp b/src/qtgui/rclmain_w.cpp index deabdcd2..9f0608c9 100644 --- a/src/qtgui/rclmain_w.cpp +++ b/src/qtgui/rclmain_w.cpp @@ -266,12 +266,8 @@ void RclMain::init() this, SLOT(startNativeViewer(Rcl::Doc))); connect(restable, SIGNAL(docPreviewClicked(int, Rcl::Doc, int)), this, SLOT(startPreview(int, Rcl::Doc, int))); - connect(restable, SIGNAL(docEditClicked(Rcl::Doc)), - this, SLOT(startNativeViewer(Rcl::Doc))); connect(restable, SIGNAL(docExpand(Rcl::Doc)), this, SLOT(docExpand(Rcl::Doc))); - connect(restable, SIGNAL(docEditClicked(Rcl::Doc)), - this, SLOT(startNativeViewer(Rcl::Doc))); connect(restable, SIGNAL(previewRequested(Rcl::Doc)), this, SLOT(startPreview(Rcl::Doc))); connect(restable, SIGNAL(editRequested(Rcl::Doc)),