check if open is allowed before opening on double-click (bug 291852)

This commit is contained in:
pinkerton%aol.net 2005-04-25 20:30:14 +00:00
Родитель cdff707310
Коммит c1820e50ac
2 изменённых файлов: 21 добавлений и 20 удалений

Просмотреть файл

@ -204,7 +204,7 @@
};
035A4976079DC83E0084B05F = {
isa = PBXFileReference;
lastKnownFileType = text.plist.xml;
lastKnownFileType = text.xml;
path = "Info-HistoryPrefPane.plist";
refType = 2;
sourceTree = SOURCE_ROOT;
@ -503,7 +503,7 @@
};
03C5AB1107722DFD00EAF77D = {
isa = PBXFileReference;
lastKnownFileType = text.plist.xml;
lastKnownFileType = text.xml;
path = "Info-DownloadsPrefPane.plist";
refType = 4;
sourceTree = "<group>";
@ -702,7 +702,7 @@
};
03E2D8540771F73F00BD2443 = {
isa = PBXFileReference;
lastKnownFileType = text.plist.xml;
lastKnownFileType = text.xml;
path = "Info-TabsPrefPane.plist";
refType = 4;
sourceTree = "<group>";
@ -1959,7 +1959,7 @@
3003B8AC044514E300B85BF3 = {
fileEncoding = 30;
isa = PBXFileReference;
lastKnownFileType = text.plist.xml;
lastKnownFileType = text.xml;
name = English;
path = resources/localized/English.lproj/SearchURLList.plist;
refType = 4;
@ -2069,7 +2069,7 @@
};
3F22CC1303DF42A200026DCE = {
isa = PBXFileReference;
lastKnownFileType = text.plist.xml;
lastKnownFileType = text.xml;
name = Charset.dict;
path = resources/application/Charset.dict;
refType = 4;
@ -5244,7 +5244,7 @@
};
3F44AD8705BDFB9F00CB4B08 = {
isa = PBXFileReference;
lastKnownFileType = text.plist.xml;
lastKnownFileType = text.xml;
path = "Info-Camino.plist";
refType = 4;
sourceTree = "<group>";
@ -5424,7 +5424,7 @@
};
3F44AD9E05BDFB9F00CB4B08 = {
isa = PBXFileReference;
lastKnownFileType = text.plist.xml;
lastKnownFileType = text.xml;
path = "Info-AppearancePrefPane.plist";
refType = 4;
sourceTree = "<group>";
@ -5596,7 +5596,7 @@
};
3F44ADB205BDFBA000CB4B08 = {
isa = PBXFileReference;
lastKnownFileType = text.plist.xml;
lastKnownFileType = text.xml;
path = "Info-NavigationPrefPane.plist";
refType = 4;
sourceTree = "<group>";
@ -5611,7 +5611,7 @@
};
3F44ADC105BDFBA000CB4B08 = {
isa = PBXFileReference;
lastKnownFileType = text.plist.xml;
lastKnownFileType = text.xml;
path = "Info-PersonalPrefPane.plist";
refType = 4;
sourceTree = "<group>";
@ -5798,7 +5798,7 @@
};
3F44ADD905BDFBA000CB4B08 = {
isa = PBXFileReference;
lastKnownFileType = text.plist.xml;
lastKnownFileType = text.xml;
path = "Info-PrivacyPrefPane.plist";
refType = 4;
sourceTree = "<group>";
@ -5987,7 +5987,7 @@
};
3F44ADF005BDFBA000CB4B08 = {
isa = PBXFileReference;
lastKnownFileType = text.plist.xml;
lastKnownFileType = text.xml;
path = "Info-SecurityPrefPane.plist";
refType = 4;
sourceTree = "<group>";
@ -6176,7 +6176,7 @@
};
3F44AE0705BDFBA000CB4B08 = {
isa = PBXFileReference;
lastKnownFileType = text.plist.xml;
lastKnownFileType = text.xml;
path = "Info-WebFeaturesPrefPane.plist";
refType = 4;
sourceTree = "<group>";
@ -9160,7 +9160,7 @@
};
3F44AFC505BDFBA100CB4B08 = {
isa = PBXFileReference;
lastKnownFileType = text.plist.xml;
lastKnownFileType = text.xml;
path = "Info-CaminoStatic.plist";
refType = 4;
sourceTree = "<group>";
@ -9267,7 +9267,7 @@
};
3F44AFD305BDFBA100CB4B08 = {
isa = PBXFileReference;
lastKnownFileType = text.plist.xml;
lastKnownFileType = text.xml;
path = "Info-AddressBookManager.plist";
refType = 4;
sourceTree = "<group>";
@ -9618,7 +9618,7 @@
3FAA54C70587778700BBF630 = {
fileEncoding = 30;
isa = PBXFileReference;
lastKnownFileType = text.plist.xml;
lastKnownFileType = text.xml;
name = bookmarks.plist;
path = resources/application/bookmarks.plist;
refType = 2;
@ -12546,7 +12546,7 @@
};
F51B70B4026EC8A601A80166 = {
isa = PBXFileReference;
lastKnownFileType = text.plist.xml;
lastKnownFileType = text.xml;
name = Camino.scriptSuite;
path = resources/application/Camino.scriptSuite;
refType = 2;
@ -14143,7 +14143,7 @@
F5949A47030D58A1014E8430 = {
fileEncoding = 30;
isa = PBXFileReference;
lastKnownFileType = text.plist.xml;
lastKnownFileType = text.xml;
path = xhtml11.dtd;
refType = 4;
sourceTree = "<group>";
@ -14624,7 +14624,7 @@
};
F5CA1A1A02D3956F01F34900 = {
isa = PBXFileReference;
lastKnownFileType = text.plist.xml;
lastKnownFileType = text.xml;
name = English;
path = resources/localized/English.lproj/Camino.scriptTerminology;
refType = 2;
@ -15715,7 +15715,7 @@
F6BD64D501B3172601A962F7 = {
fileEncoding = 30;
isa = PBXFileReference;
lastKnownFileType = text.plist.xml;
lastKnownFileType = text.xml;
name = platformHTMLBindings.xml;
path = ../dist/Embed/res/builtin/platformHTMLBindings.xml;
refType = 2;

Просмотреть файл

@ -203,7 +203,8 @@ static id gSharedProgressController = nil;
//
-(void)DLInstanceOpened:(NSNotification*)notification
{
[self open:self];
if ([self shouldAllowOpenAction])
[self open:self];
}
// calculate what buttons should be enabled/disabled because the user changed the selection state