Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
de50f7f2
Commit
de50f7f2
authored
Feb 21, 2009
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: improved font selection in the simple prefs by using the 10.5 API
parent
e4fa3e2f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
modules/gui/macosx/simple_prefs.m
modules/gui/macosx/simple_prefs.m
+1
-7
No files found.
modules/gui/macosx/simple_prefs.m
View file @
de50f7f2
...
...
@@ -1059,11 +1059,6 @@ static inline void save_module_list( intf_thread_t * p_intf, id object, const ch
[
o_video_snap_folder_fld
setStringValue
:
[
o_selectFolderPanel
filename
]];
b_videoSettingChanged
=
YES
;
}
else
if
(
contextInfo
==
o_osd_font_btn
)
{
[
o_osd_font_fld
setStringValue
:
[
o_selectFolderPanel
filename
]];
b_osdSettingChanged
=
YES
;
}
}
[
o_selectFolderPanel
release
];
...
...
@@ -1095,8 +1090,7 @@ static inline void save_module_list( intf_thread_t * p_intf, id object, const ch
NSFont
*
font
=
[
NSFont
fontWithDescriptor
:[
fd
fontDescriptorWithFamily
:
fontFamilyName
]
textTransform
:
nil
];
[[
NSFontManager
sharedFontManager
]
setSelectedFont
:
font
isMultiple
:
NO
];
}
[[
NSFontManager
sharedFontManager
]
setDelegate
:
self
];
[
o_sprefs_win
makeFirstResponder
:
o_sprefs_win
];
[[
NSFontManager
sharedFontManager
]
setTarget
:
self
];
[[
NSFontPanel
sharedFontPanel
]
orderFront
:
self
];
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment