[evolution] Revert "Correct garbled mailto: uris passed in through GApplication interface"



commit b23b4df2dff318f3611ada27f1572bda1685a067
Author: Matthew Barnes <mbarnes redhat com>
Date:   Sun May 22 11:06:11 2011 -0400

    Revert "Correct garbled mailto: uris passed in through GApplication interface"
    
    This reverts commit 94d5fb1b664ab38790ba620f7d2c6d585b666c91.
    
    Wrong solution.  See bug #650491.

 composer/e-msg-composer.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index e332cc7..07284ee 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -3944,10 +3944,6 @@ handle_mailto (EMsgComposer *composer, const gchar *mailto)
 
 	/* Parse recipients (everything after ':' until '?' or eos). */
 	p = buf + 7;
-	/* skip leading "///" which are added when passing "mailto:user server com"
-	   from the outside, after porting EShell to GApplication */
-	if (g_str_has_prefix (p, "///"))
-		p += 3;
 	len = strcspn (p, "?");
 	if (len) {
 		content = g_strndup (p, len);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]