From 25295d1edecfbff1f06a4fd692f053c5d71dcf09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Sat, 17 Oct 2009 14:39:35 +0000 Subject: [PATCH] * Removed mail & inbox icons. Unless someone really objects; I would consider them pretty much useless. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33616 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/mail/MailWindow.cpp | 26 ++++---------------------- src/apps/mail/Messages.h | 2 -- 2 files changed, 4 insertions(+), 24 deletions(-) diff --git a/src/apps/mail/MailWindow.cpp b/src/apps/mail/MailWindow.cpp index c43c79d50f..c354bbe443 100644 --- a/src/apps/mail/MailWindow.cpp +++ b/src/apps/mail/MailWindow.cpp @@ -48,10 +48,7 @@ All rights reserved. #include #include #include -#include -#ifdef __HAIKU__ -# include -#endif +#include #include #include #include @@ -70,12 +67,6 @@ All rights reserved. #include -using namespace BPrivate ; - -#ifdef HAIKU_TARGET_PLATFORM_BEOS - #include -#endif - #include "ButtonBar.h" #include "Content.h" #include "Enclosures.h" @@ -95,6 +86,9 @@ using namespace BPrivate ; #include "Words.h" +using namespace BPrivate; + + const char *kUndoStrings[] = { MDR_DIALECT_CHOICE ("Undo","Z) 取り消し"), MDR_DIALECT_CHOICE ("Undo Typing","Z) 取り消し(入力)"), @@ -639,10 +633,6 @@ TMailWindow::BuildButtonBar() _AddReadButton(); } } - bbar->AddButton(MDR_DIALECT_CHOICE ("Inbox","受信箱"), 36, - new BMessage(M_OPEN_MAIL_BOX)); - bbar->AddButton(MDR_DIALECT_CHOICE ("Mail","メール"), 32, - new BMessage(M_OPEN_MAIL_FOLDER)); bbar->SetViewColor(ui_color(B_PANEL_BACKGROUND_COLOR)); bbar->Hide(); @@ -1474,14 +1464,6 @@ TMailWindow::MessageReceived(BMessage *msg) SaveTrackerPosition(fRef); break; - case M_OPEN_MAIL_FOLDER: - OpenWithTracker(B_USER_DIRECTORY, kMailFolder); - break; - - case M_OPEN_MAIL_BOX: - OpenWithTracker(B_USER_SETTINGS_DIRECTORY, kMailboxSymlink); - break; - case RESET_BUTTONS: fChanged = false; fFieldState = 0; diff --git a/src/apps/mail/Messages.h b/src/apps/mail/Messages.h index 2cef192ee9..a381bd2c92 100644 --- a/src/apps/mail/Messages.h +++ b/src/apps/mail/Messages.h @@ -87,8 +87,6 @@ enum MENUS { M_CLOSE_SAME, M_CLOSE_CUSTOM, M_STATUS, - M_OPEN_MAIL_BOX, - M_OPEN_MAIL_FOLDER, // edit M_SELECT,