use custom document-save-as icon

This commit is contained in:
2022-09-03 18:12:25 +02:00
parent 59c3170757
commit d35d87f4a9
2 changed files with 15 additions and 1 deletions

View File

@@ -0,0 +1,14 @@
<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 16 16">
<path style="fill: #b3e0fe; stroke: black; stroke-linejoin:round;"
d="M7.5,14.5
L1.5,7.5
L5.5,7.5
L5.5,0.5
L9.5,0.5
L9.5,7.5
L13.5,7.5
L7.5,14.5
z
"/>
<line x1="0.5" y1="15.5" x2="15.5" y2="15.5" style="stroke:black;"/>
</svg>

After

Width:  |  Height:  |  Size: 367 B

View File

@@ -190,7 +190,7 @@ class InnerBigText(QWidget):
copy_clipboard.setDisabled(not self._has_selection())
menu.addAction(copy_clipboard)
copy_to_file = QAction(Icon.fromTheme("document-save-as"), _("Copy to &File"), self,
copy_to_file = QAction(Icon("icons/myicons/document-save-as.svg"), _("Copy to &File"), self,
triggered=self._copy_selection_to_file)
copy_to_file.setDisabled(not self._has_selection())
menu.addAction(copy_to_file)