add custom icon for notes plugin menu item
This commit is contained in:
9
icons/myicons/notes.svg
Normal file
9
icons/myicons/notes.svg
Normal file
@@ -0,0 +1,9 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 16 16">
|
||||
<g transform="translate(0.5,0.5)">
|
||||
<rect x="2" y="0" width="11" height="15"
|
||||
style="fill:#eee; stroke: black; stroke-linejoin:round;"/>
|
||||
<circle cx="12" cy="12" r="3.5" style="fill: green;"/>
|
||||
<line x1="10" y1="12" x2="14" y2="12" style="stroke: white; stroke-linecap:round;"/>
|
||||
<line x1="12" y1="10" x2="12" y2="14" style="stroke: white; stroke-linecap:round;"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 512 B |
@@ -22,7 +22,7 @@ class NotesPlugin(PluginBase):
|
||||
|
||||
def _add_notes_tab_action(self) -> RAction:
|
||||
open_file = RAction(_("&Notes"), self._add_notes_tab, shortcut='Ctrl+Shift+N',
|
||||
icon_from_theme="filenew")
|
||||
icon_file="icons/myicons/notes.svg")
|
||||
return open_file
|
||||
|
||||
def _add_notes_tab(self):
|
||||
|
||||
Reference in New Issue
Block a user