Undo ben's horkage.
This commit is contained in:
Родитель
af5aeeaded
Коммит
612aad1012
|
@ -34,6 +34,7 @@
|
|||
stop = id;
|
||||
toggleSidebar = id;
|
||||
viewOnlyThisImage = id;
|
||||
viewSource = id;
|
||||
};
|
||||
CLASS = BrowserWindowController;
|
||||
LANGUAGE = ObjC;
|
||||
|
@ -43,7 +44,6 @@
|
|||
mAddBookmarkSheetWindow = id;
|
||||
mAddBookmarkTitleField = id;
|
||||
mCachedBMDS = id;
|
||||
mHistoryDataSource = id;
|
||||
mImageLinkMenu = id;
|
||||
mImageMenu = id;
|
||||
mInputMenu = id;
|
||||
|
@ -75,18 +75,7 @@
|
|||
{CLASS = CHBookmarksToolbar; LANGUAGE = ObjC; SUPERCLASS = NSView; },
|
||||
{CLASS = CHExtendedOutlineView; LANGUAGE = ObjC; SUPERCLASS = NSOutlineView; },
|
||||
{CLASS = CHExtendedTabView; LANGUAGE = ObjC; SUPERCLASS = NSTabView; },
|
||||
{
|
||||
CLASS = CHHistoryDataSource;
|
||||
LANGUAGE = ObjC;
|
||||
SUPERCLASS = CHRDFOutlineViewDataSource;
|
||||
},
|
||||
{CLASS = CHLocationBar; LANGUAGE = ObjC; SUPERCLASS = NSView; },
|
||||
{
|
||||
CLASS = CHRDFOutlineViewDataSource;
|
||||
LANGUAGE = ObjC;
|
||||
OUTLETS = {mOutlineView = id; };
|
||||
SUPERCLASS = NSObject;
|
||||
},
|
||||
{CLASS = ExtendedOutlineView; LANGUAGE = ObjC; SUPERCLASS = NSOutlineView; },
|
||||
{CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; },
|
||||
{CLASS = LocationBar; LANGUAGE = ObjC; SUPERCLASS = NSView; },
|
||||
|
@ -109,8 +98,7 @@
|
|||
urlbar = id;
|
||||
};
|
||||
SUPERCLASS = NSView;
|
||||
},
|
||||
{CLASS = RDFOutlineViewItem; LANGUAGE = ObjC; SUPERCLASS = NSObject; }
|
||||
}
|
||||
);
|
||||
IBVersion = 1;
|
||||
}
|
|
@ -3,31 +3,29 @@
|
|||
<plist version="0.9">
|
||||
<dict>
|
||||
<key>IBDocumentLocation</key>
|
||||
<string>97 226 480 309 0 0 1280 1002 </string>
|
||||
<string>7 130 480 309 0 0 1152 746 </string>
|
||||
<key>IBEditorPositions</key>
|
||||
<dict>
|
||||
<key>124</key>
|
||||
<string>431 537 170 180 0 0 1152 746 </string>
|
||||
<key>160</key>
|
||||
<string>572 326 195 666 0 0 1280 1002 </string>
|
||||
<string>478 70 195 666 0 0 1152 746 </string>
|
||||
<key>28</key>
|
||||
<string>572 439 195 457 0 0 1280 1002 </string>
|
||||
<string>478 279 195 457 0 0 1152 746 </string>
|
||||
<key>297</key>
|
||||
<string>70 110 187 210 0 0 1152 746 </string>
|
||||
<string>70 110 198 210 0 0 1152 746 </string>
|
||||
<key>314</key>
|
||||
<string>271 139 168 180 0 0 1152 746 </string>
|
||||
<string>271 139 198 180 0 0 1152 746 </string>
|
||||
<key>336</key>
|
||||
<string>458 90 200 162 0 0 1152 746 </string>
|
||||
<key>343</key>
|
||||
<string>499 330 200 252 0 0 1152 746 </string>
|
||||
<key>365</key>
|
||||
<string>22 500 93 162 0 0 1152 746 </string>
|
||||
<key>463</key>
|
||||
<string>7 444 200 252 0 0 1152 746 </string>
|
||||
<key>475</key>
|
||||
<string>609 597 120 142 0 0 1280 1002 </string>
|
||||
<string>516 447 120 142 0 0 1152 746 </string>
|
||||
<key>56</key>
|
||||
<string>498 634 343 68 0 0 1280 1002 </string>
|
||||
<string>404 484 343 68 0 0 1152 746 </string>
|
||||
</dict>
|
||||
<key>IBFramework Version</key>
|
||||
<string>248.0</string>
|
||||
|
@ -47,9 +45,12 @@
|
|||
</array>
|
||||
<key>IBOpenObjects</key>
|
||||
<array>
|
||||
<integer>475</integer>
|
||||
<integer>56</integer>
|
||||
<integer>297</integer>
|
||||
<integer>160</integer>
|
||||
</array>
|
||||
<key>IBSystem Version</key>
|
||||
<string>5L21</string>
|
||||
<string>5Q125</string>
|
||||
</dict>
|
||||
</plist>
|
||||
|
|
Двоичный файл не отображается.
|
@ -9,6 +9,7 @@
|
|||
#include "nsIPrefBranch.h"
|
||||
#include "nsIPrefService.h"
|
||||
#include "nsString.h"
|
||||
#include "nsEmbedAPI.h"
|
||||
|
||||
extern const char *prefContractID;
|
||||
|
||||
|
@ -53,7 +54,9 @@ extern const char *prefContractID;
|
|||
|
||||
- (BOOL) initMozillaPrefs
|
||||
{
|
||||
nsresult rv;
|
||||
nsresult rv = NS_InitEmbedding(nsnull, nsnull);
|
||||
if (NS_FAILED(rv))
|
||||
return NO;
|
||||
|
||||
NSBundle *mainBundle = [NSBundle mainBundle];
|
||||
NSString *path = [mainBundle bundlePath];
|
||||
|
|
|
@ -34,6 +34,7 @@
|
|||
stop = id;
|
||||
toggleSidebar = id;
|
||||
viewOnlyThisImage = id;
|
||||
viewSource = id;
|
||||
};
|
||||
CLASS = BrowserWindowController;
|
||||
LANGUAGE = ObjC;
|
||||
|
@ -43,7 +44,6 @@
|
|||
mAddBookmarkSheetWindow = id;
|
||||
mAddBookmarkTitleField = id;
|
||||
mCachedBMDS = id;
|
||||
mHistoryDataSource = id;
|
||||
mImageLinkMenu = id;
|
||||
mImageMenu = id;
|
||||
mInputMenu = id;
|
||||
|
@ -75,18 +75,7 @@
|
|||
{CLASS = CHBookmarksToolbar; LANGUAGE = ObjC; SUPERCLASS = NSView; },
|
||||
{CLASS = CHExtendedOutlineView; LANGUAGE = ObjC; SUPERCLASS = NSOutlineView; },
|
||||
{CLASS = CHExtendedTabView; LANGUAGE = ObjC; SUPERCLASS = NSTabView; },
|
||||
{
|
||||
CLASS = CHHistoryDataSource;
|
||||
LANGUAGE = ObjC;
|
||||
SUPERCLASS = CHRDFOutlineViewDataSource;
|
||||
},
|
||||
{CLASS = CHLocationBar; LANGUAGE = ObjC; SUPERCLASS = NSView; },
|
||||
{
|
||||
CLASS = CHRDFOutlineViewDataSource;
|
||||
LANGUAGE = ObjC;
|
||||
OUTLETS = {mOutlineView = id; };
|
||||
SUPERCLASS = NSObject;
|
||||
},
|
||||
{CLASS = ExtendedOutlineView; LANGUAGE = ObjC; SUPERCLASS = NSOutlineView; },
|
||||
{CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; },
|
||||
{CLASS = LocationBar; LANGUAGE = ObjC; SUPERCLASS = NSView; },
|
||||
|
@ -109,8 +98,7 @@
|
|||
urlbar = id;
|
||||
};
|
||||
SUPERCLASS = NSView;
|
||||
},
|
||||
{CLASS = RDFOutlineViewItem; LANGUAGE = ObjC; SUPERCLASS = NSObject; }
|
||||
}
|
||||
);
|
||||
IBVersion = 1;
|
||||
}
|
|
@ -3,31 +3,29 @@
|
|||
<plist version="0.9">
|
||||
<dict>
|
||||
<key>IBDocumentLocation</key>
|
||||
<string>97 226 480 309 0 0 1280 1002 </string>
|
||||
<string>7 130 480 309 0 0 1152 746 </string>
|
||||
<key>IBEditorPositions</key>
|
||||
<dict>
|
||||
<key>124</key>
|
||||
<string>431 537 170 180 0 0 1152 746 </string>
|
||||
<key>160</key>
|
||||
<string>572 326 195 666 0 0 1280 1002 </string>
|
||||
<string>478 70 195 666 0 0 1152 746 </string>
|
||||
<key>28</key>
|
||||
<string>572 439 195 457 0 0 1280 1002 </string>
|
||||
<string>478 279 195 457 0 0 1152 746 </string>
|
||||
<key>297</key>
|
||||
<string>70 110 187 210 0 0 1152 746 </string>
|
||||
<string>70 110 198 210 0 0 1152 746 </string>
|
||||
<key>314</key>
|
||||
<string>271 139 168 180 0 0 1152 746 </string>
|
||||
<string>271 139 198 180 0 0 1152 746 </string>
|
||||
<key>336</key>
|
||||
<string>458 90 200 162 0 0 1152 746 </string>
|
||||
<key>343</key>
|
||||
<string>499 330 200 252 0 0 1152 746 </string>
|
||||
<key>365</key>
|
||||
<string>22 500 93 162 0 0 1152 746 </string>
|
||||
<key>463</key>
|
||||
<string>7 444 200 252 0 0 1152 746 </string>
|
||||
<key>475</key>
|
||||
<string>609 597 120 142 0 0 1280 1002 </string>
|
||||
<string>516 447 120 142 0 0 1152 746 </string>
|
||||
<key>56</key>
|
||||
<string>498 634 343 68 0 0 1280 1002 </string>
|
||||
<string>404 484 343 68 0 0 1152 746 </string>
|
||||
</dict>
|
||||
<key>IBFramework Version</key>
|
||||
<string>248.0</string>
|
||||
|
@ -47,9 +45,12 @@
|
|||
</array>
|
||||
<key>IBOpenObjects</key>
|
||||
<array>
|
||||
<integer>475</integer>
|
||||
<integer>56</integer>
|
||||
<integer>297</integer>
|
||||
<integer>160</integer>
|
||||
</array>
|
||||
<key>IBSystem Version</key>
|
||||
<string>5L21</string>
|
||||
<string>5Q125</string>
|
||||
</dict>
|
||||
</plist>
|
||||
|
|
Двоичный файл не отображается.
|
@ -80,19 +80,14 @@ nsCocoaBrowserService::InitEmbedding()
|
|||
}
|
||||
NS_ADDREF(sSingleton);
|
||||
|
||||
nsresult rv = NS_InitEmbedding(nsnull, nsnull);
|
||||
if (NS_FAILED(rv)) {
|
||||
return rv;
|
||||
}
|
||||
|
||||
// Register as the prompt service
|
||||
#define NS_PROMPTSERVICE_CID \
|
||||
{0xa2112d6a, 0x0e28, 0x421f, {0xb4, 0x6a, 0x25, 0xc0, 0xb3, 0x8, 0xcb, 0xd0}}
|
||||
static NS_DEFINE_CID(kPromptServiceCID, NS_PROMPTSERVICE_CID);
|
||||
|
||||
rv = nsComponentManager::RegisterFactory(kPromptServiceCID,
|
||||
"Prompt Service",
|
||||
"@mozilla.org/embedcomp/prompt-service;1",
|
||||
nsresult rv = nsComponentManager::RegisterFactory(kPromptServiceCID,
|
||||
"Prompt Service",
|
||||
"@mozilla.org/embedcomp/prompt-service;1",
|
||||
sSingleton,
|
||||
PR_TRUE); // replace existing
|
||||
if (NS_FAILED(rv)) {
|
||||
|
|
|
@ -34,6 +34,7 @@
|
|||
stop = id;
|
||||
toggleSidebar = id;
|
||||
viewOnlyThisImage = id;
|
||||
viewSource = id;
|
||||
};
|
||||
CLASS = BrowserWindowController;
|
||||
LANGUAGE = ObjC;
|
||||
|
@ -43,7 +44,6 @@
|
|||
mAddBookmarkSheetWindow = id;
|
||||
mAddBookmarkTitleField = id;
|
||||
mCachedBMDS = id;
|
||||
mHistoryDataSource = id;
|
||||
mImageLinkMenu = id;
|
||||
mImageMenu = id;
|
||||
mInputMenu = id;
|
||||
|
@ -75,18 +75,7 @@
|
|||
{CLASS = CHBookmarksToolbar; LANGUAGE = ObjC; SUPERCLASS = NSView; },
|
||||
{CLASS = CHExtendedOutlineView; LANGUAGE = ObjC; SUPERCLASS = NSOutlineView; },
|
||||
{CLASS = CHExtendedTabView; LANGUAGE = ObjC; SUPERCLASS = NSTabView; },
|
||||
{
|
||||
CLASS = CHHistoryDataSource;
|
||||
LANGUAGE = ObjC;
|
||||
SUPERCLASS = CHRDFOutlineViewDataSource;
|
||||
},
|
||||
{CLASS = CHLocationBar; LANGUAGE = ObjC; SUPERCLASS = NSView; },
|
||||
{
|
||||
CLASS = CHRDFOutlineViewDataSource;
|
||||
LANGUAGE = ObjC;
|
||||
OUTLETS = {mOutlineView = id; };
|
||||
SUPERCLASS = NSObject;
|
||||
},
|
||||
{CLASS = ExtendedOutlineView; LANGUAGE = ObjC; SUPERCLASS = NSOutlineView; },
|
||||
{CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; },
|
||||
{CLASS = LocationBar; LANGUAGE = ObjC; SUPERCLASS = NSView; },
|
||||
|
@ -109,8 +98,7 @@
|
|||
urlbar = id;
|
||||
};
|
||||
SUPERCLASS = NSView;
|
||||
},
|
||||
{CLASS = RDFOutlineViewItem; LANGUAGE = ObjC; SUPERCLASS = NSObject; }
|
||||
}
|
||||
);
|
||||
IBVersion = 1;
|
||||
}
|
|
@ -3,31 +3,29 @@
|
|||
<plist version="0.9">
|
||||
<dict>
|
||||
<key>IBDocumentLocation</key>
|
||||
<string>97 226 480 309 0 0 1280 1002 </string>
|
||||
<string>7 130 480 309 0 0 1152 746 </string>
|
||||
<key>IBEditorPositions</key>
|
||||
<dict>
|
||||
<key>124</key>
|
||||
<string>431 537 170 180 0 0 1152 746 </string>
|
||||
<key>160</key>
|
||||
<string>572 326 195 666 0 0 1280 1002 </string>
|
||||
<string>478 70 195 666 0 0 1152 746 </string>
|
||||
<key>28</key>
|
||||
<string>572 439 195 457 0 0 1280 1002 </string>
|
||||
<string>478 279 195 457 0 0 1152 746 </string>
|
||||
<key>297</key>
|
||||
<string>70 110 187 210 0 0 1152 746 </string>
|
||||
<string>70 110 198 210 0 0 1152 746 </string>
|
||||
<key>314</key>
|
||||
<string>271 139 168 180 0 0 1152 746 </string>
|
||||
<string>271 139 198 180 0 0 1152 746 </string>
|
||||
<key>336</key>
|
||||
<string>458 90 200 162 0 0 1152 746 </string>
|
||||
<key>343</key>
|
||||
<string>499 330 200 252 0 0 1152 746 </string>
|
||||
<key>365</key>
|
||||
<string>22 500 93 162 0 0 1152 746 </string>
|
||||
<key>463</key>
|
||||
<string>7 444 200 252 0 0 1152 746 </string>
|
||||
<key>475</key>
|
||||
<string>609 597 120 142 0 0 1280 1002 </string>
|
||||
<string>516 447 120 142 0 0 1152 746 </string>
|
||||
<key>56</key>
|
||||
<string>498 634 343 68 0 0 1280 1002 </string>
|
||||
<string>404 484 343 68 0 0 1152 746 </string>
|
||||
</dict>
|
||||
<key>IBFramework Version</key>
|
||||
<string>248.0</string>
|
||||
|
@ -47,9 +45,12 @@
|
|||
</array>
|
||||
<key>IBOpenObjects</key>
|
||||
<array>
|
||||
<integer>475</integer>
|
||||
<integer>56</integer>
|
||||
<integer>297</integer>
|
||||
<integer>160</integer>
|
||||
</array>
|
||||
<key>IBSystem Version</key>
|
||||
<string>5L21</string>
|
||||
<string>5Q125</string>
|
||||
</dict>
|
||||
</plist>
|
||||
|
|
Двоичные данные
camino/resources/localized/English.lproj/BrowserWindow.nib/objects.nib
сгенерированный
Двоичные данные
camino/resources/localized/English.lproj/BrowserWindow.nib/objects.nib
сгенерированный
Двоичный файл не отображается.
|
@ -80,19 +80,14 @@ nsCocoaBrowserService::InitEmbedding()
|
|||
}
|
||||
NS_ADDREF(sSingleton);
|
||||
|
||||
nsresult rv = NS_InitEmbedding(nsnull, nsnull);
|
||||
if (NS_FAILED(rv)) {
|
||||
return rv;
|
||||
}
|
||||
|
||||
// Register as the prompt service
|
||||
#define NS_PROMPTSERVICE_CID \
|
||||
{0xa2112d6a, 0x0e28, 0x421f, {0xb4, 0x6a, 0x25, 0xc0, 0xb3, 0x8, 0xcb, 0xd0}}
|
||||
static NS_DEFINE_CID(kPromptServiceCID, NS_PROMPTSERVICE_CID);
|
||||
|
||||
rv = nsComponentManager::RegisterFactory(kPromptServiceCID,
|
||||
"Prompt Service",
|
||||
"@mozilla.org/embedcomp/prompt-service;1",
|
||||
nsresult rv = nsComponentManager::RegisterFactory(kPromptServiceCID,
|
||||
"Prompt Service",
|
||||
"@mozilla.org/embedcomp/prompt-service;1",
|
||||
sSingleton,
|
||||
PR_TRUE); // replace existing
|
||||
if (NS_FAILED(rv)) {
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
#include "nsIPrefBranch.h"
|
||||
#include "nsIPrefService.h"
|
||||
#include "nsString.h"
|
||||
#include "nsEmbedAPI.h"
|
||||
|
||||
extern const char *prefContractID;
|
||||
|
||||
|
@ -53,7 +54,9 @@ extern const char *prefContractID;
|
|||
|
||||
- (BOOL) initMozillaPrefs
|
||||
{
|
||||
nsresult rv;
|
||||
nsresult rv = NS_InitEmbedding(nsnull, nsnull);
|
||||
if (NS_FAILED(rv))
|
||||
return NO;
|
||||
|
||||
NSBundle *mainBundle = [NSBundle mainBundle];
|
||||
NSString *path = [mainBundle bundlePath];
|
||||
|
|
|
@ -34,6 +34,7 @@
|
|||
stop = id;
|
||||
toggleSidebar = id;
|
||||
viewOnlyThisImage = id;
|
||||
viewSource = id;
|
||||
};
|
||||
CLASS = BrowserWindowController;
|
||||
LANGUAGE = ObjC;
|
||||
|
@ -43,7 +44,6 @@
|
|||
mAddBookmarkSheetWindow = id;
|
||||
mAddBookmarkTitleField = id;
|
||||
mCachedBMDS = id;
|
||||
mHistoryDataSource = id;
|
||||
mImageLinkMenu = id;
|
||||
mImageMenu = id;
|
||||
mInputMenu = id;
|
||||
|
@ -75,18 +75,7 @@
|
|||
{CLASS = CHBookmarksToolbar; LANGUAGE = ObjC; SUPERCLASS = NSView; },
|
||||
{CLASS = CHExtendedOutlineView; LANGUAGE = ObjC; SUPERCLASS = NSOutlineView; },
|
||||
{CLASS = CHExtendedTabView; LANGUAGE = ObjC; SUPERCLASS = NSTabView; },
|
||||
{
|
||||
CLASS = CHHistoryDataSource;
|
||||
LANGUAGE = ObjC;
|
||||
SUPERCLASS = CHRDFOutlineViewDataSource;
|
||||
},
|
||||
{CLASS = CHLocationBar; LANGUAGE = ObjC; SUPERCLASS = NSView; },
|
||||
{
|
||||
CLASS = CHRDFOutlineViewDataSource;
|
||||
LANGUAGE = ObjC;
|
||||
OUTLETS = {mOutlineView = id; };
|
||||
SUPERCLASS = NSObject;
|
||||
},
|
||||
{CLASS = ExtendedOutlineView; LANGUAGE = ObjC; SUPERCLASS = NSOutlineView; },
|
||||
{CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; },
|
||||
{CLASS = LocationBar; LANGUAGE = ObjC; SUPERCLASS = NSView; },
|
||||
|
@ -109,8 +98,7 @@
|
|||
urlbar = id;
|
||||
};
|
||||
SUPERCLASS = NSView;
|
||||
},
|
||||
{CLASS = RDFOutlineViewItem; LANGUAGE = ObjC; SUPERCLASS = NSObject; }
|
||||
}
|
||||
);
|
||||
IBVersion = 1;
|
||||
}
|
|
@ -3,31 +3,29 @@
|
|||
<plist version="0.9">
|
||||
<dict>
|
||||
<key>IBDocumentLocation</key>
|
||||
<string>97 226 480 309 0 0 1280 1002 </string>
|
||||
<string>7 130 480 309 0 0 1152 746 </string>
|
||||
<key>IBEditorPositions</key>
|
||||
<dict>
|
||||
<key>124</key>
|
||||
<string>431 537 170 180 0 0 1152 746 </string>
|
||||
<key>160</key>
|
||||
<string>572 326 195 666 0 0 1280 1002 </string>
|
||||
<string>478 70 195 666 0 0 1152 746 </string>
|
||||
<key>28</key>
|
||||
<string>572 439 195 457 0 0 1280 1002 </string>
|
||||
<string>478 279 195 457 0 0 1152 746 </string>
|
||||
<key>297</key>
|
||||
<string>70 110 187 210 0 0 1152 746 </string>
|
||||
<string>70 110 198 210 0 0 1152 746 </string>
|
||||
<key>314</key>
|
||||
<string>271 139 168 180 0 0 1152 746 </string>
|
||||
<string>271 139 198 180 0 0 1152 746 </string>
|
||||
<key>336</key>
|
||||
<string>458 90 200 162 0 0 1152 746 </string>
|
||||
<key>343</key>
|
||||
<string>499 330 200 252 0 0 1152 746 </string>
|
||||
<key>365</key>
|
||||
<string>22 500 93 162 0 0 1152 746 </string>
|
||||
<key>463</key>
|
||||
<string>7 444 200 252 0 0 1152 746 </string>
|
||||
<key>475</key>
|
||||
<string>609 597 120 142 0 0 1280 1002 </string>
|
||||
<string>516 447 120 142 0 0 1152 746 </string>
|
||||
<key>56</key>
|
||||
<string>498 634 343 68 0 0 1280 1002 </string>
|
||||
<string>404 484 343 68 0 0 1152 746 </string>
|
||||
</dict>
|
||||
<key>IBFramework Version</key>
|
||||
<string>248.0</string>
|
||||
|
@ -47,9 +45,12 @@
|
|||
</array>
|
||||
<key>IBOpenObjects</key>
|
||||
<array>
|
||||
<integer>475</integer>
|
||||
<integer>56</integer>
|
||||
<integer>297</integer>
|
||||
<integer>160</integer>
|
||||
</array>
|
||||
<key>IBSystem Version</key>
|
||||
<string>5L21</string>
|
||||
<string>5Q125</string>
|
||||
</dict>
|
||||
</plist>
|
||||
|
|
Двоичный файл не отображается.
|
@ -9,6 +9,7 @@
|
|||
#include "nsIPrefBranch.h"
|
||||
#include "nsIPrefService.h"
|
||||
#include "nsString.h"
|
||||
#include "nsEmbedAPI.h"
|
||||
|
||||
extern const char *prefContractID;
|
||||
|
||||
|
@ -53,7 +54,9 @@ extern const char *prefContractID;
|
|||
|
||||
- (BOOL) initMozillaPrefs
|
||||
{
|
||||
nsresult rv;
|
||||
nsresult rv = NS_InitEmbedding(nsnull, nsnull);
|
||||
if (NS_FAILED(rv))
|
||||
return NO;
|
||||
|
||||
NSBundle *mainBundle = [NSBundle mainBundle];
|
||||
NSString *path = [mainBundle bundlePath];
|
||||
|
|
|
@ -34,6 +34,7 @@
|
|||
stop = id;
|
||||
toggleSidebar = id;
|
||||
viewOnlyThisImage = id;
|
||||
viewSource = id;
|
||||
};
|
||||
CLASS = BrowserWindowController;
|
||||
LANGUAGE = ObjC;
|
||||
|
@ -43,7 +44,6 @@
|
|||
mAddBookmarkSheetWindow = id;
|
||||
mAddBookmarkTitleField = id;
|
||||
mCachedBMDS = id;
|
||||
mHistoryDataSource = id;
|
||||
mImageLinkMenu = id;
|
||||
mImageMenu = id;
|
||||
mInputMenu = id;
|
||||
|
@ -75,18 +75,7 @@
|
|||
{CLASS = CHBookmarksToolbar; LANGUAGE = ObjC; SUPERCLASS = NSView; },
|
||||
{CLASS = CHExtendedOutlineView; LANGUAGE = ObjC; SUPERCLASS = NSOutlineView; },
|
||||
{CLASS = CHExtendedTabView; LANGUAGE = ObjC; SUPERCLASS = NSTabView; },
|
||||
{
|
||||
CLASS = CHHistoryDataSource;
|
||||
LANGUAGE = ObjC;
|
||||
SUPERCLASS = CHRDFOutlineViewDataSource;
|
||||
},
|
||||
{CLASS = CHLocationBar; LANGUAGE = ObjC; SUPERCLASS = NSView; },
|
||||
{
|
||||
CLASS = CHRDFOutlineViewDataSource;
|
||||
LANGUAGE = ObjC;
|
||||
OUTLETS = {mOutlineView = id; };
|
||||
SUPERCLASS = NSObject;
|
||||
},
|
||||
{CLASS = ExtendedOutlineView; LANGUAGE = ObjC; SUPERCLASS = NSOutlineView; },
|
||||
{CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; },
|
||||
{CLASS = LocationBar; LANGUAGE = ObjC; SUPERCLASS = NSView; },
|
||||
|
@ -109,8 +98,7 @@
|
|||
urlbar = id;
|
||||
};
|
||||
SUPERCLASS = NSView;
|
||||
},
|
||||
{CLASS = RDFOutlineViewItem; LANGUAGE = ObjC; SUPERCLASS = NSObject; }
|
||||
}
|
||||
);
|
||||
IBVersion = 1;
|
||||
}
|
|
@ -3,31 +3,29 @@
|
|||
<plist version="0.9">
|
||||
<dict>
|
||||
<key>IBDocumentLocation</key>
|
||||
<string>97 226 480 309 0 0 1280 1002 </string>
|
||||
<string>7 130 480 309 0 0 1152 746 </string>
|
||||
<key>IBEditorPositions</key>
|
||||
<dict>
|
||||
<key>124</key>
|
||||
<string>431 537 170 180 0 0 1152 746 </string>
|
||||
<key>160</key>
|
||||
<string>572 326 195 666 0 0 1280 1002 </string>
|
||||
<string>478 70 195 666 0 0 1152 746 </string>
|
||||
<key>28</key>
|
||||
<string>572 439 195 457 0 0 1280 1002 </string>
|
||||
<string>478 279 195 457 0 0 1152 746 </string>
|
||||
<key>297</key>
|
||||
<string>70 110 187 210 0 0 1152 746 </string>
|
||||
<string>70 110 198 210 0 0 1152 746 </string>
|
||||
<key>314</key>
|
||||
<string>271 139 168 180 0 0 1152 746 </string>
|
||||
<string>271 139 198 180 0 0 1152 746 </string>
|
||||
<key>336</key>
|
||||
<string>458 90 200 162 0 0 1152 746 </string>
|
||||
<key>343</key>
|
||||
<string>499 330 200 252 0 0 1152 746 </string>
|
||||
<key>365</key>
|
||||
<string>22 500 93 162 0 0 1152 746 </string>
|
||||
<key>463</key>
|
||||
<string>7 444 200 252 0 0 1152 746 </string>
|
||||
<key>475</key>
|
||||
<string>609 597 120 142 0 0 1280 1002 </string>
|
||||
<string>516 447 120 142 0 0 1152 746 </string>
|
||||
<key>56</key>
|
||||
<string>498 634 343 68 0 0 1280 1002 </string>
|
||||
<string>404 484 343 68 0 0 1152 746 </string>
|
||||
</dict>
|
||||
<key>IBFramework Version</key>
|
||||
<string>248.0</string>
|
||||
|
@ -47,9 +45,12 @@
|
|||
</array>
|
||||
<key>IBOpenObjects</key>
|
||||
<array>
|
||||
<integer>475</integer>
|
||||
<integer>56</integer>
|
||||
<integer>297</integer>
|
||||
<integer>160</integer>
|
||||
</array>
|
||||
<key>IBSystem Version</key>
|
||||
<string>5L21</string>
|
||||
<string>5Q125</string>
|
||||
</dict>
|
||||
</plist>
|
||||
|
|
Двоичный файл не отображается.
|
@ -80,19 +80,14 @@ nsCocoaBrowserService::InitEmbedding()
|
|||
}
|
||||
NS_ADDREF(sSingleton);
|
||||
|
||||
nsresult rv = NS_InitEmbedding(nsnull, nsnull);
|
||||
if (NS_FAILED(rv)) {
|
||||
return rv;
|
||||
}
|
||||
|
||||
// Register as the prompt service
|
||||
#define NS_PROMPTSERVICE_CID \
|
||||
{0xa2112d6a, 0x0e28, 0x421f, {0xb4, 0x6a, 0x25, 0xc0, 0xb3, 0x8, 0xcb, 0xd0}}
|
||||
static NS_DEFINE_CID(kPromptServiceCID, NS_PROMPTSERVICE_CID);
|
||||
|
||||
rv = nsComponentManager::RegisterFactory(kPromptServiceCID,
|
||||
"Prompt Service",
|
||||
"@mozilla.org/embedcomp/prompt-service;1",
|
||||
nsresult rv = nsComponentManager::RegisterFactory(kPromptServiceCID,
|
||||
"Prompt Service",
|
||||
"@mozilla.org/embedcomp/prompt-service;1",
|
||||
sSingleton,
|
||||
PR_TRUE); // replace existing
|
||||
if (NS_FAILED(rv)) {
|
||||
|
|
|
@ -34,6 +34,7 @@
|
|||
stop = id;
|
||||
toggleSidebar = id;
|
||||
viewOnlyThisImage = id;
|
||||
viewSource = id;
|
||||
};
|
||||
CLASS = BrowserWindowController;
|
||||
LANGUAGE = ObjC;
|
||||
|
@ -43,7 +44,6 @@
|
|||
mAddBookmarkSheetWindow = id;
|
||||
mAddBookmarkTitleField = id;
|
||||
mCachedBMDS = id;
|
||||
mHistoryDataSource = id;
|
||||
mImageLinkMenu = id;
|
||||
mImageMenu = id;
|
||||
mInputMenu = id;
|
||||
|
@ -75,18 +75,7 @@
|
|||
{CLASS = CHBookmarksToolbar; LANGUAGE = ObjC; SUPERCLASS = NSView; },
|
||||
{CLASS = CHExtendedOutlineView; LANGUAGE = ObjC; SUPERCLASS = NSOutlineView; },
|
||||
{CLASS = CHExtendedTabView; LANGUAGE = ObjC; SUPERCLASS = NSTabView; },
|
||||
{
|
||||
CLASS = CHHistoryDataSource;
|
||||
LANGUAGE = ObjC;
|
||||
SUPERCLASS = CHRDFOutlineViewDataSource;
|
||||
},
|
||||
{CLASS = CHLocationBar; LANGUAGE = ObjC; SUPERCLASS = NSView; },
|
||||
{
|
||||
CLASS = CHRDFOutlineViewDataSource;
|
||||
LANGUAGE = ObjC;
|
||||
OUTLETS = {mOutlineView = id; };
|
||||
SUPERCLASS = NSObject;
|
||||
},
|
||||
{CLASS = ExtendedOutlineView; LANGUAGE = ObjC; SUPERCLASS = NSOutlineView; },
|
||||
{CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; },
|
||||
{CLASS = LocationBar; LANGUAGE = ObjC; SUPERCLASS = NSView; },
|
||||
|
@ -109,8 +98,7 @@
|
|||
urlbar = id;
|
||||
};
|
||||
SUPERCLASS = NSView;
|
||||
},
|
||||
{CLASS = RDFOutlineViewItem; LANGUAGE = ObjC; SUPERCLASS = NSObject; }
|
||||
}
|
||||
);
|
||||
IBVersion = 1;
|
||||
}
|
|
@ -3,31 +3,29 @@
|
|||
<plist version="0.9">
|
||||
<dict>
|
||||
<key>IBDocumentLocation</key>
|
||||
<string>97 226 480 309 0 0 1280 1002 </string>
|
||||
<string>7 130 480 309 0 0 1152 746 </string>
|
||||
<key>IBEditorPositions</key>
|
||||
<dict>
|
||||
<key>124</key>
|
||||
<string>431 537 170 180 0 0 1152 746 </string>
|
||||
<key>160</key>
|
||||
<string>572 326 195 666 0 0 1280 1002 </string>
|
||||
<string>478 70 195 666 0 0 1152 746 </string>
|
||||
<key>28</key>
|
||||
<string>572 439 195 457 0 0 1280 1002 </string>
|
||||
<string>478 279 195 457 0 0 1152 746 </string>
|
||||
<key>297</key>
|
||||
<string>70 110 187 210 0 0 1152 746 </string>
|
||||
<string>70 110 198 210 0 0 1152 746 </string>
|
||||
<key>314</key>
|
||||
<string>271 139 168 180 0 0 1152 746 </string>
|
||||
<string>271 139 198 180 0 0 1152 746 </string>
|
||||
<key>336</key>
|
||||
<string>458 90 200 162 0 0 1152 746 </string>
|
||||
<key>343</key>
|
||||
<string>499 330 200 252 0 0 1152 746 </string>
|
||||
<key>365</key>
|
||||
<string>22 500 93 162 0 0 1152 746 </string>
|
||||
<key>463</key>
|
||||
<string>7 444 200 252 0 0 1152 746 </string>
|
||||
<key>475</key>
|
||||
<string>609 597 120 142 0 0 1280 1002 </string>
|
||||
<string>516 447 120 142 0 0 1152 746 </string>
|
||||
<key>56</key>
|
||||
<string>498 634 343 68 0 0 1280 1002 </string>
|
||||
<string>404 484 343 68 0 0 1152 746 </string>
|
||||
</dict>
|
||||
<key>IBFramework Version</key>
|
||||
<string>248.0</string>
|
||||
|
@ -47,9 +45,12 @@
|
|||
</array>
|
||||
<key>IBOpenObjects</key>
|
||||
<array>
|
||||
<integer>475</integer>
|
||||
<integer>56</integer>
|
||||
<integer>297</integer>
|
||||
<integer>160</integer>
|
||||
</array>
|
||||
<key>IBSystem Version</key>
|
||||
<string>5L21</string>
|
||||
<string>5Q125</string>
|
||||
</dict>
|
||||
</plist>
|
||||
|
|
Двоичные данные
chimera/resources/localized/English.lproj/BrowserWindow.nib/objects.nib
сгенерированный
Двоичные данные
chimera/resources/localized/English.lproj/BrowserWindow.nib/objects.nib
сгенерированный
Двоичный файл не отображается.
|
@ -80,19 +80,14 @@ nsCocoaBrowserService::InitEmbedding()
|
|||
}
|
||||
NS_ADDREF(sSingleton);
|
||||
|
||||
nsresult rv = NS_InitEmbedding(nsnull, nsnull);
|
||||
if (NS_FAILED(rv)) {
|
||||
return rv;
|
||||
}
|
||||
|
||||
// Register as the prompt service
|
||||
#define NS_PROMPTSERVICE_CID \
|
||||
{0xa2112d6a, 0x0e28, 0x421f, {0xb4, 0x6a, 0x25, 0xc0, 0xb3, 0x8, 0xcb, 0xd0}}
|
||||
static NS_DEFINE_CID(kPromptServiceCID, NS_PROMPTSERVICE_CID);
|
||||
|
||||
rv = nsComponentManager::RegisterFactory(kPromptServiceCID,
|
||||
"Prompt Service",
|
||||
"@mozilla.org/embedcomp/prompt-service;1",
|
||||
nsresult rv = nsComponentManager::RegisterFactory(kPromptServiceCID,
|
||||
"Prompt Service",
|
||||
"@mozilla.org/embedcomp/prompt-service;1",
|
||||
sSingleton,
|
||||
PR_TRUE); // replace existing
|
||||
if (NS_FAILED(rv)) {
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
#include "nsIPrefBranch.h"
|
||||
#include "nsIPrefService.h"
|
||||
#include "nsString.h"
|
||||
#include "nsEmbedAPI.h"
|
||||
|
||||
extern const char *prefContractID;
|
||||
|
||||
|
@ -53,7 +54,9 @@ extern const char *prefContractID;
|
|||
|
||||
- (BOOL) initMozillaPrefs
|
||||
{
|
||||
nsresult rv;
|
||||
nsresult rv = NS_InitEmbedding(nsnull, nsnull);
|
||||
if (NS_FAILED(rv))
|
||||
return NO;
|
||||
|
||||
NSBundle *mainBundle = [NSBundle mainBundle];
|
||||
NSString *path = [mainBundle bundlePath];
|
||||
|
|
Загрузка…
Ссылка в новой задаче