[composer] Mail composer color combo should refresh its preview after starting a new line - Fixes #333971

sam yang <[email protected]>
Newsgroups gmane.comp.gnome.evolution.patches
Organization SCERI
Message-ID <[email protected]>
Hi, all

Sorry to forget attaching the patch. Here is the patch and bug details
link.
http://bugzilla.gnome.org/show_bug.cgi?id=333971

Thanks for the review.

-- 
sam yang <[email protected]>
SCERI

_______________________________________________
Evolution-patches mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/evolution-patches
333971.patch (text/x-patch, 1.4 KB)
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/composer/ChangeLog,v
retrieving revision 1.736
diff -u -r1.736 ChangeLog
--- ChangeLog	24 Feb 2006 08:15:43 -0000	1.736
+++ ChangeLog	9 Mar 2006 03:58:54 -0000
@@ -1,3 +1,11 @@
+2006-03-09  Sam Yang  <[email protected]>
+
+	* Fixes #333971
+	* e-msg-composer.c: (e_msg_composer_insert_paragraph_after): 
+	Remove text-default-color command that resets customized text color
+	to default, so stops composer color combo from receiving signal to 
+	refresh color preview when inserting a new line.	
+
 2006-02-16  Rohini S  <[email protected]>
 
 	** Fixes bug #324742
Index: e-msg-composer.c
===================================================================
RCS file: /cvs/gnome/evolution/composer/e-msg-composer.c,v
retrieving revision 1.530
diff -u -r1.530 e-msg-composer.c
--- e-msg-composer.c	24 Feb 2006 08:15:43 -0000	1.530
+++ e-msg-composer.c	9 Mar 2006 03:58:55 -0000
@@ -6260,7 +6260,6 @@
 	if (!p->in_signature_insert) {
 	      CORBA_char *orig, *signature;
 	      /* FIXME check for insert-paragraph command */
-	      GNOME_GtkHTML_Editor_Engine_runCommand (p->eeditor_engine, "text-default-color", &ev);
 	      GNOME_GtkHTML_Editor_Engine_runCommand (p->eeditor_engine, "italic-off", &ev);
 	
 	      orig = GNOME_GtkHTML_Editor_Engine_getParagraphData (p->eeditor_engine, "orig", &ev);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.