From 443561c08d073724cb7b800eb563b7bf052a8264 Mon Sep 17 00:00:00 2001 From: Clemens Zeidler Date: Thu, 3 Mar 2011 19:58:09 +0000 Subject: [PATCH] Add another mime type file for partial downloaded messages. Clean up a bit, could somebody check if this is all right? Removed the partial downloaded bitmap icon since I was unable to load a bitmap it in the mime type file. I'm using the new mail icon now. Could somebody create a partial vector icon? git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40794 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/mail/Mail.rdef | 71 +---------------- src/data/beos_mime/text/x-email | 1 - src/data/beos_mime/text/x-partial-email | 101 ++++++++++++++++++++++++ 3 files changed, 102 insertions(+), 71 deletions(-) create mode 100644 src/data/beos_mime/text/x-partial-email diff --git a/src/apps/mail/Mail.rdef b/src/apps/mail/Mail.rdef index d8cec24d9d..df50a3a7e2 100644 --- a/src/apps/mail/Mail.rdef +++ b/src/apps/mail/Mail.rdef @@ -4,8 +4,6 @@ resource app_signature "application/x-vnd.Be-MAIL"; resource app_flags B_SINGLE_LAUNCH; resource file_types message { - "types" = "text/x-email", - "types" = "text/x-partial-email", "types" = "application/x-person", "types" = "application/x-vnd.Be.URL.mailto", "types" = "text/x-vnd.Be-MailDraft" @@ -59,74 +57,7 @@ resource vector_icon { $"010D000A0D010E000A10010F000A0E0110000A0F011100" }; -resource(0, "BEOS:L:text/x-email") #'VICN' array { - $"6E636966070500040178020006023A94CE3C078BBE370C3CD1394B9EF949A6E5" - $"00FFFCACFFE6E27C03A07D3303A0893C02000602B4491E38CD95BCF086B8659B" - $"4B4F4E49909100ECE986FFC9C55C020016023A4998B6DADD38AE423C25DB4932" - $"6F49265100D6FFFF070605EA0247584A59594A604460476041563C0605EA0222" - $"4646585A444A2E4E2E462E36350A0C36353742234639443E46455741485A4441" - $"463F443B4239420A0436355A4442463A4306032E5A444A2E4E2E462E36350A07" - $"363538433E4541485A44465822460A043939534345532C46080A010100000A00" - $"01011001178402040A040103000A050104000A0001061001178200040A060106" - $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FFFFFFFFFFFFFFFFFFFFFFFFF" - $"FFFFFFFFFF003F3F3F3F3F3F3F3F3F3F3F3F0FFF0000FFFFFFFFFFFFFFFFFFFF" - $"FFFFFFFF003F3F3F3F3F3F3F1B1C0F0F0F0F0FFF1B1C0000FFFFFFFFFFFFFFFF" - $"FFFFFF003F3F3F3F3F3F3F3F00000FFFFFFFFFFF1C3F1B1C0000FFFFFFFFFFFF" - $"FFFF003F3F3F3F3F3F3F3F001B1C0FFF1B1C1C1C1C3F3F3F1B1C0000FFFFFFFF" - $"FF003F3F3F3F3F3F3F001B1C00000FFF00001C1B3F3F3F3F2B7B1B1C0000FFFF" - $"001B1C3F3F3F3F3F3F3F0F0F0F0F0FFF1C1C00003F3F3F2B2C2B2B3F1B1C00FF" - $"0F00001B1C3F3F3F3F3F0FFFFFFFFFFF1C3F3F1B3F3F2B2C2B2B3F3F1B000FFF" - $"FF0F0F00001B1C3F3F3F0FFF1C1C11001B1C3F3F3F3F3F7B2B3F3F1B000F0FFF" - $"FFFFFF0F0F00001B1C3F0FFF1C3F3F3F00003F3F3F3F3F3F3F3F1B000F0FFFFF" - $"FFFFFFFFFF0F0F0F0F0F0FFF1C3F3F3F1B3F3F3F3F3F3F3F3F1B000F0FFFFFFF" - $"FFFFFFFFFFFFFFFFFFFFFFFF1C3F3F3F3F3F3F3F3F3F3F3F1B000F0FFFFFFFFF" - $"FFFFFFFFFFFFFFFFFFFF0F00001B1C3F3F3F3F3F3F3F3F1B000F0FFFFFFFFFFF" - $"FFFFFFFFFFFFFFFFFFFFFF0F0F00001B1C3F3F3F3F3F1B000F0FFFFFFFFFFFFF" - $"FFFFFFFFFFFFFFFFFFFFFFFFFF0F0F00001B1C3F3F1B000F0FFFFFFFFFFFFFFF" - $"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0F0F00001B1C000F0FFFFFFFFFFFFFFFFF" - $"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0F0F00000F0FFFFFFFFFFFFFFFFFFF" - $"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0F0F0FFFFFFFFFFFFFFFFFFFFF" -}; - -resource(1, "BEOS:M:text/x-partial-email") #'MICN' array -{ - $"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF" - $"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF" - $"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF" - $"FFFFFFFFFF00FFFFFFFFFFFFFFFFFFFF" - $"FFFFFFFF001B0000FFFFFFFFFFFFFFFF" - $"FFFFFF001B3F1B1B00FFFFFFFFFFFFFF" - $"FFFF001B3F3F3F3F1B0FFF00FFFFFFFF" - $"FF001B3F3F00000F0F0FFF1B0000FFFF" - $"001B3F3F1C1C1C0FFFFFFF2B1B1B0000" - $"001B1B3F00001C0FFF1C7B2B2C1B000F" - $"0F00001B0F0F0F0FFF1C3F7B1B000FFF" - $"FF0F0F000FFFFFFFFF1C3F1B000FFFFF" - $"FFFFFF0F0FFF001B1B1C1B000FFFFFFF" - $"FFFFFFFFFFFF0F00001B000FFFFFFFFF" - $"FFFFFFFFFFFFFF0F0F000FFFFFFFFFFF" - $"FFFFFFFFFFFFFFFFFF0FFFFFFFFFFFFF" -}; - -resource(2, "BEOS:L:text/x-vnd.be-maildraft") #'VICN' array { +resource(0, "BEOS:L:text/x-vnd.be-maildraft") #'VICN' array { $"6E636966070500040178020006023A94CE3C078BBE370C3CD1394B9EF949A6E5" $"00FFFCACFFE6E27C03A07D3303A0893C02000602B4491E38CD95BCF086B8659B" $"4B4F4E49909100ECE986FFC9C55C020016023A4998B6DADD38AE423C25DB4932" diff --git a/src/data/beos_mime/text/x-email b/src/data/beos_mime/text/x-email index 8cc7b614df..35c19c6704 100644 --- a/src/data/beos_mime/text/x-email +++ b/src/data/beos_mime/text/x-email @@ -101,6 +101,5 @@ resource(6, "META:ATTR_INFO") message(233) { "attr:alignment" = 0, "attr:alignment" = 0, "attr:alignment" = 0, - "type" = "text/x-email", "type" = "text/x-email" }; diff --git a/src/data/beos_mime/text/x-partial-email b/src/data/beos_mime/text/x-partial-email new file mode 100644 index 0000000000..e567f18120 --- /dev/null +++ b/src/data/beos_mime/text/x-partial-email @@ -0,0 +1,101 @@ + +resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime"; + +resource(1, "META:TYPE") "text/x-partial-email"; + +resource(2, "META:S:DESC") #'MSDC' "Partial Downloaded E-mail"; + +resource(3, "META:EXTENS") message(234) { + "type" = "text/x-partial-email" +}; + +resource(4, "META:PREF_APP") #'MSIG' "application/x-vnd.Be-MAIL"; + +resource(5, "META:ICON") #'VICN' array { + $"6E636966040500040178020006023A94CD3C078ABE370B3CD1394B9EF949A6E5" + $"00FFFCACFFE6E27C03A07D32050604BA47584A595E455E485E4254430A042246" + $"46585A4436350A063742234639443E46455741480A0436355A44465822460804" + $"3635384340475A44050A010100000A0001011001178402040A020103000A0301" + $"02000A030104100117820004" +}; + +resource(6, "META:ATTR_INFO") message(233) { + "attr:name" = "MAIL:name", + "attr:name" = "MAIL:subject", + "attr:name" = "MAIL:to", + "attr:name" = "MAIL:cc", + "attr:name" = "MAIL:from", + "attr:name" = "MAIL:reply", + "attr:name" = "MAIL:status", + "attr:name" = "MAIL:priority", + "attr:name" = "MAIL:when", + "attr:name" = "MAIL:account", + "attr:name" = "MAIL:thread", + "attr:public_name" = "Name", + "attr:public_name" = "Subject", + "attr:public_name" = "To", + "attr:public_name" = "Cc", + "attr:public_name" = "From", + "attr:public_name" = "Reply To", + "attr:public_name" = "Status", + "attr:public_name" = "Priority", + "attr:public_name" = "When", + "attr:public_name" = "Account", + "attr:public_name" = "Thread", + "attr:type" = 'CSTR', + "attr:type" = 'CSTR', + "attr:type" = 'CSTR', + "attr:type" = 'CSTR', + "attr:type" = 'CSTR', + "attr:type" = 'CSTR', + "attr:type" = 'CSTR', + "attr:type" = 'CSTR', + "attr:type" = 'TIME', + "attr:type" = 'CSTR', + "attr:type" = 'CSTR', + "attr:viewable" = true, + "attr:viewable" = true, + "attr:viewable" = true, + "attr:viewable" = true, + "attr:viewable" = true, + "attr:viewable" = true, + "attr:viewable" = true, + "attr:viewable" = true, + "attr:viewable" = true, + "attr:viewable" = true, + "attr:viewable" = true, + "attr:editable" = false, + "attr:editable" = false, + "attr:editable" = false, + "attr:editable" = false, + "attr:editable" = false, + "attr:editable" = false, + "attr:editable" = true, + "attr:editable" = true, + "attr:editable" = false, + "attr:editable" = false, + "attr:editable" = false, + "attr:width" = 200, + "attr:width" = 200, + "attr:width" = 200, + "attr:width" = 200, + "attr:width" = 200, + "attr:width" = 200, + "attr:width" = 50, + "attr:width" = 40, + "attr:width" = 150, + "attr:width" = 100, + "attr:width" = 200, + "attr:alignment" = 0, + "attr:alignment" = 0, + "attr:alignment" = 0, + "attr:alignment" = 0, + "attr:alignment" = 0, + "attr:alignment" = 0, + "attr:alignment" = 1, + "attr:alignment" = 0, + "attr:alignment" = 0, + "attr:alignment" = 0, + "attr:alignment" = 0, + "type" = "text/x-partial-email" +};