[haiku-commits] r40794 - in haiku/trunk/src: apps/mail data/beos_mime/text

  • From: clemens.zeidler@xxxxxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 3 Mar 2011 20:58:09 +0100 (CET)

Author: czeidler
Date: 2011-03-03 20:58:09 +0100 (Thu, 03 Mar 2011)
New Revision: 40794
Changeset: http://dev.haiku-os.org/changeset/40794

Added:
   haiku/trunk/src/data/beos_mime/text/x-partial-email
Modified:
   haiku/trunk/src/apps/mail/Mail.rdef
   haiku/trunk/src/data/beos_mime/text/x-email
Log:
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?



Modified: haiku/trunk/src/apps/mail/Mail.rdef
===================================================================
--- haiku/trunk/src/apps/mail/Mail.rdef 2011-03-03 14:07:57 UTC (rev 40793)
+++ haiku/trunk/src/apps/mail/Mail.rdef 2011-03-03 19:58:09 UTC (rev 40794)
@@ -4,8 +4,6 @@
 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,7 +57,7 @@
        $"010D000A0D010E000A10010F000A0E0110000A0F011100"
 };
 
-resource(0, "BEOS:L:text/x-email") #'VICN' array {
+resource(0, "BEOS:L:text/x-vnd.be-maildraft") #'VICN' array {
        $"6E636966070500040178020006023A94CE3C078BBE370C3CD1394B9EF949A6E5"
        $"00FFFCACFFE6E27C03A07D3303A0893C02000602B4491E38CD95BCF086B8659B"
        $"4B4F4E49909100ECE986FFC9C55C020016023A4998B6DADD38AE423C25DB4932"
@@ -70,70 +68,3 @@
        $"01011001178402040A040103000A050104000A0001061001178200040A060106"
        $"000A020105000A03010200"
 };
-
-resource(1, "BEOS:L:text/x-partial-email") #'ICON' array {
-       $"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
-       $"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
-       $"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
-       $"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
-       $"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
-       $"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
-       $"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
-       $"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
-       $"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
-       $"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
-       $"FFFFFFFFFFFFFFFFFFFF0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
-       $"FFFFFFFFFFFFFFFFFF001B1C0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
-       $"FFFFFFFFFFFFFFFF003F3F3F1B1C0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
-       $"FFFFFFFFFFFFFF003F3F3F3F3F3F1B1C0000FFFFFFFFFFFFFFFFFFFFFFFFFFFF"
-       $"FFFFFFFFFFFF003F3F3F3F3F3F3F3F3F1B1C0FFFFFFFFFFFFFFFFFFFFFFFFFFF"
-       $"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 {
-       $"6E636966070500040178020006023A94CE3C078BBE370C3CD1394B9EF949A6E5"
-       $"00FFFCACFFE6E27C03A07D3303A0893C02000602B4491E38CD95BCF086B8659B"
-       $"4B4F4E49909100ECE986FFC9C55C020016023A4998B6DADD38AE423C25DB4932"
-       $"6F49265100D6FFFF070605EA0247584A59594A604460476041563C0605EA0222"
-       $"4646585A444A2E4E2E462E36350A0C36353742234639443E46455741485A4441"
-       $"463F443B4239420A0436355A4442463A4306032E5A444A2E4E2E462E36350A07"
-       $"363538433E4541485A44465822460A043939534345532C46080A010100000A00"
-       $"01011001178402040A040103000A050104000A0001061001178200040A060106"
-       $"000A020105000A03010200"
-};

Modified: haiku/trunk/src/data/beos_mime/text/x-email
===================================================================
--- haiku/trunk/src/data/beos_mime/text/x-email 2011-03-03 14:07:57 UTC (rev 
40793)
+++ haiku/trunk/src/data/beos_mime/text/x-email 2011-03-03 19:58:09 UTC (rev 
40794)
@@ -101,6 +101,5 @@
        "attr:alignment" = 0,
        "attr:alignment" = 0,
        "attr:alignment" = 0,
-       "type" = "text/x-email",
        "type" = "text/x-email"
 };

Added: haiku/trunk/src/data/beos_mime/text/x-partial-email
===================================================================
--- haiku/trunk/src/data/beos_mime/text/x-partial-email                         
(rev 0)
+++ haiku/trunk/src/data/beos_mime/text/x-partial-email 2011-03-03 19:58:09 UTC 
(rev 40794)
@@ -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"
+};


Other related posts: