From: helge Date: Wed, 26 Jan 2005 18:45:50 +0000 (+0000) Subject: removed some unused template elements X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=872fe32bd2769c616e5e080389e59af87fe22a18;p=scalable-opengroupware.org removed some unused template elements git-svn-id: http://svn.opengroupware.org/SOGo/trunk@499 d1b88da0-ebda-0310-925b-ed51d893ca5b --- diff --git a/SOGo/UI/Mailer/ChangeLog b/SOGo/UI/Mailer/ChangeLog index f6fce35a..5dbef489 100644 --- a/SOGo/UI/Mailer/ChangeLog +++ b/SOGo/UI/Mailer/ChangeLog @@ -1,13 +1,18 @@ +2005-01-26 Helge Hess + + * disabled some unsupported buttons and template elements (#1209, + #1210, #1207, #1208) (v0.9.73) + 2005-01-26 Marcus Mueller + * v0.9.72 + * UIxMailWindowCloser.{m,wox}: new component which closes the window in its "onLoad". * UIxMailEditor.m: close window after successful send by opening UIxMailWindowCloser. This fixes SOGo Bug #1053. - * v0.9.72 - 2005-01-07 Marcus Mueller * {English/French}.lproj/default.strings: changed encoding from diff --git a/SOGo/UI/Mailer/UIxMailEditor.m b/SOGo/UI/Mailer/UIxMailEditor.m index 20e565c3..0343236a 100644 --- a/SOGo/UI/Mailer/UIxMailEditor.m +++ b/SOGo/UI/Mailer/UIxMailEditor.m @@ -1,5 +1,5 @@ /* - Copyright (C) 2004 SKYRIX Software AG + Copyright (C) 2004-2005 SKYRIX Software AG This file is part of OpenGroupware.org. @@ -18,7 +18,6 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -// $Id$ #include @@ -144,7 +143,7 @@ static NSArray *infoKeys = nil; /* IMAP4 store */ -- (void)patchFlagsInStore { +- (NSException *)patchFlagsInStore { /* Flags we should set: if the draft is a reply => [message markAnswered] @@ -152,6 +151,12 @@ static NSArray *infoKeys = nil; This is hard, we would need to find the original message in Cyrus. */ + return nil; +} + +- (NSException *)storeMailInSentFolder:(NSString *)_path { + [self logWithFormat:@"TODO: store mail in Sent folder: %@", _path]; + return nil; } /* actions */ @@ -216,11 +221,16 @@ static NSArray *infoKeys = nil; /* patch flags in store for replies etc */ - [self patchFlagsInStore]; + if ((error = [self patchFlagsInStore]) != nil) + return error; /* finally store in Sent */ + + if ((error = [self storeMailInSentFolder:mailPath]) != nil) + return error; + + /* delete temporary mail file */ - [self logWithFormat:@"TODO: store mail in Sent folder: %@", mailPath]; if (keepMailTmpFile) [self warnWithFormat:@"keeping mail file: '%@'", mailPath]; else diff --git a/SOGo/UI/Mailer/UIxMailListView.wox b/SOGo/UI/Mailer/UIxMailListView.wox index 7ec09272..799de8a5 100644 --- a/SOGo/UI/Mailer/UIxMailListView.wox +++ b/SOGo/UI/Mailer/UIxMailListView.wox @@ -10,9 +10,10 @@ title="name" >
+ - => var:popup? @@ -20,6 +21,7 @@ Subject or Sender contains: +-->
diff --git a/SOGo/UI/Mailer/UIxMailWindowCloser.m b/SOGo/UI/Mailer/UIxMailWindowCloser.m index b7954de5..98c936c8 100644 --- a/SOGo/UI/Mailer/UIxMailWindowCloser.m +++ b/SOGo/UI/Mailer/UIxMailWindowCloser.m @@ -1,7 +1,7 @@ /* - Copyright (C) 2000-2004 SKYRIX Software AG + Copyright (C) 2000-2005 SKYRIX Software AG - This file is part of OGo + This file is part of OpenGroupware.org. OGo is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the @@ -18,13 +18,11 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -// $Id$ #include @interface UIxMailWindowCloser : WOComponent { - } @end @@ -33,4 +31,4 @@ @implementation UIxMailWindowCloser -@end +@end /* UIxMailWindowCloser */ diff --git a/SOGo/UI/Mailer/Version b/SOGo/UI/Mailer/Version index d27cb563..8e97ef97 100644 --- a/SOGo/UI/Mailer/Version +++ b/SOGo/UI/Mailer/Version @@ -1,6 +1,6 @@ # version file -SUBMINOR_VERSION:=72 +SUBMINOR_VERSION:=73 # v0.9.70 requires NGExtensions v4.5.136 # v0.9.69 requires libNGMime v4.5.203 diff --git a/SOGo/UI/Mailer/product.plist b/SOGo/UI/Mailer/product.plist index 7eb6a814..75492f06 100644 --- a/SOGo/UI/Mailer/product.plist +++ b/SOGo/UI/Mailer/product.plist @@ -94,21 +94,27 @@ cssClass = "tbicon_compose"; label = "Write"; }, ), - ( /* second group */ +/* TODO: enable when implemented + ( // second group { link = "#"; cssClass = "tbicon_reply"; label = "Reply"; }, { link = "#"; cssClass = "tbicon_replyall"; label = "Reply All"; }, { link = "#"; cssClass = "tbicon_forward"; label = "Forward"; }, ), +*/ ( /* third group */ { link = "#"; cssClass = "tbicon_delete"; label = "Delete"; }, +/* TODO: enable when we know how to mark junk (#971) { link = "#"; cssClass = "tbicon_junk"; label = "Junk"; }, +*/ ), ( /* fourth group */ +/* TODO: enable when we can print (#1207) { link = "#"; cssClass = "tbicon_print"; label = "Print"; }, +*/ { link = "#"; cssClass = "tbicon_stop"; label = "Stop"; }, ), ); @@ -159,7 +165,8 @@ { link = "compose"; target = "_blank"; cssClass = "tbicon_compose"; label = "Write"; }, ), - ( /* second group */ +/* TODO: enable when implemented + ( // second group { link = "reply"; cssClass = "tbicon_reply"; label = "Reply"; }, { link = "replyall"; @@ -167,14 +174,19 @@ { link = "forward"; cssClass = "tbicon_forward"; label = "Forward"; }, ), +*/ ( /* third group */ { link = "#"; cssClass = "tbicon_delete"; label = "Delete"; }, +/* TODO: enable when we know how to mark junk (#971) { link = "#"; cssClass = "tbicon_junk"; label = "Junk"; }, +*/ ), ( /* fourth group */ +/* TODO: enable when we can print (#1207) { link = "#"; cssClass = "tbicon_print"; label = "Print"; }, +*/ { link = "#"; cssClass = "tbicon_stop"; label = "Stop"; }, ), );