vlc | branch: master | Marvin Scholz <[email protected]> | Tue May  9 09:47:51 
2017 +0200| [92e03acf1602e2df355a4bb85a9e636b60d59a9c] | committer: Marvin 
Scholz

macOS: Explicitly set the App icon

This will make sure the cone icon is displayed even when using the
vlc-osx-static binary. It makes it much easier to find the running
vlc instance, as before a confusing folder icon of the bin folder was
used, given that this is considered the "App bundle" by CFBundle.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=92e03acf1602e2df355a4bb85a9e636b60d59a9c
---

 modules/gui/macosx/VLCMain.m | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/gui/macosx/VLCMain.m b/modules/gui/macosx/VLCMain.m
index 41da11dd1a..b6d5cb3992 100644
--- a/modules/gui/macosx/VLCMain.m
+++ b/modules/gui/macosx/VLCMain.m
@@ -256,6 +256,8 @@ static VLCMain *sharedInstance = nil;
 
             if (dayOfYear >= 354)
                 [[VLCApplication sharedApplication] setApplicationIconImage: 
[NSImage imageNamed:@"VLC-Xmas"]];
+            else
+                [[VLCApplication sharedApplication] setApplicationIconImage: 
[NSImage imageNamed:@"VLC"]];
         }
     }
 

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to