Duplicate dock icon on Leopard when running Vine server

Discussion in 'Mac Programming' started by robstoddard, Dec 27, 2007.

  1. robstoddard macrumors newbie

    Joined:
    Dec 27, 2007
    #1
    My company wants to use the Vine server with the telepresence system that it produces. I have been tasked to do a few things with the code such as make the window that appears when you run the app not appear unless somebody clicks on the dock icon. I am developing this on Tiger. When my boss runs it on his Leopard machine, he gets a duplicate "lame" dock icon. This dock icon does not respond in any way, but disappears when the Vine server is shut down. The "original" dock icon works normally.

    I figure the reason why I am getting two dock icons is because the Vine server uses a second executable as the server which is stored in the bundle. Supposedly putting the second executable in the bundle keeps the second dock icon from appearing, however it still does. I have not found anything in the Apple documentation that allows me to eliminate the second dock icon without eliminating the one I want to keep.

    Does anybody know how I can eliminate this extra dock icon? Could it possibly be as simple as building the app on a Leopard machine rather than a Tiger machine?

    Thank you for your assistance
    Rob Stoddard
     
  2. kainjow Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
    #2
    Is the server executable a plain binary file or is it inside an .app bundle? If it's inside an .app bundle, than you can add an entry to its Info.plist with an object of "1" for the key "LSUIElement" - see here for more info.
     
  3. LtRammstein macrumors 6502a

    LtRammstein

    Joined:
    Jun 20, 2006
    Location:
    Denver, CO
    #3
    What version of Vine Server/Client you running?

    They released version 3.0 not to long ago, so I recommend updating.
     

Share This Page