Removing most About windows and menu items as discussed here
http://www.freelists.org/post/haiku-commits/r40968-in-haikutrunksrcapps-activitymonitor-bootmanager-charactermap-codycam-deskbar,3 Leaving them for now in replicants, and in Terminal, according to (my interpretation of) the instructions here http://dev.haiku-os.org/browser/haiku/trunk/src/apps/terminal/README.GPL_to_OBOS#L70 Some sporadic cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41108 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -17,7 +17,6 @@
|
||||
#include <ctype.h>
|
||||
#include <assert.h>
|
||||
|
||||
#include <AboutMenuItem.h>
|
||||
#include <AboutWindow.h>
|
||||
#include <Alert.h>
|
||||
#include <Application.h>
|
||||
@@ -121,8 +120,6 @@ CalcView::CalcView(BRect frame, rgb_color rgbBaseColor, BMessage* settings)
|
||||
fAutoNumlockItem(NULL),
|
||||
fAudioFeedbackItem(NULL),
|
||||
fShowKeypadItem(NULL),
|
||||
fAboutItem(NULL),
|
||||
|
||||
fOptions(new CalcOptions()),
|
||||
fShowKeypad(true)
|
||||
{
|
||||
@@ -173,8 +170,6 @@ CalcView::CalcView(BMessage* archive)
|
||||
fAutoNumlockItem(NULL),
|
||||
fAudioFeedbackItem(NULL),
|
||||
fShowKeypadItem(NULL),
|
||||
fAboutItem(NULL),
|
||||
|
||||
fOptions(new CalcOptions()),
|
||||
fShowKeypad(true)
|
||||
{
|
||||
@@ -1112,7 +1107,6 @@ CalcView::_CreatePopUpMenu()
|
||||
new BMessage(MSG_OPTIONS_AUDIO_FEEDBACK));
|
||||
fShowKeypadItem = new BMenuItem(B_TRANSLATE("Show keypad"),
|
||||
new BMessage(MSG_OPTIONS_SHOW_KEYPAD));
|
||||
fAboutItem = new BAboutMenuItem();
|
||||
|
||||
// apply current settings
|
||||
fAutoNumlockItem->SetMarked(fOptions->auto_num_lock);
|
||||
@@ -1128,7 +1122,6 @@ CalcView::_CreatePopUpMenu()
|
||||
// fPopUpMenu->AddItem(fAudioFeedbackItem);
|
||||
fPopUpMenu->AddItem(fShowKeypadItem);
|
||||
fPopUpMenu->AddSeparatorItem();
|
||||
fPopUpMenu->AddItem(fAboutItem);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user