зеркало из https://github.com/mozilla/pjs.git
Remove non-functional help menu item, add an Info menu item that goes to the download page.
This commit is contained in:
Родитель
6abc3fce55
Коммит
a18b09b2b2
|
@ -24,6 +24,7 @@
|
|||
goForward = id;
|
||||
goHome = id;
|
||||
importBookmarks = id;
|
||||
infoLink = id;
|
||||
manageBookmarks = id;
|
||||
newTab = id;
|
||||
newWindow = id;
|
||||
|
|
|
@ -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>
|
||||
|
|
Двоичный файл не отображается.
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
goForward = id;
|
||||
goHome = id;
|
||||
importBookmarks = id;
|
||||
infoLink = id;
|
||||
manageBookmarks = id;
|
||||
newTab = id;
|
||||
newWindow = id;
|
||||
|
|
|
@ -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>
|
||||
|
|
Двоичный файл не отображается.
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
goForward = id;
|
||||
goHome = id;
|
||||
importBookmarks = id;
|
||||
infoLink = id;
|
||||
manageBookmarks = id;
|
||||
newTab = id;
|
||||
newWindow = id;
|
||||
|
|
|
@ -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>
|
||||
|
|
Двоичный файл не отображается.
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
goForward = id;
|
||||
goHome = id;
|
||||
importBookmarks = id;
|
||||
infoLink = id;
|
||||
manageBookmarks = id;
|
||||
newTab = id;
|
||||
newWindow = id;
|
||||
|
|
|
@ -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>
|
||||
|
|
Двоичный файл не отображается.
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
goForward = id;
|
||||
goHome = id;
|
||||
importBookmarks = id;
|
||||
infoLink = id;
|
||||
manageBookmarks = id;
|
||||
newTab = id;
|
||||
newWindow = id;
|
||||
|
|
|
@ -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>
|
||||
|
|
Двоичный файл не отображается.
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
goForward = id;
|
||||
goHome = id;
|
||||
importBookmarks = id;
|
||||
infoLink = id;
|
||||
manageBookmarks = id;
|
||||
newTab = id;
|
||||
newWindow = id;
|
||||
|
|
|
@ -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>
|
||||
|
|
Двоичный файл не отображается.
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче