[Xfce4-commits] <midori:master> Don't unconditionally render XML as source

Christian Dywan noreply at xfce.org
Fri Aug 31 10:56:02 CEST 2012


Updating branch refs/heads/master
         to f4a3e690962dd53ab65f27deb770e8eb45c5b7e8 (commit)
       from ebd0847a3910fcd15581345c0e23271794254829 (commit)

commit f4a3e690962dd53ab65f27deb770e8eb45c5b7e8
Author: Christian Dywan <christian at twotoasts.de>
Date:   Thu Aug 30 22:07:43 2012 +0200

    Don't unconditionally render XML as source
    
    Fixes: https://bugs.launchpad.net/midori/+bug/1043698

 midori/midori-view.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/midori/midori-view.c b/midori/midori-view.c
index f6c1c09..893d0b3 100644
--- a/midori/midori-view.c
+++ b/midori/midori-view.c
@@ -3148,10 +3148,6 @@ webkit_web_view_mime_type_decision_cb (GtkWidget*               web_view,
         if (midori_view_is_blank (view))
             view_source = webkit_web_view_get_view_source_mode (WEBKIT_WEB_VIEW (web_view));
 
-        /* Render raw XML, including news feeds, as source */
-        if (!view_source && (!strcmp (mime_type, "application/xml")
-                          || !strcmp (mime_type, "text/xml")))
-            view_source = TRUE;
         webkit_web_view_set_view_source_mode (WEBKIT_WEB_VIEW (web_view), view_source);
 
         if (web_frame == webkit_web_view_get_main_frame (WEBKIT_WEB_VIEW (web_view)))


More information about the Xfce4-commits mailing list