Use good old emblem-important icon

The new version from Breeze doesn't look nice in the way the
plasmoid uses this icon.
This commit is contained in:
Martchus 2019-02-26 17:43:28 +01:00
parent 33e55cc49f
commit b0c4c122a4
4 changed files with 24 additions and 3 deletions

View File

@ -71,7 +71,7 @@ ColumnLayout {
}
TinyButton {
id: errorsButton
iconSource: "emblem-important"
iconSource: ":/icons/hicolor/scalable/emblems/emblem-important-old.svg"
tooltip: qsTr("Show errors")
visible: pullErrorCount > 0
onClicked: {

View File

@ -58,8 +58,9 @@ Item {
plasmoid.setAction("showWebUI", qsTr("Web UI"), "internet-web-browser")
plasmoid.setAction("showSettings", qsTr("Settings"), "configure")
plasmoid.setAction("showLog", qsTr("Log"), "text-x-generic")
plasmoid.setAction("showErrors", qsTr("Internal errors"),
"emblem-important")
plasmoid.setAction(
"showErrors", qsTr("Internal errors"),
":/icons/hicolor/scalable/emblems/emblem-important-old.svg")
plasmoid.setAction("rescanAllDirs", qsTr("Rescan all directories"),
"folder-sync")
plasmoid.setAction("restartSyncthing", qsTr("Restart Syncthing"),

View File

@ -0,0 +1,19 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 22">
<defs id="defs3051">
<style type="text/css" id="current-color-scheme">
.ColorScheme-Text {
color:#4d4d4d;
}
</style>
</defs>
<path
style="opacity:1;fill:#da4453;fill-opacity:1;stroke:none"
d="m 12,4 -4.5,8 -4.5,8 9,0 9,0 -4.5,-8 z m -1,5 2,0 0,6 -2,0 z m 0,7 2,0 0,2 -2,0 z"
id="path4156"
class="ColorScheme-Text"
/>
<path
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 11 9 L 11 15 L 13 15 L 13 9 L 11 9 z M 11 16 L 11 18 L 13 18 L 13 16 L 11 16 z "
id="rect3348" />
</svg>

After

Width:  |  Height:  |  Size: 715 B

View File

@ -13,5 +13,6 @@
<file>icons/hicolor/scalable/fa/cloud-upload-alt-solid.svg</file>
<file>icons/hicolor/scalable/actions/globe.svg</file>
<file>icons/hicolor/scalable/places/user-home.svg</file>
<file>icons/hicolor/scalable/emblems/emblem-important-old.svg</file>
</qresource>
</RCC>