Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
2f76aba6
Commit
2f76aba6
authored
Jun 15, 2009
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: disable the font-selector button in case quartztext isn't present, as it is useless then
parent
f84c91c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
modules/gui/macosx/simple_prefs.m
modules/gui/macosx/simple_prefs.m
+2
-4
No files found.
modules/gui/macosx/simple_prefs.m
View file @
2f76aba6
...
...
@@ -579,6 +579,8 @@ create_toolbar_item( NSString * o_itemIdent, NSString * o_name, NSString * o_des
[
self
setupField
:
o_osd_font_fld
forOption
:
"freetype-font"
];
[
self
setupButton
:
o_osd_font_color_pop
forIntList
:
"freetype-color"
];
[
self
setupButton
:
o_osd_font_size_pop
forIntList
:
"freetype-rel-fontsize"
];
/* selector button is useless in this case */
[
o_osd_font_btn
setEnabled
:
NO
];
}
...
...
@@ -1133,10 +1135,6 @@ static inline void save_module_list( intf_thread_t * p_intf, id object, const ch
[[
NSFontManager
sharedFontManager
]
setTarget
:
self
];
[[
NSFontPanel
sharedFontPanel
]
orderFront
:
self
];
}
else
{
[
sender
setEnabled
:
NO
];
}
}
-
(
void
)
changeFont
:(
id
)
sender
...
...
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