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
32d88b70
Commit
32d88b70
authored
Feb 02, 2021
by
Nate Graham
Browse files
[Updates page] Match style of Kirigami.PlaceholderMessage
(cherry picked from commit
a5f2567b
)
parent
d52a3d78
Changes
1
Hide whitespace changes
Inline
Side-by-side
discover/qml/UpdatesPage.qml
View file @
32d88b70
...
...
@@ -175,7 +175,7 @@ DiscoverPage
source
:
"
update-none
"
implicitWidth
:
Kirigami
.
Units
.
gridUnit
*
4
implicitHeight
:
Kirigami
.
Units
.
gridUnit
*
4
enabled
:
false
opacity
:
0.5
}
Kirigami.Heading
{
id
:
statusLabel
...
...
@@ -186,7 +186,7 @@ DiscoverPage
ToolTip.text
:
page
.
footerToolTip
ToolTip.visible
:
hovered
&&
page
.
footerToolTip
.
length
>
0
ToolTip.delay
:
Kirigami
.
Units
.
toolTipDelay
level
:
3
level
:
2
}
Button
{
id
:
restartButton
...
...
@@ -347,7 +347,7 @@ DiscoverPage
State
{
name
:
"
fetching
"
PropertyChanges
{
target
:
page
;
footerLabel
:
i18nc
(
"
@info
"
,
"
Fetching updates...
"
)
}
PropertyChanges
{
target
:
statusLabel
;
enabled
:
true
}
PropertyChanges
{
target
:
statusLabel
;
opacity
:
1
}
PropertyChanges
{
target
:
page
;
footerProgress
:
ResourcesModel
.
fetchingUpdatesProgress
}
PropertyChanges
{
target
:
page
;
footerToolTip
:
{
var
ret
=
""
;
...
...
@@ -380,37 +380,37 @@ DiscoverPage
State
{
name
:
"
reboot
"
PropertyChanges
{
target
:
page
;
footerLabel
:
i18nc
(
"
@info
"
,
"
The system requires a restart to apply updates
"
)
}
PropertyChanges
{
target
:
statusLabel
;
enabled
:
true
}
PropertyChanges
{
target
:
statusLabel
;
opacity
:
1
}
PropertyChanges
{
target
:
restartButton
;
visible
:
true
}
},
State
{
name
:
"
now-uptodate
"
PropertyChanges
{
target
:
page
;
footerLabel
:
i18nc
(
"
@info
"
,
"
Up to date
"
)
}
PropertyChanges
{
target
:
statusLabel
;
enabled
:
false
}
PropertyChanges
{
target
:
statusLabel
;
opacity
:
0.5
}
PropertyChanges
{
target
:
page
.
actions
;
main
:
refreshAction
}
},
State
{
name
:
"
uptodate
"
PropertyChanges
{
target
:
page
;
footerLabel
:
i18nc
(
"
@info
"
,
"
Up to date
"
)
}
PropertyChanges
{
target
:
statusLabel
;
enabled
:
false
}
PropertyChanges
{
target
:
statusLabel
;
opacity
:
0.5
}
PropertyChanges
{
target
:
page
.
actions
;
main
:
refreshAction
}
},
State
{
name
:
"
medium
"
PropertyChanges
{
target
:
page
;
title
:
i18nc
(
"
@info
"
,
"
Up to date
"
)
}
PropertyChanges
{
target
:
statusLabel
;
enabled
:
false
}
PropertyChanges
{
target
:
statusLabel
;
opacity
:
0.5
}
PropertyChanges
{
target
:
page
.
actions
;
main
:
refreshAction
}
},
State
{
name
:
"
low
"
PropertyChanges
{
target
:
page
;
title
:
i18nc
(
"
@info
"
,
"
Should check for updates
"
)
}
PropertyChanges
{
target
:
statusLabel
;
enabled
:
true
}
PropertyChanges
{
target
:
statusLabel
;
opacity
:
1
}
PropertyChanges
{
target
:
page
.
actions
;
main
:
refreshAction
}
},
State
{
name
:
"
unknown
"
PropertyChanges
{
target
:
page
;
title
:
i18nc
(
"
@info
"
,
"
It is unknown when the last check for updates was
"
)
}
PropertyChanges
{
target
:
statusLabel
;
enabled
:
true
}
PropertyChanges
{
target
:
statusLabel
;
opacity
:
1
}
PropertyChanges
{
target
:
page
.
actions
;
main
:
refreshAction
}
}
]
...
...
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