[Commits] fancy_viewer.c 1.1.2.8 1.1.2.9
colin at claws-mail.org
colin at claws-mail.org
Thu Mar 14 18:36:53 CET 2013
Update of /home/claws-mail/claws/src/plugins/fancy
In directory srv:/tmp/cvs-serv24773/src/plugins/fancy
Modified Files:
Tag: gtk2
fancy_viewer.c
Log Message:
2013-03-14 [colin] 3.9.0cvs125
* src/plugins/fancy/fancy_viewer.c
Remove some crashy calls (wonder why.)
Index: fancy_viewer.c
===================================================================
RCS file: /home/claws-mail/claws/src/plugins/fancy/Attic/fancy_viewer.c,v
retrieving revision 1.1.2.8
retrieving revision 1.1.2.9
diff -u -d -r1.1.2.8 -r1.1.2.9
--- fancy_viewer.c 13 Mar 2013 13:43:43 -0000 1.1.2.8
+++ fancy_viewer.c 14 Mar 2013 17:36:51 -0000 1.1.2.9
@@ -372,8 +372,9 @@
WebKitNetworkRequest *netreq, FancyViewer *viewer)
{
const gchar *uri = webkit_network_request_get_uri(netreq);
+#ifndef G_OS_WIN32
debug_print("navigation requested to %s\n", uri);
-
+#endif
if (!strncmp(uri, "mailto:", 7)) {
compose_new(NULL, uri + 7, NULL);
return WEBKIT_NAVIGATION_RESPONSE_IGNORE;
@@ -427,10 +428,15 @@
uri = webkit_network_request_get_uri(request);
if (!viewer->override_prefs_remote_content
&& strncmp(uri, "file://", 7)) {
+#ifndef G_OS_WIN32
debug_print("Preventing load of %s\n", uri);
+#endif
webkit_network_request_set_uri(request, "about:blank");
- } else
+ }
+#ifndef G_OS_WIN32
+ else
debug_print("Starting request of %s\n", uri);
+#endif
}
static gboolean fancy_text_search(MimeViewer *_viewer, gboolean backward,
More information about the Commits
mailing list