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
Discover
Commits
554aff39
Commit
554aff39
authored
Sep 23, 2020
by
Nate Graham
Browse files
Update tooltips for Settings page inline actions
Fixes
#4
Fixes
#5
parent
b294c93f
Changes
1
Hide whitespace changes
Inline
Side-by-side
discover/qml/SourcesPage.qml
View file @
554aff39
...
...
@@ -166,6 +166,7 @@ DiscoverPage {
actions
:
[
Kirigami.Action
{
iconName
:
"
go-up
"
tooltip
:
i18n
(
"
Increase priority
"
)
enabled
:
sourcesBackend
.
firstSourceId
!==
sourceId
visible
:
sourcesBackend
.
canMoveSources
onTriggered
:
{
...
...
@@ -176,6 +177,7 @@ DiscoverPage {
},
Kirigami.Action
{
iconName
:
"
go-down
"
tooltip
:
i18n
(
"
Decrease priority
"
)
enabled
:
sourcesBackend
.
lastSourceId
!==
sourceId
visible
:
sourcesBackend
.
canMoveSources
onTriggered
:
{
...
...
@@ -186,7 +188,7 @@ DiscoverPage {
},
Kirigami.Action
{
iconName
:
"
edit-delete
"
tooltip
:
i18n
(
"
Delete the origin
"
)
tooltip
:
i18n
(
"
Remove repository
"
)
visible
:
sourcesBackend
.
supportsAdding
onTriggered
:
{
var
backend
=
sourcesBackend
...
...
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