* Renamed BeMail to Mail.

* The settings are still saved in "config/settings/BeMail Settings", though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20389 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2007-03-18 13:44:26 +00:00
parent 789b86ec6c
commit 0995b56384
44 changed files with 22 additions and 23 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ BEOS_BIN = "[" addattr alert arp basename beep cat catattr chgrp chmod chop chow
BEOS_APPS = Terminal Expander People ShowImage Pulse ProcessController BEOS_APPS = Terminal Expander People ShowImage Pulse ProcessController
SoundRecorder Magnify DiskProbe AboutHaiku StyledEdit Installer Workspaces SoundRecorder Magnify DiskProbe AboutHaiku StyledEdit Installer Workspaces
$(X86_ONLY)Cortex $(X86_ONLY)CortexAddOnHost MediaPlayer DeskCalc MidiPlayer $(X86_ONLY)Cortex $(X86_ONLY)CortexAddOnHost MediaPlayer DeskCalc MidiPlayer
Icon-O-Matic BeMail CDPlayer Icon-O-Matic Mail CDPlayer
; ;
BEOS_PREFERENCES = Appearance Backgrounds DataTranslations E-mail FileTypes Fonts Media Menu BEOS_PREFERENCES = Appearance Backgrounds DataTranslations E-mail FileTypes Fonts Media Menu
Mouse Keyboard Keymap Printers Screen ScreenSaver Sounds Time VirtualMemory Mouse Keyboard Keymap Printers Screen ScreenSaver Sounds Time VirtualMemory
+1 -1
View File
@@ -1,7 +1,6 @@
SubDir HAIKU_TOP src apps ; SubDir HAIKU_TOP src apps ;
SubInclude HAIKU_TOP src apps abouthaiku ; SubInclude HAIKU_TOP src apps abouthaiku ;
SubInclude HAIKU_TOP src apps bemail ;
SubInclude HAIKU_TOP src apps cdplayer ; SubInclude HAIKU_TOP src apps cdplayer ;
SubInclude HAIKU_TOP src apps clock ; SubInclude HAIKU_TOP src apps clock ;
SubInclude HAIKU_TOP src apps codycam ; SubInclude HAIKU_TOP src apps codycam ;
@@ -15,6 +14,7 @@ SubInclude HAIKU_TOP src apps glteapot ;
SubInclude HAIKU_TOP src apps icon-o-matic ; SubInclude HAIKU_TOP src apps icon-o-matic ;
SubInclude HAIKU_TOP src apps installer ; SubInclude HAIKU_TOP src apps installer ;
SubInclude HAIKU_TOP src apps magnify ; SubInclude HAIKU_TOP src apps magnify ;
SubInclude HAIKU_TOP src apps mail ;
SubInclude HAIKU_TOP src apps mediaplayer ; SubInclude HAIKU_TOP src apps mediaplayer ;
SubInclude HAIKU_TOP src apps midiplayer ; SubInclude HAIKU_TOP src apps midiplayer ;
SubInclude HAIKU_TOP src apps people ; SubInclude HAIKU_TOP src apps people ;
@@ -18,8 +18,8 @@ resource app_version {
variety = B_APPV_FINAL, variety = B_APPV_FINAL,
internal = 3, internal = 3,
short_info = "BeMail", short_info = "Mail",
long_info = "BeMail ©2005-2007 Haiku, Inc." long_info = "Mail ©2005-2007 Haiku, Inc."
}; };
resource large_icon { resource large_icon {
@@ -1833,7 +1833,7 @@ TTextView::Open(hyper_text *enclosure)
case TYPE_MAILTO: case TYPE_MAILTO:
if (be_roster->Launch(B_MAIL_TYPE, 1, &enclosure->name) < B_OK) { if (be_roster->Launch(B_MAIL_TYPE, 1, &enclosure->name) < B_OK) {
char *argv[] = {"BeMail", enclosure->name}; char *argv[] = {"Mail", enclosure->name};
be_app->ArgvReceived(2, argv); be_app->ArgvReceived(2, argv);
} }
break; break;
@@ -1,4 +1,4 @@
SubDir HAIKU_TOP src apps bemail ; SubDir HAIKU_TOP src apps mail ;
SetSubDirSupportedPlatformsBeOSCompatible ; SetSubDirSupportedPlatformsBeOSCompatible ;
@@ -10,8 +10,8 @@ UsePrivateHeaders mail ;
UsePrivateHeaders textencoding ; UsePrivateHeaders textencoding ;
UsePrivateHeaders shared ; UsePrivateHeaders shared ;
AddResources BeMail : BeMail.rdef pictures.rdef ; AddResources Mail : BeMail.rdef pictures.rdef ;
Application BeMail : Application Mail :
AutoTextControl.cpp AutoTextControl.cpp
BmapButton.cpp BmapButton.cpp
ButtonBar.cpp ButtonBar.cpp
@@ -30,8 +30,8 @@ Application BeMail :
Words.cpp Words.cpp
KUndoBuffer.cpp ; KUndoBuffer.cpp ;
LinkAgainst BeMail : be tracker $(TARGET_LIBSTDC++) libmail.so libtextencoding.so ; LinkAgainst Mail : be tracker $(TARGET_LIBSTDC++) libmail.so libtextencoding.so ;
Package haiku-maildaemon-cvs : Package haiku-maildaemon-cvs :
BeMail : Mail :
boot beos apps ; boot beos apps ;
@@ -292,7 +292,7 @@ void
TMailApp::AboutRequested() TMailApp::AboutRequested()
{ {
(new BAlert("", (new BAlert("",
"BeMail\nBy Robert Polic\n\n" "Mail\nBy Robert Polic\n\n"
"Enhanced by Axel Dörfler and the Dr. Zoidberg crew\n\n" "Enhanced by Axel Dörfler and the Dr. Zoidberg crew\n\n"
"Compiled on " __DATE__ " at " __TIME__ ".", "Compiled on " __DATE__ " at " __TIME__ ".",
"OK"))->Go(); "OK"))->Go();
@@ -312,7 +312,7 @@ TMailApp::ArgvReceived(int32 argc, char **argv)
// a "mailto:" with no name should open an empty window // a "mailto:" with no name should open an empty window
// so remember if we got a "mailto:" even if there isn't a name // so remember if we got a "mailto:" even if there isn't a name
// that goes along with it (this allows deskbar replicant to open // that goes along with it (this allows deskbar replicant to open
// an empty message even when BeMail is already running) // an empty message even when Mail is already running)
bool gotmailto = false; bool gotmailto = false;
for (int32 loop = 1; loop < argc; loop++) for (int32 loop = 1; loop < argc; loop++)
@@ -486,7 +486,7 @@ TMailApp::MessageReceived(BMessage *msg)
{ {
// Do we need to update the state of the button bars? // Do we need to update the state of the button bars?
if (fPreviousShowButtonBar != sShowButtonBar) { if (fPreviousShowButtonBar != sShowButtonBar) {
// Notify all BeMail windows // Notify all Mail windows
TMailWindow *window; TMailWindow *window;
for (int32 i = 0; (window=(TMailWindow *)fWindowList.ItemAt(i)) != NULL; i++) { for (int32 i = 0; (window=(TMailWindow *)fWindowList.ItemAt(i)) != NULL; i++) {
window->Lock(); window->Lock();
@@ -1204,7 +1204,7 @@ TMailApp::NewWindow(const entry_ref *ref, const char *to, bool resend,
} }
} }
if (title == "") if (title == "")
title = "BeMail"; title = "Mail";
TMailWindow *window = new TMailWindow(r, title.String(), ref, to, &fFont, resend, TMailWindow *window = new TMailWindow(r, title.String(), ref, to, &fFont, resend,
trackerMessenger); trackerMessenger);
@@ -1378,7 +1378,7 @@ TMailWindow::TMailWindow(BRect rect, const char *title, const entry_ref *ref,
menu->AddSeparatorItem(); menu->AddSeparatorItem();
menu->AddItem(item = new BMenuItem( menu->AddItem(item = new BMenuItem(
MDR_DIALECT_CHOICE ("About BeMail", "A) BeMailについて") B_UTF8_ELLIPSIS, MDR_DIALECT_CHOICE ("About", "A) Mailについて") B_UTF8_ELLIPSIS,
new BMessage(B_ABOUT_REQUESTED))); new BMessage(B_ABOUT_REQUESTED)));
item->SetTarget(be_app); item->SetTarget(be_app);
@@ -1428,7 +1428,7 @@ TMailWindow::TMailWindow(BRect rect, const char *title, const entry_ref *ref,
} }
menu->AddSeparatorItem(); menu->AddSeparatorItem();
menu->AddItem(item = new BMenuItem( menu->AddItem(item = new BMenuItem(
MDR_DIALECT_CHOICE ("Preferences","P) BeMailの設定") B_UTF8_ELLIPSIS, MDR_DIALECT_CHOICE ("Preferences","P) Mailの設定") B_UTF8_ELLIPSIS,
new BMessage(M_PREFS),',')); new BMessage(M_PREFS),','));
item->SetTarget(be_app); item->SetTarget(be_app);
menu_bar->AddItem(menu); menu_bar->AddItem(menu);
@@ -2015,9 +2015,9 @@ TMailWindow::MessageReceived(BMessage *msg)
// Update title bar if "subject" has changed // Update title bar if "subject" has changed
if (!fIncoming && fieldMask & FIELD_SUBJECT) { if (!fIncoming && fieldMask & FIELD_SUBJECT) {
// If no subject, set to "BeMail" // If no subject, set to "Mail"
if (!fHeaderView->fSubject->TextView()->TextLength()) if (!fHeaderView->fSubject->TextView()->TextLength())
SetTitle("BeMail"); SetTitle("Mail");
else else
SetTitle(fHeaderView->fSubject->Text()); SetTitle(fHeaderView->fSubject->Text());
} }
@@ -3354,7 +3354,7 @@ TMailWindow::Send(bool now)
char versionString[255]; char versionString[255];
sprintf(versionString, sprintf(versionString,
"BeMail - Mail Daemon Replacement %ld.%ld.%ld %s", "Mail - Mail Daemon Replacement %ld.%ld.%ld %s",
versionInfo.major, versionInfo.middle, versionInfo.minor, varietyString); versionInfo.major, versionInfo.middle, versionInfo.minor, varietyString);
fMail->SetHeaderField("X-Mailer", versionString); fMail->SetHeaderField("X-Mailer", versionString);
} }
@@ -3672,10 +3672,9 @@ TMailWindow::SetTitleForMessage()
// //
// Figure out the title of this message and set the title bar // Figure out the title of this message and set the title bar
// //
BString title = "BeMail"; BString title = "Mail";
if (fIncoming) if (fIncoming) {
{
if (fMail->GetName(&title) == B_OK) if (fMail->GetName(&title) == B_OK)
title << ": \"" << fMail->Subject() << "\""; title << ": \"" << fMail->Subject() << "\"";
else else
@@ -114,7 +114,7 @@ TPrefsWindow::TPrefsWindow(BRect rect, BFont *font, int32 *level, bool *wrap,
bool *attachAttributes, bool *cquotes, uint32 *account, int32 *replyTo, bool *attachAttributes, bool *cquotes, uint32 *account, int32 *replyTo,
char **preamble, char **sig, uint32 *encoding, bool *warnUnencodable, char **preamble, char **sig, uint32 *encoding, bool *warnUnencodable,
bool *spellCheckStartOn, uint8 *buttonBar) bool *spellCheckStartOn, uint8 *buttonBar)
: BWindow(rect, MDR_DIALECT_CHOICE ("BeMail Preferences","BeMailの設定"), B_TITLED_WINDOW, B_NOT_RESIZABLE | B_NOT_ZOOMABLE) : BWindow(rect, MDR_DIALECT_CHOICE ("Mail Preferences","Mailの設定"), B_TITLED_WINDOW, B_NOT_RESIZABLE | B_NOT_ZOOMABLE)
{ {
BMenuField *menu; BMenuField *menu;