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
dd3e4632
Commit
dd3e4632
authored
Jun 10, 2007
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4 - Add Icons to the systray Menu bar.
parent
7d72c079
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
6 deletions
+10
-6
modules/gui/qt4/menus.cpp
modules/gui/qt4/menus.cpp
+9
-6
modules/gui/qt4/res.qrc
modules/gui/qt4/res.qrc
+1
-0
No files found.
modules/gui/qt4/menus.cpp
View file @
dd3e4632
...
...
@@ -207,10 +207,10 @@ QMenu *QVLCMenu::FileMenu()
menu
->
addSeparator
();
DP_SADD
(
menu
,
qtr
(
"&Streaming..."
),
""
,
":/pixmaps/vlc_stream_16px.png"
,
openThenStreamingDialogs
(),
"Ctrl+S"
);
DP_SADD
(
menu
,
qtr
(
"Conve&rt / Save..."
),
""
,
""
,
openThenTranscodingDialogs
(),
"Ctrl+R"
);
DP_SADD
(
menu
,
qtr
(
"Conve&rt / Save..."
),
""
,
""
,
openThenTranscodingDialogs
(),
"Ctrl+R"
);
menu
->
addSeparator
();
DP_SADD
(
menu
,
qtr
(
"&Quit"
)
,
""
,
":/pixmaps/vlc_quit_16px.png"
,
quit
(),
DP_SADD
(
menu
,
qtr
(
"&Quit"
)
,
""
,
":/pixmaps/vlc_quit_16px.png"
,
quit
(),
"Ctrl+Q"
);
return
menu
;
}
...
...
@@ -608,19 +608,22 @@ void QVLCMenu::updateSystrayMenu( MainInterface *mi, intf_thread_t *p_intf,
sysMenu
->
clear
();
if
(
mi
->
isVisible
()
||
b_force_visible
)
{
sysMenu
->
addAction
(
qtr
(
"Hide VLC media player"
),
mi
,
sysMenu
->
addAction
(
QIcon
(
":/vlc16.png"
),
qtr
(
"Hide VLC media player"
),
mi
,
SLOT
(
toggleUpdateSystrayMenu
()
)
);
}
else
{
sysMenu
->
addAction
(
qtr
(
"Show VLC media player"
),
mi
,
sysMenu
->
addAction
(
QIcon
(
":/vlc16.png"
),
qtr
(
"Show VLC media player"
),
mi
,
SLOT
(
toggleUpdateSystrayMenu
()
)
);
}
sysMenu
->
addSeparator
();
POPUP_PLAY_ENTRIES
(
sysMenu
);
sysMenu
->
addSeparator
();
DP_SADD
(
sysMenu
,
qtr
(
"&Open Media"
),
""
,
""
,
openFileDialog
(),
""
);
DP_SADD
(
sysMenu
,
qtr
(
"&Quit"
)
,
""
,
""
,
quit
(),
""
);
DP_SADD
(
sysMenu
,
qtr
(
"&Quit"
)
,
""
,
":/pixmaps/vlc_quit_16px.png"
,
quit
(),
""
);
mi
->
getSysTray
()
->
setContextMenu
(
sysMenu
);
}
...
...
modules/gui/qt4/res.qrc
View file @
dd3e4632
...
...
@@ -10,6 +10,7 @@
<file>
pixmaps/go-next.png
</file>
<file
alias=
"vlc128.png"
>
../../../share/vlc128x128.png
</file>
<file
alias=
"vlc48.png"
>
../../../share/vlc48x48.png
</file>
<file
alias=
"vlc16.png"
>
../../../share/vlc16x16.png
</file>
<file
alias=
"noart.png"
>
pixmaps/noart.png
</file>
<file>
pixmaps/playlist_icon.png
</file>
<file>
pixmaps/spref_cone_Audio_64.png
</file>
...
...
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