]> spindle.queued.net Git - midori/commitdiff
Revert "Apply URI magic to externally opened addresses"
authorChristian Dywan <christian@twotoasts.de>
Sun, 12 Apr 2009 21:31:42 +0000 (23:31 +0200)
committerChristian Dywan <christian@twotoasts.de>
Sun, 12 Apr 2009 21:31:42 +0000 (23:31 +0200)
The commit had the wrong author name.

midori/midori-app.c

index b753a64fb5fc581c391e04fd28992f360f0218f3..27fbe87ac509c66dc1c25e5357674967598f8953 100644 (file)
@@ -14,7 +14,6 @@
 #endif
 
 #include "midori-app.h"
-#include "sokoke.h"
 
 #include <string.h>
 #include <gtk/gtk.h>
@@ -386,16 +385,14 @@ midori_browser_message_received_cb (UniqueApp*         instance,
           first = (open_external_pages_in == MIDORI_NEW_PAGE_CURRENT);
           while (*uris)
           {
-              gchar* fixed_uri = sokoke_magic_uri (*uris, NULL);
               if (first)
               {
-                  midori_browser_set_current_uri (browser, fixed_uri);
+                  midori_browser_set_current_uri (browser, *uris);
                   first = FALSE;
               }
               else
                   midori_browser_set_current_page (browser,
-                      midori_browser_add_uri (browser, fixed_uri));
-              g_free (fixed_uri);
+                      midori_browser_add_uri (browser, *uris));
               uris++;
           }
           /* g_strfreev (uris); */