Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Alchemy Viewer
Alchemy Viewer
Commits
f388efa4
Commit
f388efa4
authored
14 years ago
by
palange
Browse files
Options
Downloads
Patches
Plain Diff
EXT-7925 FIX Added NSTreatUnknownArgumentsAsOpen to setupCocoa() to prevent pop-ups
parent
005986d1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
indra/llwindow/llwindowmacosx-objc.mm
+5
-0
5 additions, 0 deletions
indra/llwindow/llwindowmacosx-objc.mm
indra/newview/Info-SecondLife.plist
+24
-24
24 additions, 24 deletions
indra/newview/Info-SecondLife.plist
with
29 additions
and
24 deletions
indra/llwindow/llwindowmacosx-objc.mm
+
5
−
0
View file @
f388efa4
...
...
@@ -49,6 +49,11 @@ void setupCocoa()
{
NSAutoreleasePool
*
pool
=
[[
NSAutoreleasePool
alloc
]
init
];
// The following prevents the Cocoa command line parser from trying to open 'unknown' arguements as documents.
// ie. running './secondlife -set Language fr' would cause a pop-up saying can't open document 'fr'
// when init'ing the Cocoa App window.
[[
NSUserDefaults
standardUserDefaults
]
setObject
:
@"NO"
forKey
:
@"NSTreatUnknownArgumentsAsOpen"
];
// This is a bit of voodoo taken from the Apple sample code "CarbonCocoa_PictureCursor":
// http://developer.apple.com/samplecode/CarbonCocoa_PictureCursor/index.html
...
...
This diff is collapsed.
Click to expand it.
indra/newview/Info-SecondLife.plist
+
24
−
24
View file @
f388efa4
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple
Computer
//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist
version=
"1.0"
>
<dict>
<key>
CFBundleDevelopmentRegion
</key>
...
...
@@ -18,33 +18,33 @@
<string>
APPL
</string>
<key>
CFBundleSignature
</key>
<string>
????
</string>
<key>
CFBundleDocumentTypes
</key>
<array>
<dict>
<key>
CFBundleTypeExtensions
</key>
<array>
<string>
slurl
</string>
</array>
<key>
CFBundleTypeIconFile
</key>
<string>
seconlife
</string>
<key>
CFBundleTypeMIMETypes
</key>
<array>
<string>
application/x-grid-location-info
</string>
</array>
<key>
CFBundleTypeName
</key>
<string>
Secondlife SLURL
</string>
<key>
CFBundleDocumentTypes
</key>
<array>
<dict>
<key>
CFBundleTypeExtensions
</key>
<array>
<string>
slurl
</string>
</array>
<key>
CFBundleTypeIconFile
</key>
<string>
seconlife
</string>
<key>
CFBundleTypeMIMETypes
</key>
<array>
<string>
application/x-grid-location-info
</string>
</array>
<key>
CFBundleTypeName
</key>
<string>
Secondlife SLURL
</string>
<key>
CFBundleTypeOSTypes
</key>
<array>
<string>
SLRL
</string>
<string>
SLRL
</string>
</array>
<key>
CFBundleTypeRole
</key>
<string>
Viewer
</string>
<key>
LSTypeIsPackage
</key>
<key>
CFBundleTypeRole
</key>
<string>
Viewer
</string>
<key>
LSTypeIsPackage
</key>
<true/>
<key>
NSDocumentClass
</key>
<string>
SecondLifeSLURL
</string>
</dict>
</array>
<key>
NSDocumentClass
</key>
<string>
SecondLifeSLURL
</string>
</dict>
</array>
<key>
CFBundleURLTypes
</key>
<array>
<dict>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment