Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jan 24, 2013, 12:52 PM   #1
silvercircle
macrumors member
 
Join Date: Nov 2010
.ini file will not display my ico

My application supports various files types and all of them use my custom icons assigned to them.
Only the files with extension .ini show the icon for a second when I save them and then they return to another icon.
The icon used by the system has on the left of the icon text and at the bottom in bigger font it says .ini. The text reflect the content of the file.

I have set with file-info to use my application as the default to open the files with this extension,does not help to use the icon. Double click on the file does open it with my application.
Is there an application standard to MacOs assigned to those files?
I simply can not figure out why only these files will not use my icons.
Any ideas?
silvercircle is offline   0 Reply With Quote
Old Jan 24, 2013, 07:33 PM   #2
Red Menace
macrumors 6502
 
Join Date: May 2011
Location: Littleton, Colorado, USA
If your application has been set to be the one to open a particular file type, the system will get the icon from the application bundle. How have you set up your application's Info.plist for the various file types?
__________________
MacBook Pro / OS X Yosemite (10.10) / Xcode 6.1 / RubyMotion FTW
Red Menace is offline   0 Reply With Quote
Old Jan 25, 2013, 05:36 AM   #3
silvercircle
Thread Starter
macrumors member
 
Join Date: Nov 2010
Quote:
Originally Posted by Red Menace View Post
If your application has been set to be the one to open a particular file type, the system will get the icon from the application bundle. How have you set up your application's Info.plist for the various file types?
Yes, the Info.plist file is ok. My 3 other file types show the right icon.
If i change the extension from ini to pni in the plist file, this icon is also fine.
There must be an application or default setting in OSX overriding my setting.
Only if I set the size of icons to very small my icon is used, if it is a bit larger the 'other' icon is used.
silvercircle is offline   0 Reply With Quote
Old Jan 27, 2013, 03:19 PM   #4
Madd the Sane
macrumors 6502
 
Join Date: Nov 2010
Location: Utah
If you want a file to display a custom icon, different from one provided by the info.plist, look into making a QuickLook plug-in. I think they can change a file's icon, not just when doing a QuickLook.
Madd the Sane is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
.ico files to be used to replace folder icons? stanw OS X Mavericks (10.9) 0 May 11, 2014 07:17 PM
SMB File Display Issue? aaairsci OS X Mavericks (10.9) 3 Oct 23, 2013 05:02 PM
Wine Bottler .ico problem Jeromekem Windows, Linux & Others on the Mac 0 Aug 25, 2013 07:16 PM
File name won't display in Ps CS6 Window spacecadet1968 Design and Graphics 1 Aug 8, 2013 12:05 AM
OS X: Locating [.ini] and [.cfg] files? Morgan Stack Mac and PC Games 7 May 14, 2013 03:19 AM

Forum Jump

All times are GMT -5. The time now is 08:57 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC