nautilus-sendto r314 - in trunk: . src/plugins



Author: hadess
Date: Wed Mar 26 11:36:24 2008
New Revision: 314
URL: http://svn.gnome.org/viewvc/nautilus-sendto?rev=314&view=rev

Log:
2008-03-26  Bastien Nocera  <hadess hadess net>

	* src/plugins/e-contact-entry.c: Update from SVN and
	fix a warning
	* src/plugins/evolution.c (send_files):
	Quote the e-mail address we pass to evolution, as some
	people might use "Surname, Name <address>" instead of
	just "address"
	(Closes: https://bugzilla.redhat.com/show_bug.cgi?id=438695)



Modified:
   trunk/ChangeLog
   trunk/src/plugins/e-contact-entry.c
   trunk/src/plugins/evolution.c

Modified: trunk/src/plugins/e-contact-entry.c
==============================================================================
--- trunk/src/plugins/e-contact-entry.c	(original)
+++ trunk/src/plugins/e-contact-entry.c	Wed Mar 26 11:36:24 2008
@@ -501,7 +501,6 @@
     sources = e_source_group_peek_sources (group);
     for (m = sources; m != NULL; m = m->next) {
       ESource *source = m->data;
-      const char *p;
       ESource *s = e_source_copy (source);
       EntryLookup *lookup;
       char *uri;

Modified: trunk/src/plugins/evolution.c
==============================================================================
--- trunk/src/plugins/evolution.c	(original)
+++ trunk/src/plugins/evolution.c	Wed Mar 26 11:36:24 2008
@@ -162,7 +162,7 @@
 
 		text = gtk_entry_get_text (GTK_ENTRY (contact_widget));
 		if (text != NULL && *text != '\0')
-			g_string_append_printf (mailto, "%s", text);
+			g_string_append_printf (mailto, "\"%s\"", text);
 		else
 			g_string_append (mailto, "\"\"");
 	}



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