aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-06-21 10:02:02 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-06-21 10:02:02 +0800
commit723528e407bca6f2aa26461e6f8bcc7de32b056d (patch)
tree06d46700c82bba5acb3c7f0d6030bafc0837bf81
parent402166be5496cfaf5ac5908702d74f02fce4c1e7 (diff)
downloadgsoc2013-evolution-723528e407bca6f2aa26461e6f8bcc7de32b056d.tar.gz
gsoc2013-evolution-723528e407bca6f2aa26461e6f8bcc7de32b056d.tar.zst
gsoc2013-evolution-723528e407bca6f2aa26461e6f8bcc7de32b056d.zip
Revert "Bug 581032 – Some links can't be opened"
This reverts commit 8b32dcadba4c705af60b1e33b24f46d97f7181d6. Breaks opening more common URL-encoded links (see bug #621721). Will take a closer look at the test case in bug #581032.
-rw-r--r--e-util/e-util.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/e-util/e-util.c b/e-util/e-util.c
index 3728489fa4..956f7d009f 100644
--- a/e-util/e-util.c
+++ b/e-util/e-util.c
@@ -147,7 +147,6 @@ e_show_uri (GtkWindow *parent,
GtkWidget *dialog;
GdkScreen *screen = NULL;
GError *error = NULL;
- gchar *decoded_uri;
guint32 timestamp;
g_return_if_fail (uri != NULL);
@@ -157,11 +156,8 @@ e_show_uri (GtkWindow *parent,
if (parent != NULL)
screen = gtk_widget_get_screen (GTK_WIDGET (parent));
- decoded_uri = g_strdup (uri);
- camel_url_decode (decoded_uri);
-
- if (gtk_show_uri (screen, decoded_uri, timestamp, &error))
- goto exit;
+ if (gtk_show_uri (screen, uri, timestamp, &error))
+ return;
dialog = gtk_message_dialog_new_with_markup (
parent, GTK_DIALOG_DESTROY_WITH_PARENT,
@@ -176,9 +172,6 @@ e_show_uri (GtkWindow *parent,
gtk_widget_destroy (dialog);
g_error_free (error);
-
-exit:
- g_free (decoded_uri);
}
/**