replace open document icon with my own custom icon
This commit is contained in:
23
icons/myicons/folder-outline.svg
Normal file
23
icons/myicons/folder-outline.svg
Normal file
@@ -0,0 +1,23 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 64 64">
|
||||
<path d="
|
||||
M5,50
|
||||
L5,10
|
||||
C5,5 10,5 10,5
|
||||
L20,5
|
||||
C22,5 25,7 25,7
|
||||
C25,7, 28,10 30,10
|
||||
L55,10
|
||||
C60,10 60,15 60,15
|
||||
L60,50
|
||||
C60,55 55,55 55,55
|
||||
L10,55
|
||||
C10,55 5,55 5,50"
|
||||
style="fill:#ddd;stroke:black; stroke-width:4;"/>
|
||||
|
||||
<rect x="20" y="20" width="30" height="39"
|
||||
style="fill:#eee; stroke: black; stroke-width:4; stroke-linejoin:round;"/>
|
||||
|
||||
<line x1="25" y1="28" x2="45" y2="28" style="stroke: black; stroke-width:4; stroke-linecap:round;"/>
|
||||
<line x1="25" y1="35" x2="35" y2="35" style="stroke: black; stroke-width:4; stroke-linecap:round;"/>
|
||||
<line x1="25" y1="42" x2="40" y2="42" style="stroke: black; stroke-width:4; stroke-linecap:round;"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 773 B |
@@ -23,7 +23,7 @@ class OpenFilePlugin(PluginBase):
|
||||
|
||||
def _action_open_file(self) -> RAction:
|
||||
open_file = RAction(_("&Open..."), self._open_file_dialog, shortcut='Ctrl+O',
|
||||
icon_from_theme="document-open")
|
||||
icon_file="icons/myicons/folder-outline.svg")
|
||||
return open_file
|
||||
|
||||
def _sub_menu_recent_files(self) -> RMenu:
|
||||
|
||||
Reference in New Issue
Block a user