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
a1eacf91
Commit
a1eacf91
authored
Dec 23, 2011
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: adapt to the new sidebar icons
parent
9de7b85e
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
42 additions
and
43 deletions
+42
-43
Makefile.am
Makefile.am
+6
-7
extras/package/macosx/vlc.xcodeproj/project.pbxproj
extras/package/macosx/vlc.xcodeproj/project.pbxproj
+30
-30
modules/gui/macosx/MainWindow.m
modules/gui/macosx/MainWindow.m
+6
-6
No files found.
Makefile.am
View file @
a1eacf91
...
@@ -287,13 +287,12 @@ EXTRA_DIST += \
...
@@ -287,13 +287,12 @@ EXTRA_DIST += \
extras/package/macosx/Resources/prefs/spref_cone_Subtitles_64.png
\
extras/package/macosx/Resources/prefs/spref_cone_Subtitles_64.png
\
extras/package/macosx/Resources/prefs/spref_cone_Video_64.png
\
extras/package/macosx/Resources/prefs/spref_cone_Video_64.png
\
extras/package/macosx/Resources/README
\
extras/package/macosx/Resources/README
\
extras/package/macosx/Resources/sidebar-icons/document-music-playlist.png
\
extras/package/macosx/Resources/sidebar-icons/local.png
\
extras/package/macosx/Resources/sidebar-icons/film-cast.png
\
extras/package/macosx/Resources/sidebar-icons/movie.png
\
extras/package/macosx/Resources/sidebar-icons/film.png
\
extras/package/macosx/Resources/sidebar-icons/music.png
\
extras/package/macosx/Resources/sidebar-icons/music-beam.png
\
extras/package/macosx/Resources/sidebar-icons/pictures.png
\
extras/package/macosx/Resources/sidebar-icons/network-cloud.png
\
extras/package/macosx/Resources/sidebar-icons/playlist.png
\
extras/package/macosx/Resources/sidebar-icons/picture.png
\
extras/package/macosx/Resources/sidebar-icons/podcast.png
\
extras/package/macosx/Resources/sidebar-icons/README
\
extras/package/macosx/Resources/vlc.scriptSuite
\
extras/package/macosx/Resources/vlc.scriptSuite
\
extras/package/macosx/Resources/vlc.scriptTerminology
\
extras/package/macosx/Resources/vlc.scriptTerminology
\
extras/package/macosx/fullscreen_panel.svg
\
extras/package/macosx/fullscreen_panel.svg
\
...
...
extras/package/macosx/vlc.xcodeproj/project.pbxproj
View file @
a1eacf91
This diff is collapsed.
Click to expand it.
modules/gui/macosx/MainWindow.m
View file @
a1eacf91
...
@@ -285,7 +285,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
...
@@ -285,7 +285,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
o_sidebaritems
=
[[
NSMutableArray
alloc
]
init
];
o_sidebaritems
=
[[
NSMutableArray
alloc
]
init
];
SideBarItem
*
libraryItem
=
[
SideBarItem
itemWithTitle
:
_NS
(
"LIBRARY"
)
identifier
:
@"library"
];
SideBarItem
*
libraryItem
=
[
SideBarItem
itemWithTitle
:
_NS
(
"LIBRARY"
)
identifier
:
@"library"
];
SideBarItem
*
playlistItem
=
[
SideBarItem
itemWithTitle
:
_NS
(
"Playlist"
)
identifier
:
@"playlist"
];
SideBarItem
*
playlistItem
=
[
SideBarItem
itemWithTitle
:
_NS
(
"Playlist"
)
identifier
:
@"playlist"
];
[
playlistItem
setIcon
:
[
NSImage
imageNamed
:
@"
document-music-
playlist"
]];
[
playlistItem
setIcon
:
[
NSImage
imageNamed
:
@"playlist"
]];
SideBarItem
*
mycompItem
=
[
SideBarItem
itemWithTitle
:
_NS
(
"MY COMPUTER"
)
identifier
:
@"mycomputer"
];
SideBarItem
*
mycompItem
=
[
SideBarItem
itemWithTitle
:
_NS
(
"MY COMPUTER"
)
identifier
:
@"mycomputer"
];
SideBarItem
*
devicesItem
=
[
SideBarItem
itemWithTitle
:
_NS
(
"DEVICES"
)
identifier
:
@"devices"
];
SideBarItem
*
devicesItem
=
[
SideBarItem
itemWithTitle
:
_NS
(
"DEVICES"
)
identifier
:
@"devices"
];
SideBarItem
*
lanItem
=
[
SideBarItem
itemWithTitle
:
_NS
(
"LOCAL NETWORK"
)
identifier
:
@"localnetwork"
];
SideBarItem
*
lanItem
=
[
SideBarItem
itemWithTitle
:
_NS
(
"LOCAL NETWORK"
)
identifier
:
@"localnetwork"
];
...
@@ -313,7 +313,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
...
@@ -313,7 +313,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
{
{
[
internetItems
addObject
:
[
SideBarItem
itemWithTitle
:
[
NSString
stringWithCString
:
*
ppsz_longname
encoding
:
NSUTF8StringEncoding
]
identifier
:
o_identifier
]];
[
internetItems
addObject
:
[
SideBarItem
itemWithTitle
:
[
NSString
stringWithCString
:
*
ppsz_longname
encoding
:
NSUTF8StringEncoding
]
identifier
:
o_identifier
]];
if
(
!
strncmp
(
*
ppsz_name
,
"podcast"
,
7
))
if
(
!
strncmp
(
*
ppsz_name
,
"podcast"
,
7
))
[[
internetItems
lastObject
]
setIcon
:
[
NSImage
imageNamed
:
@"
film-
cast"
]];
[[
internetItems
lastObject
]
setIcon
:
[
NSImage
imageNamed
:
@"
pod
cast"
]];
else
else
[[
internetItems
lastObject
]
setIcon
:
[
NSImage
imageNamed
:
@"NSApplicationIcon"
]];
[[
internetItems
lastObject
]
setIcon
:
[
NSImage
imageNamed
:
@"NSApplicationIcon"
]];
}
}
...
@@ -327,18 +327,18 @@ static VLCMainWindow *_o_sharedInstance = nil;
...
@@ -327,18 +327,18 @@ static VLCMainWindow *_o_sharedInstance = nil;
case
SD_CAT_LAN
:
case
SD_CAT_LAN
:
{
{
[
lanItems
addObject
:
[
SideBarItem
itemWithTitle
:
[
NSString
stringWithCString
:
*
ppsz_longname
encoding
:
NSUTF8StringEncoding
]
identifier
:
o_identifier
]];
[
lanItems
addObject
:
[
SideBarItem
itemWithTitle
:
[
NSString
stringWithCString
:
*
ppsz_longname
encoding
:
NSUTF8StringEncoding
]
identifier
:
o_identifier
]];
[[
lanItems
lastObject
]
setIcon
:
[
NSImage
imageNamed
:
@"
network-cloud
"
]];
[[
lanItems
lastObject
]
setIcon
:
[
NSImage
imageNamed
:
@"
local
"
]];
}
}
break
;
break
;
case
SD_CAT_MYCOMPUTER
:
case
SD_CAT_MYCOMPUTER
:
{
{
[
mycompItems
addObject
:
[
SideBarItem
itemWithTitle
:
[
NSString
stringWithCString
:
*
ppsz_longname
encoding
:
NSUTF8StringEncoding
]
identifier
:
o_identifier
]];
[
mycompItems
addObject
:
[
SideBarItem
itemWithTitle
:
[
NSString
stringWithCString
:
*
ppsz_longname
encoding
:
NSUTF8StringEncoding
]
identifier
:
o_identifier
]];
if
(
!
strncmp
(
*
ppsz_name
,
"video_dir"
,
9
))
if
(
!
strncmp
(
*
ppsz_name
,
"video_dir"
,
9
))
[[
mycompItems
lastObject
]
setIcon
:
[
NSImage
imageNamed
:
@"
film
"
]];
[[
mycompItems
lastObject
]
setIcon
:
[
NSImage
imageNamed
:
@"
movie
"
]];
else
if
(
!
strncmp
(
*
ppsz_name
,
"audio_dir"
,
9
))
else
if
(
!
strncmp
(
*
ppsz_name
,
"audio_dir"
,
9
))
[[
mycompItems
lastObject
]
setIcon
:
[
NSImage
imageNamed
:
@"music
-beam
"
]];
[[
mycompItems
lastObject
]
setIcon
:
[
NSImage
imageNamed
:
@"music"
]];
else
if
(
!
strncmp
(
*
ppsz_name
,
"picture_dir"
,
11
))
else
if
(
!
strncmp
(
*
ppsz_name
,
"picture_dir"
,
11
))
[[
mycompItems
lastObject
]
setIcon
:
[
NSImage
imageNamed
:
@"picture"
]];
[[
mycompItems
lastObject
]
setIcon
:
[
NSImage
imageNamed
:
@"picture
s
"
]];
else
else
[[
mycompItems
lastObject
]
setIcon
:
[
NSImage
imageNamed
:
@"NSApplicationIcon"
]];
[[
mycompItems
lastObject
]
setIcon
:
[
NSImage
imageNamed
:
@"NSApplicationIcon"
]];
}
}
...
...
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