Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Plasma PulseAudio Applet
Commits
8525cf12
Commit
8525cf12
authored
Dec 30, 2020
by
Nate Graham
Browse files
[applet] Port placeholder messages to PlasmaExtras.PlaceholderMessage
parent
04ebefd2
Changes
1
Hide whitespace changes
Inline
Side-by-side
applet/contents/ui/main.qml
View file @
8525cf12
...
...
@@ -624,29 +624,20 @@ Item {
}
}
PlasmaExtras.Heading
{
level
:
4
enabled
:
false
width
:
parent
.
width
height
:
scrollView
.
height
visible
:
streamsView
.
visible
&&
!
sinkInputView
.
count
&&
!
sourceOutputView
.
count
text
:
i18n
(
"
No applications playing or recording audio
"
)
wrapMode
:
Text
.
WordWrap
verticalAlignment
:
Text
.
AlignVCenter
horizontalAlignment
:
Text
.
AlignHCenter
}
}
PlasmaExtras.Heading
{
level
:
4
enabled
:
false
width
:
parent
.
width
height
:
scrollView
.
height
visible
:
devicesView
.
visible
&&
!
sinkView
.
count
&&
!
sourceView
.
count
text
:
i18n
(
"
No output or input devices found
"
)
wrapMode
:
Text
.
WordWrap
verticalAlignment
:
Text
.
AlignVCenter
horizontalAlignment
:
Text
.
AlignHCenter
}
PlasmaExtras.PlaceholderMessage
{
width
:
parent
.
width
-
(
PlasmaCore
.
Units
.
largeSpacing
*
4
)
anchors.centerIn
:
parent
visible
:
streamsView
.
visible
&&
!
sinkInputView
.
count
&&
!
sourceOutputView
.
count
text
:
i18n
(
"
No applications playing or recording audio
"
)
}
PlasmaExtras.PlaceholderMessage
{
width
:
parent
.
width
-
(
PlasmaCore
.
Units
.
largeSpacing
*
4
)
anchors.centerIn
:
parent
visible
:
devicesView
.
visible
&&
!
sinkView
.
count
&&
!
sourceView
.
count
text
:
i18n
(
"
No output or input devices found
"
)
}
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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