From 8dbce44cb57f01151e696c3a0dae58c7ac1d880d Mon Sep 17 00:00:00 2001 From: Pierre d'Herbemont Date: Sun, 6 Jul 2008 22:53:24 +0200 Subject: [PATCH] macosx: Use font from the Nib in the playlist. --- modules/gui/macosx/playlist.m | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/modules/gui/macosx/playlist.m b/modules/gui/macosx/playlist.m index 8b02ac26b7..90d75e1220 100644 --- a/modules/gui/macosx/playlist.m +++ b/modules/gui/macosx/playlist.m @@ -297,8 +297,7 @@ } free( psz_artist ); } - - return( o_value ); + return o_value; } @end @@ -1289,11 +1288,11 @@ [item pointerValue] checkItemExistence: YES] || [o_playing_item isEqual: item] ) { - [cell setFont: [NSFont boldSystemFontOfSize: 0]]; + [cell setFont: [[NSFontManager sharedFontManager] convertFont:[cell font] toHaveTrait:NSBoldFontMask]]; } else { - [cell setFont: [NSFont systemFontOfSize: 0]]; + [cell setFont: [[NSFontManager sharedFontManager] convertFont:[cell font] toNotHaveTrait:NSBoldFontMask]]; } vlc_object_release( p_playlist ); } -- 2.39.2