Remove non-functional help menu item, add an Info menu item that goes to the download page.

git-svn-id: svn://10.0.0.236/trunk@125076 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bryner%netscape.com
2002-07-12 04:53:12 +00:00
parent f8753fa9cf
commit 5a608bcf5e
30 changed files with 54 additions and 36 deletions

View File

@@ -24,6 +24,7 @@
goForward = id;
goHome = id;
importBookmarks = id;
infoLink = id;
manageBookmarks = id;
newTab = id;
newWindow = id;

View File

@@ -3,13 +3,13 @@
<plist version="0.9">
<dict>
<key>IBDocumentLocation</key>
<string>95 100 356 240 0 0 1152 746 </string>
<string>73 360 356 240 0 0 1152 848 </string>
<key>IBEditorPositions</key>
<dict>
<key>266</key>
<string>418 452 277 90 0 0 1152 746 </string>
<key>29</key>
<string>9 701 446 44 0 0 1152 746 </string>
<string>8 803 446 44 0 0 1152 848 </string>
</dict>
<key>IBFramework Version</key>
<string>248.0</string>
@@ -29,10 +29,6 @@
</dict>
<key>IBLastGroupID</key>
<string>2</string>
<key>IBOpenObjects</key>
<array>
<integer>29</integer>
</array>
<key>IBSystem Version</key>
<string>5S66</string>
</dict>

View File

@@ -122,6 +122,7 @@ class BookmarksService;
-(IBAction) closeTab:(id)aSender;
//Help menu actions
-(IBAction) infoLink:(id)aSender;
-(IBAction) feedbackLink:(id)aSender;
-(BrowserWindowController*)openBrowserWindowWithURL: (NSString*)aURL andReferrer: (NSString*)aReferrer;

View File

