ArchUpdater: better icons (take2)
This commit is contained in:
parent
8d9f206c45
commit
e86e7344f3
2 changed files with 3 additions and 3 deletions
|
|
@ -34,7 +34,7 @@ NPanel {
|
||||||
spacing: Style.marginM * scaling
|
spacing: Style.marginM * scaling
|
||||||
|
|
||||||
NIcon {
|
NIcon {
|
||||||
text: "system_update"
|
text: "system_update_alt"
|
||||||
font.pointSize: Style.fontSizeXXL * scaling
|
font.pointSize: Style.fontSizeXXL * scaling
|
||||||
color: Color.mPrimary
|
color: Color.mPrimary
|
||||||
}
|
}
|
||||||
|
|
@ -192,7 +192,7 @@ NPanel {
|
||||||
}
|
}
|
||||||
|
|
||||||
NIconButton {
|
NIconButton {
|
||||||
icon: ArchUpdaterService.updateInProgress ? "hourglass_empty" : "filter_none"
|
icon: ArchUpdaterService.updateInProgress ? "hourglass_empty" : "system_update_alt"
|
||||||
tooltipText: ArchUpdaterService.updateInProgress ? "Update in progress..." : "Update all packages"
|
tooltipText: ArchUpdaterService.updateInProgress ? "Update in progress..." : "Update all packages"
|
||||||
enabled: !ArchUpdaterService.updateInProgress
|
enabled: !ArchUpdaterService.updateInProgress
|
||||||
onClicked: {
|
onClicked: {
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,7 @@ NIconButton {
|
||||||
return "sync"
|
return "sync"
|
||||||
}
|
}
|
||||||
if (ArchUpdaterService.totalUpdates > 0) {
|
if (ArchUpdaterService.totalUpdates > 0) {
|
||||||
return "filter_none"
|
return "system_update_alt"
|
||||||
}
|
}
|
||||||
return "task_alt"
|
return "task_alt"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue