On Sun, Dec 28, 2008 at 9:57 PM, iDeveloper <[email protected]> wrote: > > Can someone please tell me if this is a genuine problem or only I'm > facing this problem? > Every time I create a new project using the templates provided by the > MacFUSE installation, the volume icon appears fine for some days and > then it suddenly is replaced by the Finder's default icons.
Sorry for not responding earlier. I've been away for a couple of weeks. What I've observed is that the Finder seems to cache volume icons. Occasionally it will revert to the standard icon, but I've only seen this in cases where the file system was returning improper data or had crashed. Of course, this can happen often while you are developing a file system. From the command line, try: "killall Finder" This will kill the Finder, which will automatically restart. Then try mounting your file system. Sometimes this fixes the icon issue. ted > > On Dec 15, 3:40 pm, iDeveloper <[email protected]> wrote: >> Hi >> >> The problem persists. My custom volume icon disappeared again and >> finder is using its own icon. >> The icon was appearing fine till yesterday. And today when I build the >> project, its gone again. >> >> Please help. >> >> On Dec 11, 3:29 pm, iDeveloper <[email protected]> wrote: >> >> > Thanks ted. >> >> > That worked. Moved to 2.0 and created the project using the read-write >> > template >> >> > On Dec 10, 9:50 pm, "ted bonkenburg" <[email protected]> wrote: >> >> > > On Wed, Dec 10, 2008 at 2:08 AM, iDeveloper <[email protected]> >> > > wrote: >> >> > > > Hi >> >> > > > I'm trying to add a custom icon for my fs by specifying thevolicon >> > > > option >> > > > [options addObject: [NSString stringWithFormat:@"volicon=%@", >> > > > [[NSBundle mainBundle] pathForResource:@"myfs" ofType:@"icns"]]]; >> >> > > > But my fs always shows the default folder icon. Any reason why this >> > > > would happen? I have added an option "local" to make the fs appear in >> > > > the Finder side bar and on the desktop. Could that be a reason? >> >> > > Did it used to work without the "local" option? Are you sure that your >> > > volume icon is being copied by xcode into the final application >> > > bundle? >> >> > > If you are stuck, I suggest you start over using one of the new >> > > project templates that are found in MacFUSE 2.0. Install 2.0 and then >> > > File -> New Project in Xcode. The "Objective-C File System >> > > (Read-Write)" or the read-only version set you up with an >> > > application-style file system that has a volume icon. You just need to >> > > copy your .icns file over the icon generated by the projecttemplate >> > > and you are all set. >> >> > > ted > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "MacFUSE" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/macfuse?hl=en -~----------~----~----~----~------~----~------~--~---
