From 6dea2b5458bad7f4dc9c02d5dbd7f58614323e44 Mon Sep 17 00:00:00 2001 From: Garrett LeSage Date: Thu, 16 Jun 2011 17:36:33 +0200 Subject: [PATCH] fix history "Recent Events" jump-to-top refresh by blocking WebKit from loading URIs directly --- SparkleShare/SparkleEventLog.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SparkleShare/SparkleEventLog.cs b/SparkleShare/SparkleEventLog.cs index 2720c93b..130edaf0 100644 --- a/SparkleShare/SparkleEventLog.cs +++ b/SparkleShare/SparkleEventLog.cs @@ -92,7 +92,8 @@ namespace SparkleShare { process.StartInfo.Arguments = args.Request.Uri.Replace (" ", "\\ "); // Escape space-characters process.Start (); - UpdateEvents (); + // Don't follow HREFs (as this would cause a page refresh) + args.RetVal = 1; } };