Removal of the About window.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41128 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jonas Sundström 2011-03-27 21:59:49 +00:00
parent 8a5f363dd8
commit fdd2b7ebb1
5 changed files with 0 additions and 38 deletions

View File

@ -31,7 +31,6 @@
#include "Globals.h"
#include "PrefHandler.h"
#include "TermConst.h"
#include "TermView.h"
#include "TermWindow.h"
@ -143,13 +142,6 @@ TermApp::Quit()
}
void
TermApp::AboutRequested()
{
TermView::AboutRequested();
}
void
TermApp::MessageReceived(BMessage* message)
{

View File

@ -52,7 +52,6 @@ protected:
virtual void ReadyToRun();
virtual bool QuitRequested();
virtual void Quit();
virtual void AboutRequested();
virtual void MessageReceived(BMessage* message);
virtual void RefsReceived(BMessage* message);
virtual void ArgvReceived(int32 argc, char** argv);

View File

@ -1790,11 +1790,6 @@ TermView::MessageReceived(BMessage *msg)
}
switch (msg->what){
case B_ABOUT_REQUESTED:
// (replicant) about box requested
AboutRequested();
break;
case B_SIMPLE_DATA:
case B_REFS_RECEIVED:
{
@ -3090,22 +3085,6 @@ TermView::InitiateDrag()
}
/* static */
void
TermView::AboutRequested()
{
BAlert *alert = new (std::nothrow) BAlert("about",
B_TRANSLATE("Terminal\n\n"
"written by Kazuho Okui and Takashi Murai\n"
"updated by Kian Duffy and others\n\n"
"Copyright " B_UTF8_COPYRIGHT "2003-2009, Haiku.\n"),
B_TRANSLATE("OK"));
alert->SetShortcut(0, B_ESCAPE);
if (alert != NULL)
alert->Go();
}
void
TermView::_ScrollTo(float y, bool scrollGfx)
{

View File

@ -104,7 +104,6 @@ public:
void InitiateDrag();
void DisableResizeView(int32 disableCount = 1);
static void AboutRequested();
void SetListener(Listener* listener)
{ fListener = listener; }

View File

@ -435,9 +435,6 @@ TermWindow::_SetupMenu()
.AddItem(B_TRANSLATE("Page setup" B_UTF8_ELLIPSIS), MENU_PAGE_SETUP)
.AddItem(B_TRANSLATE("Print"), MENU_PRINT,'P')
.AddSeparator()
.AddItem(B_TRANSLATE("About Terminal" B_UTF8_ELLIPSIS),
B_ABOUT_REQUESTED)
.AddSeparator()
.AddItem(B_TRANSLATE("Close window"), B_QUIT_REQUESTED, 'W',
B_SHIFT_KEY)
.AddItem(B_TRANSLATE("Close active tab"), kCloseView, 'W')
@ -618,10 +615,6 @@ TermWindow::MessageReceived(BMessage *message)
_ActiveTermView()->SelectAll();
break;
case B_ABOUT_REQUESTED:
be_app->PostMessage(B_ABOUT_REQUESTED);
break;
case MENU_CLEAR_ALL:
_ActiveTermView()->Clear();
break;