Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
df139149
Commit
df139149
authored
Jul 13, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: Make sure right click can select a playlist item.
parent
6eaebb99
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
modules/gui/macosx/playlist.m
modules/gui/macosx/playlist.m
+6
-2
No files found.
modules/gui/macosx/playlist.m
View file @
df139149
...
...
@@ -115,6 +115,7 @@
[
o_outline_view
setTarget
:
self
];
[
o_outline_view
setDelegate
:
self
];
[
o_outline_view
setDataSource
:
self
];
[
o_outline_view
setAllowsEmptySelection
:
NO
];
vlc_object_release
(
p_playlist
);
[
self
initStrings
];
...
...
@@ -1201,8 +1202,11 @@
pt
=
[
o_outline_view
convertPoint
:
[
o_event
locationInWindow
]
fromView:
nil
];
b_item_sel
=
(
[
o_outline_view
rowAtPoint
:
pt
]
!=
-
1
&&
[
o_outline_view
selectedRow
]
!=
-
1
);
NSInteger
row
=
[
o_outline_view
rowAtPoint
:
pt
];
if
(
row
!=
-
1
)
[
o_outline_view
selectRowIndexes
:[
NSIndexSet
indexSetWithIndex
:
row
]
byExtendingSelection
:
NO
];
b_item_sel
=
(
row
!=
-
1
&&
[
o_outline_view
selectedRow
]
!=
-
1
);
b_rows
=
[
o_outline_view
numberOfRows
]
!=
0
;
[
o_mi_play
setEnabled
:
b_item_sel
];
...
...
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