35 lines
1.5 KiB
Diff
35 lines
1.5 KiB
Diff
|
diff -Nru apper-0.8.1.orig/plasmoid/package/contents/ui/main.qml apper-0.8.1/plasmoid/package/contents/ui/main.qml
|
||
|
--- apper-0.8.1.orig/plasmoid/package/contents/ui/main.qml 2013-07-01 14:42:28.000000000 +0200
|
||
|
+++ apper-0.8.1/plasmoid/package/contents/ui/main.qml 2013-08-24 13:23:50.873405252 +0200
|
||
|
@@ -37,7 +37,7 @@
|
||
|
|
||
|
property bool checkedForUpdates: false
|
||
|
property string tooltipText: i18n("Software Updates")
|
||
|
- property string tooltipIcon: "kpackagekit-updates"
|
||
|
+ property string tooltipIcon: "package-update"
|
||
|
|
||
|
property Component compactRepresentation: CompactRepresentation {
|
||
|
text: tooltipText
|
||
|
@@ -164,17 +164,17 @@
|
||
|
function updateIcon() {
|
||
|
if (updatesModel.rowCount()) {
|
||
|
if (updatesModel.countInfo(Apper.Transaction.InfoSecurity)) {
|
||
|
- tooltipIcon = "kpackagekit-security"
|
||
|
+ tooltipIcon = "kpk-important"
|
||
|
} else if (updatesModel.countInfo(Apper.Transaction.InfoImportant)) {
|
||
|
- tooltipIcon = "kpackagekit-important"
|
||
|
+ tooltipIcon = "kpk-important"
|
||
|
} else {
|
||
|
- tooltipIcon = "kpackagekit-updates"
|
||
|
+ tooltipIcon = "package-update"
|
||
|
}
|
||
|
tooltipText = i18np("You have one update",
|
||
|
"You have %1 updates",
|
||
|
updatesModel.rowCount())
|
||
|
} else {
|
||
|
- tooltipIcon = "kpackagekit-updates"
|
||
|
+ tooltipIcon = "package-update"
|
||
|
tooltipText = i18n("Your system is up to date")
|
||
|
}
|
||
|
}
|