grayscale sidebar
|
@ -652,11 +652,11 @@ class Browser(QMainWindow):
|
||||||
def _systemTagTree(self, root):
|
def _systemTagTree(self, root):
|
||||||
tags = (
|
tags = (
|
||||||
(_("Whole Collection"), "anki", ""),
|
(_("Whole Collection"), "anki", ""),
|
||||||
(_("Current Deck"), "stock_group", "deck:current"),
|
(_("Current Deck"), "deck16", "deck:current"),
|
||||||
(_("New"), "plus-circle.png", "is:new"),
|
(_("New"), "plus16.png", "is:new"),
|
||||||
(_("Learning"), "stock_new_template_red.png", "is:learn"),
|
(_("Learning"), "stock_new_template_red.png", "is:learn"),
|
||||||
(_("Review"), "clock-icon.png", "is:review"),
|
(_("Review"), "clock16.png", "is:review"),
|
||||||
(_("Marked"), "rating.png", "tag:marked"),
|
(_("Marked"), "star16.png", "tag:marked"),
|
||||||
(_("Suspended"), "media-playback-pause.png", "is:suspended"),
|
(_("Suspended"), "media-playback-pause.png", "is:suspended"),
|
||||||
(_("Leech"), "emblem-important.png", "tag:leech"))
|
(_("Leech"), "emblem-important.png", "tag:leech"))
|
||||||
for name, icon, cmd in tags:
|
for name, icon, cmd in tags:
|
||||||
|
@ -680,7 +680,7 @@ class Browser(QMainWindow):
|
||||||
item = self.CallbackItem(
|
item = self.CallbackItem(
|
||||||
g[0], lambda g=g: self.setFilter(
|
g[0], lambda g=g: self.setFilter(
|
||||||
"deck", head+g[0]))
|
"deck", head+g[0]))
|
||||||
item.setIcon(0, QIcon(":/icons/stock_group.png"))
|
item.setIcon(0, QIcon(":/icons/deck16.png"))
|
||||||
root.addChild(item)
|
root.addChild(item)
|
||||||
fillGroups(item, g[4], g[0]+"::")
|
fillGroups(item, g[4], g[0]+"::")
|
||||||
fillGroups(root, grps)
|
fillGroups(root, grps)
|
||||||
|
|
|
@ -108,5 +108,7 @@
|
||||||
<file>icons/deletetag16.png</file>
|
<file>icons/deletetag16.png</file>
|
||||||
<file>icons/mail-attachment.png</file>
|
<file>icons/mail-attachment.png</file>
|
||||||
<file>icons/deck16.png</file>
|
<file>icons/deck16.png</file>
|
||||||
|
<file>icons/clock16.png</file>
|
||||||
|
<file>icons/plus16.png</file>
|
||||||
</qresource>
|
</qresource>
|
||||||
</RCC>
|
</RCC>
|
||||||
|
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.2 KiB |
BIN
designer/icons/clock16.png
Normal file
After Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 1.5 KiB |
BIN
designer/icons/plus16.png
Normal file
After Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 1.2 KiB |