[vlc-commits] macosx: Fallback to name in status bar icon menu

Marvin Scholz git at videolan.org
Sun Nov 6 17:00:46 CET 2016


vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Sun Nov  6 16:57:58 2016 +0100| [af913e083ff71ac0dbcc17dabce5d646b35d6789] | committer: Marvin Scholz

macosx: Fallback to name in status bar icon menu

Previously for items with no metadata, the whole area
right to the coverart was empty, which could be a bit
confusing. This change will make sure we always display
at least the item name, if it has no title.

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

 modules/gui/macosx/VLCStatusBarIcon.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/macosx/VLCStatusBarIcon.m b/modules/gui/macosx/VLCStatusBarIcon.m
index 8703d66..dcb965a 100644
--- a/modules/gui/macosx/VLCStatusBarIcon.m
+++ b/modules/gui/macosx/VLCStatusBarIcon.m
@@ -339,7 +339,7 @@
         }
 
         // Get Titel
-        tmp_cstr = input_item_GetTitle(item);
+        tmp_cstr = input_item_GetTitleFbName(item);
         if (tmp_cstr) {
             title = toNSStr(tmp_cstr);
             FREENULL(tmp_cstr);



More information about the vlc-commits mailing list