Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
a0659acb
Commit
a0659acb
authored
Sep 08, 2007
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Shows qt4 notification only if the player isn't visible
parent
eabbeb18
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
modules/gui/qt4/main_interface.cpp
modules/gui/qt4/main_interface.cpp
+1
-1
modules/gui/qt4/qt4.cpp
modules/gui/qt4/qt4.cpp
+2
-2
No files found.
modules/gui/qt4/main_interface.cpp
View file @
a0659acb
...
...
@@ -792,7 +792,7 @@ void MainInterface::updateSystrayTooltipName( QString name )
else
{
sysTray
->
setToolTip
(
name
);
if
(
notificationEnabled
)
if
(
notificationEnabled
&&
(
isHidden
()
||
isMinimized
()
)
)
{
sysTray
->
showMessage
(
qtr
(
"VLC media player"
),
name
,
QSystemTrayIcon
::
NoIcon
,
4000
);
...
...
modules/gui/qt4/qt4.cpp
View file @
a0659acb
...
...
@@ -71,10 +71,10 @@ static void ShowDialog ( intf_thread_t *, int, int, intf_dialog_args_t * );
#define FILEDIALOG_PATH_TEXT N_("Path to use in file dialog")
#define FILEDIALOG_PATH_LONGTEXT N_("Path to use in file dialog")
#define NOTIFICATION_TEXT N_("Show notification popup on track change")
#define NOTIFICATION_TEXT N_("Show notification popup on track change
if VLC is not visible
")
#define NOTIFICATION_LONGTEXT N_( \
"Show a notification popup with the artist and track name when " \
"the current playlist item changes." )
"the current playlist item changes
, when VLC is minimized or hidden
." )
#define ADVANCED_OPTIONS_TEXT N_("Advanced options")
#define ADVANCED_OPTIONS_LONGTEXT N_("Activate by default all the" \
...
...
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