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
fcc9f864
Commit
fcc9f864
authored
Apr 30, 2006
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* forward-port [15464] and update the TODO-list at the top of the file
parent
e2c422e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
3 deletions
+24
-3
modules/gui/macosx/playlist.m
modules/gui/macosx/playlist.m
+24
-3
No files found.
modules/gui/macosx/playlist.m
View file @
fcc9f864
/*****************************************************************************
* playlist.m: MacOS X interface module
*****************************************************************************
* Copyright (C) 2002-200
5
the VideoLAN team
* Copyright (C) 2002-200
6
the VideoLAN team
* $Id$
*
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
...
...
@@ -25,9 +25,7 @@
/* TODO
* add 'icons' for different types of nodes? (http://www.cocoadev.com/index.pl?IconAndTextInTableCell)
* create a new search field build with pictures from the 'regular' search field, so it can be emulated on 10.2
* create toggle buttons for the shuffle, repeat one, repeat all functions.
* implement drag and drop and item reordering.
* reimplement enable/disable item
* create a new 'tool' button (see the gear button in the Finder window) for 'actions'
(adding service discovery, other views, new node/playlist, save node/playlist) stuff like that
...
...
@@ -522,6 +520,29 @@ belongs to an Apple hidden private API, and then can "disapear" at any time*/
[
o_outline_view
reloadData
];
[[[[
VLCMain
sharedInstance
]
getWizard
]
getPlaylistWizard
]
reloadOutlineView
];
[[[[
VLCMain
sharedInstance
]
getBookmarks
]
getDataTable
]
reloadData
];
playlist_t
*
p_playlist
=
vlc_object_find
(
VLCIntf
,
VLC_OBJECT_PLAYLIST
,
FIND_ANYWHERE
);
if
(
!
p_playlist
)
return
;
if
(
p_playlist
->
i_size
>=
2
)
{
[
o_status_field
setStringValue
:
[
NSString
stringWithFormat
:
_NS
(
"%i items in the playlist"
),
p_playlist
->
i_size
]];
}
else
{
if
(
p_playlist
->
i_size
==
0
)
{
[
o_status_field
setStringValue
:
_NS
(
"No items in the playlist"
)];
}
else
{
[
o_status_field
setStringValue
:
_NS
(
"1 item in the playlist"
)];
}
}
vlc_object_release
(
p_playlist
);
}
-
(
void
)
playModeUpdated
...
...
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