Hardware Growler Airport icon missing?

The Growl forums have moved to Google Groups, this forum is read only.
nsap
Harmless
Posts: 8
Joined: Fri Jul 21, 2006 4:15 am

Hardware Growler Airport icon missing?

Postby nsap » Thu Apr 26, 2007 8:36 am

I'm not sure when this started happening, but I've tried clearing caches, repairing permissions... basically everything I could think of doing. Is anyone else having this problem? Does anybody know where Growl/Hardware Growler pulls the Airport icon from?

This issue occurs on both connected and disconnected Airport messages.

Thanks

http://x013.uploaderx.net/x/224_Picture%201.png

nsap
Harmless
Posts: 8
Joined: Fri Jul 21, 2006 4:15 am

Postby nsap » Fri Apr 27, 2007 11:25 pm

bump for wtf did i do :(

nsap
Harmless
Posts: 8
Joined: Fri Jul 21, 2006 4:15 am

Postby nsap » Wed May 02, 2007 10:55 am

One last bump. Anybody?

User avatar
The_Tick
Cocoaforge Admin
Posts: 4642
Joined: Thu Dec 02, 2004 6:06 am
Contact:

Postby The_Tick » Wed May 02, 2007 4:19 pm

I've got a feeling that launch services icon cache is messed up somehow on your machine. I don't remember how to fix it.

nsap
Harmless
Posts: 8
Joined: Fri Jul 21, 2006 4:15 am

Postby nsap » Thu May 03, 2007 10:49 am

The_Tick wrote:I've got a feeling that launch services icon cache is messed up somehow on your machine. I don't remember how to fix it.

I'll check it out, thanks.

User avatar
Diggory
Growl Team
Posts: 129
Joined: Sat Dec 04, 2004 12:17 pm
Location: London

Postby Diggory » Thu May 03, 2007 3:37 pm

Looking back at the code it gets the icon for Airport Admin App:

Code: Select all

NSString *path = [ws fullPathForApplication:@"Airport Admin Utility.app"];

tiredraven
Harmless
Posts: 3
Joined: Sun Dec 05, 2004 3:16 am

Postby tiredraven » Fri May 04, 2007 8:35 pm

I have the same problem as well, and I think I know why now. With the new Airport software that was released for the 802.11n base station, the name of the AirtPort Admin Utility changed to AirPort Utility. So the path to the icon has changed, which would account for the problem.

I hope this helps resolve the issue.

nsap
Harmless
Posts: 8
Joined: Fri Jul 21, 2006 4:15 am

Postby nsap » Fri May 04, 2007 9:02 pm

tiredraven wrote:I have the same problem as well, and I think I know why now. With the new Airport software that was released for the 802.11n base station, the name of the AirtPort Admin Utility changed to AirPort Utility. So the path to the icon has changed, which would account for the problem.

I hope this helps resolve the issue.

Good catch. So if I rename the new Airport Utility to Airport Admin Utility, will that resolve the problem?

User avatar
Diggory
Growl Team
Posts: 129
Joined: Sat Dec 04, 2004 12:17 pm
Location: London

Postby Diggory » Fri May 04, 2007 9:55 pm

Someone should probably change line 141 of AppController.m of HardwareGrowler:

http://trac.growl.info/browser/trunk/Ex ... ntroller.m

Specifically to use NSWorkspace's method:

Code: Select all

- (NSString *)absolutePathForAppBundleWithIdentifier:(NSString *)bundleIdentifier

Which identifes the app by bundle identifier instead of name.

Or whatever the CoreFoundation version of this method is.

User avatar
The_Tick
Cocoaforge Admin
Posts: 4642
Joined: Thu Dec 02, 2004 6:06 am
Contact:

Postby The_Tick » Sat May 05, 2007 9:33 pm

Diggory wrote:Someone should probably change line 141 of AppController.m of HardwareGrowler:

http://trac.growl.info/browser/trunk/Ex ... ntroller.m

Specifically to use NSWorkspace's method:

Code: Select all

- (NSString *)absolutePathForAppBundleWithIdentifier:(NSString *)bundleIdentifier

Which identifes the app by bundle identifier instead of name.

Or whatever the CoreFoundation version of this method is.


hwgrowler is cf? Bah.

User avatar
Diggory
Growl Team
Posts: 129
Joined: Sat Dec 04, 2004 12:17 pm
Location: London

Postby Diggory » Wed May 09, 2007 11:14 pm

It wasn't originally, but seems to have been CF'ed

User avatar
bgannin
Growl Team
Posts: 1817
Joined: Thu Dec 02, 2004 8:11 am
Location: ..here
Contact:

Postby bgannin » Thu May 10, 2007 5:49 am

I don't know all of CF offhand, but given that CoreFoundation is a low-level API it's not likely that it contains high-level functionality related to applications (as NSWorkspace does.)
Try my software!

#define ADIUMX pimp //by me
#define QUESTION ((2b) || (!2b))
Have you hugged a programmer today?

User avatar
The_Tick
Cocoaforge Admin
Posts: 4642
Joined: Thu Dec 02, 2004 6:06 am
Contact:

Postby The_Tick » Thu May 10, 2007 5:57 am

We could mix and match, but should we even keep it cf?

User avatar
evands
Cocoaforge Admin
Posts: 3152
Joined: Thu Dec 02, 2004 10:55 pm
Location: Decatur, GA
Contact:

Postby evands » Sat Jun 02, 2007 11:02 pm

evands wrote:Yet another example of why I would rename that file to VolumeNotifier.m and use Cocoa throughout.

Code: Select all

const char *bsdPath = [[NSString stringWithFormat:@"/dev/%@", bsdName] fileSystemRepresentation];
if (bsdPath) {
   //Blah
}

reads so much better than

Code: Select all

CFStringRef bsdPath = CFStringCreateWithFormat(kCFAllocatorDefault, NULL, CFSTR("/dev/%@"), bsdName);
CFIndex cBSDPathMax = CFStringGetMaximumSizeOfFileSystemRepresentation(bsdPath);
char *cBSDPath = NULL;

cBSDPath = (char *)calloc(cBSDPathMax, sizeof(char));
if (cBSDPath && CFStringGetFileSystemRepresentation(bsdPath, cBSDPath, cBSDPathMax) {
   //Blah
}
free(cBSDPath);
CFRelease(bsdPath);


(Technically, in the Cocoa version, I'd construct the path using stringByAppendingPathComponent:, but the current code uses /dev/%@ so I kept that for the example).
The duck still burns.
--
My company: Saltatory Software. Check it out :)

amancalledsun
Harmless
Posts: 1
Joined: Tue Sep 01, 2009 8:03 pm

Re: Hardware Growler Airport icon missing?

Postby amancalledsun » Wed Sep 02, 2009 12:28 am

Has anyone fixed this yet? It's been 2 years, and here I am looking at Snow Leopard, and the airport and ethernet icons STILL do not show up in Hardware Growler. I'd love to fix this myself if I could :sad:

rudy
Growl Team
Posts: 50
Joined: Tue Dec 07, 2004 12:33 am

Re: Hardware Growler Airport icon missing?

Postby rudy » Wed Sep 02, 2009 1:39 am

your url doesn't seem to load here, but i have looked at both 1.1.6 and current source for HardwareGrowler and both behave the same. That is to say they both display icons for Airport and Ethernet. Did you remove or otherwise rename Airport Utility.app?
C4 & Demolitions Expert / Ambrosia Software, Inc. / http://www.AmbrosiaSW.com/


Return to “Growl”

Who is online

Users browsing this forum: No registered users