Changeset 1280 for trunk/src/org/expeditee/auth
- Timestamp:
- 04/04/19 14:41:47 (5 years ago)
- Location:
- trunk/src/org/expeditee/auth
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/auth/Actions.java
r1279 r1280 97 97 * @throws ParseException 98 98 */ 99 public static void MailMode() throws KeyStoreException, FileNotFoundException, NoSuchAlgorithmException, CertificateException, ClassNotFoundException, SQLException, IOException, ParseException {99 public static void ToggleBay() throws KeyStoreException, FileNotFoundException, NoSuchAlgorithmException, CertificateException, ClassNotFoundException, SQLException, IOException, ParseException { 100 100 if (!DisplayController.isMailMode()) { 101 101 Mail.clear(); -
trunk/src/org/expeditee/auth/gui/MailBay.java
r1276 r1280 93 93 if (_creator == null || currentUser != UserSettings.UserName.get()) { 94 94 currentUser = UserSettings.UserName.get(); 95 _creator = new FrameCreator(EXPEDITEE_MAIL_FRAMESET_NAME, FrameIO.MAIL_PATH, EXPEDITEE_MAIL_FRAMESET_NAME, FrameCreator.ExistingFramesetOptions. ReobtainStateFromExistingFrames, false);95 _creator = new FrameCreator(EXPEDITEE_MAIL_FRAMESET_NAME, FrameIO.MAIL_PATH, EXPEDITEE_MAIL_FRAMESET_NAME, FrameCreator.ExistingFramesetOptions.AppendAfterLastItem, false); 96 96 } 97 97 … … 107 107 Mail mail = new Mail(message, message2, options); 108 108 Text t = mail.getPreviewMessage(true); 109 _previewMessages.add(t);110 109 _messages.add(t); 111 110 _creator.addText(timestamp, Colour.BLACK, null, null, false); … … 113 112 _creator.addItem(line.copy(), false); 114 113 } 114 t.setLink(_creator.getCurrentFrame().getName()); 115 _previewMessages.add(t); 115 116 _creator.addSpace(SPACING); 116 117 _creator.save();
Note:
See TracChangeset
for help on using the changeset viewer.