Add fallback icons for buttons to move connections up and down

because these buttons are icon-only and therefore looks odd without an
icon.
This commit is contained in:
Martchus 2020-09-12 22:09:40 +02:00
parent b4ea431b7a
commit fe4082a253
4 changed files with 26 additions and 4 deletions

View File

@ -0,0 +1,10 @@
<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
<style
type="text/css"
id="current-color-scheme">
.ColorScheme-Text {
color:#232629;
}
</style>
<path d="M8 11.707l-6-6L2.707 5 8 10.293 13.293 5l.707.707-6 6z" class="ColorScheme-Text" fill="currentColor"/>
</svg>

After

Width:  |  Height:  |  Size: 332 B

View File

@ -0,0 +1,10 @@
<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
<style
type="text/css"
id="current-color-scheme">
.ColorScheme-Text {
color:#232629;
}
</style>
<path d="M8 4.293l-6 6 .707.707L8 5.707 13.293 11l.707-.707-6-6z" class="ColorScheme-Text" fill="currentColor"/>
</svg>

After

Width:  |  Height:  |  Size: 333 B

View File

@ -14,5 +14,7 @@
<file>icons/hicolor/scalable/emblems/emblem-important-old.svg</file>
<file>icons/hicolor/scalable/actions/edit-undo.svg</file>
<file>icons/hicolor/scalable/actions/document-open.svg</file>
<file>icons/hicolor/scalable/actions/go-down.svg</file>
<file>icons/hicolor/scalable/actions/go-up.svg</file>
</qresource>
</RCC>

View File

@ -81,8 +81,8 @@
<string>Move currently selected configuration down</string>
</property>
<property name="icon">
<iconset theme="go-down">
<normaloff>.</normaloff>.</iconset>
<iconset theme="go-down" resource="../resources/syncthingwidgetsicons.qrc">
<normaloff>:/icons/hicolor/scalable/actions/go-down.svg</normaloff>:/icons/hicolor/scalable/actions/go-down.svg</iconset>
</property>
</widget>
</item>
@ -98,8 +98,8 @@
<string>Move currently selected configuration up</string>
</property>
<property name="icon">
<iconset theme="go-up">
<normaloff>.</normaloff>.</iconset>
<iconset theme="go-up" resource="../resources/syncthingwidgetsicons.qrc">
<normaloff>:/icons/hicolor/scalable/actions/go-up.svg</normaloff>:/icons/hicolor/scalable/actions/go-up.svg</iconset>
</property>
</widget>
</item>