@@ -691,6 +691,13 @@ static const char* ioServiceContractID = "@mozilla.org/network/io-service;1";
[defaults setInteger: ((showToolbar) ? 0 : 1) forKey: USER_DEFAULTS_HIDE_PERS_TOOLBAR_KEY];
}
-(IBAction) infoLink:(id)aSender
{
NSString* pageToLoad = NSLocalizedStringFromTable(@"InfoPageDefault", @"WebsiteDefaults", nil);
if (![pageToLoad isEqualToString:@"InfoPageDefault"])
[self openNewWindowOrTabWithURL:pageToLoad andReferrer:nil];
}
-(IBAction) feedbackLink:(id)aSender
{
NSString *pageToLoad = NSLocalizedStringFromTable(@"FeedbackPageDefault", @"WebsiteDefaults", nil);

View File

@@ -24,6 +24,7 @@
goForward = id;
goHome = id;
importBookmarks = id;
infoLink = id;
manageBookmarks = id;
newTab = id;
newWindow = id;

View File

@@ -3,13 +3,13 @@
<plist version="0.9">
<dict>
<key>IBDocumentLocation</key>
<string>95 100 356 240 0 0 1152 746 </string>
<string>73 360 356 240 0 0 1152 848 </string>
<key>IBEditorPositions</key>
<dict>
<key>266</key>
<string>418 452 277 90 0 0 1152 746 </string>
<key>29</key>
<string>9 701 446 44 0 0 1152 746 </string>
<string>8 803 446 44 0 0 1152 848 </string>
</dict>
<key>IBFramework Version</key>
<string>248.0</string>
@@ -29,10 +29,6 @@
</dict>
<key>IBLastGroupID</key>
<string>2</string>
<key>IBOpenObjects</key>
<array>
<integer>29</integer>
</array>
<key>IBSystem Version</key>
<string>5S66</string>
</dict>

Binary file not shown.

View File

@@ -3,3 +3,4 @@ SearchPageDefault = "http://www.dmoz.org";
StartPageDefault = "about:blank";
ThrobberPageDefault = "http://www.mozilla.org";
FeedbackPageDefault = "http://chimera.mozdev.org";
InfoPageDefault = "http://chimera.mozdev.org/installation.html";

View File

@@ -3,3 +3,4 @@ SearchPageDefault = "http://www.dmoz.org";
StartPageDefault = "about:blank";
ThrobberPageDefault = "http://www.mozilla.org";
FeedbackPageDefault = "http://chimera.mozdev.org";
InfoPageDefault = "http://chimera.mozdev.org/installation.html";

View File

@@ -24,6 +24,7 @@
goForward = id;
goHome = id;
importBookmarks = id;
infoLink = id;
manageBookmarks = id;
newTab = id;
newWindow = id;

View File

@@ -3,13 +3,13 @@
<plist version="0.9">
<dict>
<key>IBDocumentLocation</key>
<string>95 100 356 240 0 0 1152 746 </string>
<string>73 360 356 240 0 0 1152 848 </string>
<key>IBEditorPositions</key>
<dict>
<key>266</key>
<string>418 452 277 90 0 0 1152 746 </string>
<key>29</key>
<string>9 701 446 44 0 0 1152 746 </string>
<string>8 803 446 44 0 0 1152 848 </string>
</dict>
<key>IBFramework Version</key>
<string>248.0</string>
@@ -29,10 +29,6 @@
</dict>
<key>IBLastGroupID</key>
<string>2</string>
<key>IBOpenObjects</key>
<array>
<integer>29</integer>
</array>
<key>IBSystem Version</key>
<string>5S66</string>
</dict>

View File

@@ -122,6 +122,7 @@ class BookmarksService;
-(IBAction) closeTab:(id)aSender;
//Help menu actions
-(IBAction) infoLink:(id)aSender;
-(IBAction) feedbackLink:(id)aSender;
-(BrowserWindowController*)openBrowserWindowWithURL: (NSString*)aURL andReferrer: (NSString*)aReferrer;

View File

@@ -691,6 +691,13 @@ static const char* ioServiceContractID = "@mozilla.org/network/io-service;1";
[defaults setInteger: ((showToolbar) ? 0 : 1) forKey: USER_DEFAULTS_HIDE_PERS_TOOLBAR_KEY];
}
-(IBAction) infoLink:(id)aSender
{
NSString* pageToLoad = NSLocalizedStringFromTable(@"InfoPageDefault", @"WebsiteDefaults", nil);
if (![pageToLoad isEqualToString:@"InfoPageDefault"])
[self openNewWindowOrTabWithURL:pageToLoad andReferrer:nil];
}
-(IBAction) feedbackLink:(id)aSender
{
NSString *pageToLoad = NSLocalizedStringFromTable(@"FeedbackPageDefault", @"WebsiteDefaults", nil);

View File

@@ -24,6 +24,7 @@
goForward = id;
goHome = id;
importBookmarks = id;
infoLink = id;
manageBookmarks = id;
newTab = id;
newWindow = id;

View File

@@ -3,13 +3,13 @@
<plist version="0.9">
<dict>
<key>IBDocumentLocation</key>
<string>95 100 356 240 0 0 1152 746 </string>
<string>73 360 356 240 0 0 1152 848 </string>
<key>IBEditorPositions</key>
<dict>
<key>266</key>
<string>418 452 277 90 0 0 1152 746 </string>
<key>29</key>
<string>9 701 446 44 0 0 1152 746 </string>
<string>8 803 446 44 0 0 1152 848 </string>
</dict>
<key>IBFramework Version</key>
<string>248.0</string>
@@ -29,10 +29,6 @@
</dict>
<key>IBLastGroupID</key>
<string>2</string>
<key>IBOpenObjects</key>
<array>
<integer>29</integer>
</array>
<key>IBSystem Version</key>
<string>5S66</string>
</dict>

View File

@@ -122,6 +122,7 @@ class BookmarksService;
-(IBAction) closeTab:(id)aSender;
//Help menu actions
-(IBAction) infoLink:(id)aSender;
-(IBAction) feedbackLink:(id)aSender;
-(BrowserWindowController*)openBrowserWindowWithURL: (NSString*)aURL andReferrer: (NSString*)aReferrer;

View File

@@ -691,6 +691,13 @@ static const char* ioServiceContractID = "@mozilla.org/network/io-service;1";
[defaults setInteger: ((showToolbar) ? 0 : 1) forKey: USER_DEFAULTS_HIDE_PERS_TOOLBAR_KEY];
}
-(IBAction) infoLink:(id)aSender
{
NSString* pageToLoad = NSLocalizedStringFromTable(@"InfoPageDefault", @"WebsiteDefaults", nil);
if (![pageToLoad isEqualToString:@"InfoPageDefault"])
[self openNewWindowOrTabWithURL:pageToLoad andReferrer:nil];
}
-(IBAction) feedbackLink:(id)aSender
{
NSString *pageToLoad = NSLocalizedStringFromTable(@"FeedbackPageDefault", @"WebsiteDefaults", nil);

View File

@@ -24,6 +24,7 @@
goForward = id;
goHome = id;
importBookmarks = id;
infoLink = id;
manageBookmarks = id;
newTab = id;
newWindow = id;

View File

@@ -3,13 +3,13 @@
<plist version="0.9">
<dict>
<key>IBDocumentLocation</key>
<string>95 100 356 240 0 0 1152 746 </string>
<string>73 360 356 240 0 0 1152 848 </string>
<key>IBEditorPositions</key>
<dict>
<key>266</key>
<string>418 452 277 90 0 0 1152 746 </string>
<key>29</key>
<string>9 701 446 44 0 0 1152 746 </string>
<string>8 803 446 44 0 0 1152 848 </string>
</dict>
<key>IBFramework Version</key>
<string>248.0</string>
@@ -29,10 +29,6 @@
</dict>
<key>IBLastGroupID</key>
<string>2</string>
<key>IBOpenObjects</key>
<array>
<integer>29</integer>
</array>
<key>IBSystem Version</key>
<string>5S66</string>
</dict>

Binary file not shown.

View File

@@ -3,3 +3,4 @@ SearchPageDefault = "http://www.dmoz.org";
StartPageDefault = "about:blank";
ThrobberPageDefault = "http://www.mozilla.org";
FeedbackPageDefault = "http://chimera.mozdev.org";
InfoPageDefault = "http://chimera.mozdev.org/installation.html";

View File

@@ -3,3 +3,4 @@ SearchPageDefault = "http://www.dmoz.org";
StartPageDefault = "about:blank";
ThrobberPageDefault = "http://www.mozilla.org";
FeedbackPageDefault = "http://chimera.mozdev.org";
InfoPageDefault = "http://chimera.mozdev.org/installation.html";

View File

@@ -24,6 +24,7 @@
goForward = id;
goHome = id;
importBookmarks = id;
infoLink = id;
manageBookmarks = id;
newTab = id;
newWindow = id;

View File

@@ -3,13 +3,13 @@
<plist version="0.9">
<dict>
<key>IBDocumentLocation</key>
<string>95 100 356 240 0 0 1152 746 </string>
<string>73 360 356 240 0 0 1152 848 </string>
<key>IBEditorPositions</key>
<dict>
<key>266</key>
<string>418 452 277 90 0 0 1152 746 </string>
<key>29</key>
<string>9 701 446 44 0 0 1152 746 </string>
<string>8 803 446 44 0 0 1152 848 </string>
</dict>
<key>IBFramework Version</key>
<string>248.0</string>
@@ -29,10 +29,6 @@
</dict>
<key>IBLastGroupID</key>
<string>2</string>
<key>IBOpenObjects</key>
<array>
<integer>29</integer>
</array>
<key>IBSystem Version</key>
<string>5S66</string>
</dict>

View File

@@ -122,6 +122,7 @@ class BookmarksService;
-(IBAction) closeTab:(id)aSender;
//Help menu actions
-(IBAction) infoLink:(id)aSender;
-(IBAction) feedbackLink:(id)aSender;
-(BrowserWindowController*)openBrowserWindowWithURL: (NSString*)aURL andReferrer: (NSString*)aReferrer;

View File

@@ -691,6 +691,13 @@ static const char* ioServiceContractID = "@mozilla.org/network/io-service;1";
[defaults setInteger: ((showToolbar) ? 0 : 1) forKey: USER_DEFAULTS_HIDE_PERS_TOOLBAR_KEY];
}
-(IBAction) infoLink:(id)aSender
{
NSString* pageToLoad = NSLocalizedStringFromTable(@"InfoPageDefault", @"WebsiteDefaults", nil);
if (![pageToLoad isEqualToString:@"InfoPageDefault"])
[self openNewWindowOrTabWithURL:pageToLoad andReferrer:nil];
}
-(IBAction) feedbackLink:(id)aSender
{
NSString *pageToLoad = NSLocalizedStringFromTable(@"FeedbackPageDefault", @"WebsiteDefaults", nil);