• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Problem with icon on Mac OS X 10.5
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with icon on Mac OS X 10.5


  • Subject: Re: Problem with icon on Mac OS X 10.5
  • From: "Ryan Chapman" <email@hidden>
  • Date: Fri, 25 Apr 2008 19:08:54 -0400

So you have both executables in the same application bundle, right?  

Why not put the second application (C++) in it's own application bundle, then do the LSUIElement="1" on the second app bundle.

MainApplication.app/Contents/Info.plist  - don't change LSUIElement to "1" here
MainApplication.app/Contents/Resources/SecondApplication.app/Contents/Info.plist - change LSUIElement to "1" here

I'm not familiar with xulrunner, but to launch the second application in Cocoa, you would use NSWorkspace.  Not sure of the equivalent in xulrunnner.




On Fri, Apr 25, 2008 at 4:57 PM, Talita Menezes <email@hidden> wrote:
I have done this and I have also tested with LSBackgroundOnly, but then I have no icon. I want to show one. But it looks like I can show two or none.


On Fri, Apr 25, 2008 at 5:25 PM, Ryan Chapman <email@hidden> wrote:
In your Info.plist (located in YourApp.app/Contents/Info.plist) add a key called LSUIElement and set its value to  "1" (string) to not show your application in the Dock

<key>LSUIElement</key>
    <string>1</string>

See http://developer.apple.com/documentation/MacOSX/Conceptual/BPRuntimeConfig/Articles/PListKeys.html#//apple_ref/doc/uid/20001431-108256
for more info on LSUIElement.



On Fri, Apr 25, 2008 at 2:02 PM, Talita Menezes <email@hidden> wrote:
Hi,
I developed an application on mac which has to executable files.
The first one is the gui (xulrunner and js) and starts the second one which is the backend
of the application (C++). My problem is on leopard (10.5), when the second process
is launched a second application icon is displayed on Dock.
Is there some configuration I can change in my xcode project of the backend in order to not display the second icon?


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Problem with icon on Mac OS X 10.5 (From: "Talita Menezes" <email@hidden>)
 >Re: Problem with icon on Mac OS X 10.5 (From: "Ryan Chapman" <email@hidden>)
 >Re: Problem with icon on Mac OS X 10.5 (From: "Talita Menezes" <email@hidden>)

  • Prev by Date: Looking for an Xcode Developer
  • Next by Date: Install of iPhone SDK Beta 4
  • Previous by thread: Re: Problem with icon on Mac OS X 10.5
  • Next by thread: 64-bit woes
  • Index(es):
    • Date
    • Thread