[evolution/webkit-composer: 154/181] [em-format] Give high priority to "quote" formatters.



commit 44212fb1d9791a145a95c9c1c99c9ad94e145f37
Author: Matthew Barnes <mbarnes redhat com>
Date:   Thu Feb 7 07:57:03 2013 -0500

    [em-format] Give high priority to "quote" formatters.
    
    These should outrank text-highlight and prefer-plain formatters.

 em-format/e-mail-formatter-quote-attachment.c     |    2 +-
 em-format/e-mail-formatter-quote-headers.c        |    2 +-
 em-format/e-mail-formatter-quote-message-rfc822.c |    2 +-
 em-format/e-mail-formatter-quote-text-enriched.c  |    2 +-
 em-format/e-mail-formatter-quote-text-html.c      |    2 +-
 em-format/e-mail-formatter-quote-text-plain.c     |    2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/em-format/e-mail-formatter-quote-attachment.c b/em-format/e-mail-formatter-quote-attachment.c
index d356726..4a860cb 100644
--- a/em-format/e-mail-formatter-quote-attachment.c
+++ b/em-format/e-mail-formatter-quote-attachment.c
@@ -103,7 +103,7 @@ static void
 e_mail_formatter_quote_attachment_class_init (EMailFormatterExtensionClass *class)
 {
 	class->mime_types = formatter_mime_types;
-	class->priority = G_PRIORITY_LOW;
+	class->priority = G_PRIORITY_HIGH;
 	class->format = emfqe_attachment_format;
 }
 
diff --git a/em-format/e-mail-formatter-quote-headers.c b/em-format/e-mail-formatter-quote-headers.c
index 20e97fd..b4aa3e3 100644
--- a/em-format/e-mail-formatter-quote-headers.c
+++ b/em-format/e-mail-formatter-quote-headers.c
@@ -235,7 +235,7 @@ static void
 e_mail_formatter_quote_headers_class_init (EMailFormatterExtensionClass *class)
 {
 	class->mime_types = formatter_mime_types;
-	class->priority = G_PRIORITY_LOW;
+	class->priority = G_PRIORITY_HIGH;
 	class->format = emqfe_headers_format;
 }
 
diff --git a/em-format/e-mail-formatter-quote-message-rfc822.c b/em-format/e-mail-formatter-quote-message-rfc822.c
index 675d305..710ee9f 100644
--- a/em-format/e-mail-formatter-quote-message-rfc822.c
+++ b/em-format/e-mail-formatter-quote-message-rfc822.c
@@ -138,7 +138,7 @@ static void
 e_mail_formatter_quote_message_rfc822_class_init (EMailFormatterExtensionClass *class)
 {
 	class->mime_types = formatter_mime_types;
-	class->priority = G_PRIORITY_LOW;
+	class->priority = G_PRIORITY_HIGH;
 	class->format = emfqe_message_rfc822_format;
 }
 
diff --git a/em-format/e-mail-formatter-quote-text-enriched.c b/em-format/e-mail-formatter-quote-text-enriched.c
index b279d96..780548b 100644
--- a/em-format/e-mail-formatter-quote-text-enriched.c
+++ b/em-format/e-mail-formatter-quote-text-enriched.c
@@ -88,7 +88,7 @@ e_mail_formatter_quote_text_enriched_class_init (EMailFormatterExtensionClass *c
 	class->display_name = _("Richtext");
 	class->description = _("Display part as enriched text");
 	class->mime_types = formatter_mime_types;
-	class->priority = G_PRIORITY_LOW;
+	class->priority = G_PRIORITY_HIGH;
 	class->format = emqfe_text_enriched_format;
 }
 
diff --git a/em-format/e-mail-formatter-quote-text-html.c b/em-format/e-mail-formatter-quote-text-html.c
index 0febedb..1d4f7c5 100644
--- a/em-format/e-mail-formatter-quote-text-html.c
+++ b/em-format/e-mail-formatter-quote-text-html.c
@@ -90,7 +90,7 @@ e_mail_formatter_quote_text_html_class_init (EMailFormatterExtensionClass *class
 	class->display_name = _("HTML");
 	class->description = _("Format part as HTML");
 	class->mime_types = formatter_mime_types;
-	class->priority = G_PRIORITY_LOW;
+	class->priority = G_PRIORITY_HIGH;
 	class->format = emqfe_text_html_format;
 }
 
diff --git a/em-format/e-mail-formatter-quote-text-plain.c b/em-format/e-mail-formatter-quote-text-plain.c
index 5f73aba..9544a39 100644
--- a/em-format/e-mail-formatter-quote-text-plain.c
+++ b/em-format/e-mail-formatter-quote-text-plain.c
@@ -111,7 +111,7 @@ e_mail_formatter_quote_text_plain_class_init (EMailFormatterExtensionClass *clas
 	class->display_name = _("Plain Text");
 	class->description = _("Format part as plain text");
 	class->mime_types = formatter_mime_types;
-	class->priority = G_PRIORITY_LOW;
+	class->priority = G_PRIORITY_HIGH;
 	class->format = emqfe_text_plain_format;
 }
 


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