Skip to content

Commit 8a4ca88

Browse files
committed
add menu icon
1 parent 120cbbf commit 8a4ca88

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

h2o/images/icon.pdn

10.4 KB
Binary file not shown.

h2o/images/icon.png

2.74 KB
Loading

h2o/menu_button.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,11 @@ def genesis(self):
3737
# are not found in the zip file will result in null QIcons.
3838

3939
# highlights_to_obsidian doesn't currently have an icon
40-
# todo: make menu icon for this plugin
41-
# icon = get_icons('images/icon.png', 'Interface Demo Plugin')
40+
icon = get_icons('images/icon.png', 'Highlights to Obsidian Icon')
4241

4342
# The qaction is automatically created from the action_spec defined
4443
# above
45-
# self.qaction.setIcon(icon)
44+
self.qaction.setIcon(icon)
4645
self.qaction.triggered.connect(self.show_dialog)
4746

4847
# action specs are of the form: (text, icon_path, tooltip, keyboard shortcut).

0 commit comments

Comments
 (0)