mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 18:24:30 -04:00
...
This commit is contained in:
parent
507864f849
commit
c6d62bcd3b
@ -312,7 +312,7 @@ class SearchRestrictionMixin(object):
|
|||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args, **kwargs):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
def init_search_restirction_mixin(self):
|
def init_search_restriction_mixin(self):
|
||||||
self.checked = QIcon(I('ok.png'))
|
self.checked = QIcon(I('ok.png'))
|
||||||
self.empty = QIcon(I('blank.png'))
|
self.empty = QIcon(I('blank.png'))
|
||||||
self.current_search_action = QAction(self.empty, _('*current search'), self)
|
self.current_search_action = QAction(self.empty, _('*current search'), self)
|
||||||
|
@ -336,7 +336,7 @@ class Main(MainWindow, MainWindowMixin, DeviceMixin, EmailMixin, # {{{
|
|||||||
UpdateMixin.init_update_mixin(self, opts)
|
UpdateMixin.init_update_mixin(self, opts)
|
||||||
|
|
||||||
# ###################### Search boxes ########################
|
# ###################### Search boxes ########################
|
||||||
SearchRestrictionMixin.init_search_restirction_mixin(self)
|
SearchRestrictionMixin.init_search_restriction_mixin(self)
|
||||||
SavedSearchBoxMixin.init_saved_seach_box_mixin(self)
|
SavedSearchBoxMixin.init_saved_seach_box_mixin(self)
|
||||||
|
|
||||||
# ###################### Library view ########################
|
# ###################### Library view ########################
|
||||||
|
Loading…
x
Reference in New Issue
Block a user