From: Kent Sutherland Date: Wed, 21 Jul 2004 16:24:21 +0000 (+0000) Subject: Added a chasing arrow icon to the Refresh item, removed the separator. X-Git-Tag: v1.4~21 X-Git-Url: http://git.ithinksw.org/MenuTunes.git/commitdiff_plain/97a75b2b15c91605969af322f4ed92559e7192d3 Added a chasing arrow icon to the Refresh item, removed the separator. --- diff --git a/ChasingArrow.tiff b/ChasingArrow.tiff new file mode 100755 index 0000000..5aed596 Binary files /dev/null and b/ChasingArrow.tiff differ diff --git a/MenuController.m b/MenuController.m index 54f9809..0bc8c2d 100755 --- a/MenuController.m +++ b/MenuController.m @@ -681,8 +681,9 @@ [[playlistsMenu itemAtIndex:_currentPlaylist - 1] setState:NSOnState]; } [indices release]; - [playlistsMenu addItem:[NSMenuItem separatorItem]]; - [[playlistsMenu addItemWithTitle:NSLocalizedString(@"refresh", @"Refresh") action:@selector(rebuildSubmenus) keyEquivalent:@""] setTarget:self]; + tempItem = [playlistsMenu addItemWithTitle:NSLocalizedString(@"refresh", @"Refresh") action:@selector(rebuildSubmenus) keyEquivalent:@""]; + [tempItem setTarget:self]; + [tempItem setImage:[NSImage imageNamed:@"ChasingArrow"]]; ITDebugLog(@"Done Building \"Playlists\" menu"); return playlistsMenu; } diff --git a/MenuTunes.xcode/project.pbxproj b/MenuTunes.xcode/project.pbxproj index 58ed113..11fb646 100755 --- a/MenuTunes.xcode/project.pbxproj +++ b/MenuTunes.xcode/project.pbxproj @@ -198,6 +198,7 @@ 089C165CFE840E0CC02AAC07, 29B97318FDCFA39411CA2CEA, 7C331FE905A923580088905B, + 37B7EA0306AECF0700A4DE86, 7C331FC505A923180088905B, 7C331FC605A923180088905B, 7C331FC705A923180088905B, @@ -337,6 +338,19 @@ settings = { }; }; + 37B7EA0306AECF0700A4DE86 = { + isa = PBXFileReference; + lastKnownFileType = image.tiff; + path = ChasingArrow.tiff; + refType = 4; + sourceTree = ""; + }; + 37B7EA0406AECF0700A4DE86 = { + fileRef = 37B7EA0306AECF0700A4DE86; + isa = PBXBuildFile; + settings = { + }; + }; //370 //371 //372 @@ -1598,6 +1612,7 @@ 7C331FEB05A923580088905B, 7C331FEE05A923830088905B, 7C331FF105A923970088905B, + 37B7EA0406AECF0700A4DE86, ); isa = PBXResourcesBuildPhase; runOnlyForDeploymentPostprocessing = 0;