diff --git a/action.py b/action.py index bbb3f86..8e147d8 100644 --- a/action.py +++ b/action.py @@ -106,9 +106,9 @@ def _clean_comment(self): _('No book selected for cleaning comments'), show=True) book_ids = self.gui.library_view.get_selected_ids() - self._do_replace_text (book_ids) + self._do_clean_text (book_ids) - def _do_replace_text (self, book_ids): + def _do_clean_text (self, book_ids): dbA = self.gui.current_db db = self.gui.current_db.new_api diff --git a/common_utils.py b/common_utils.py index edcd677..b7d8c3d 100644 --- a/common_utils.py +++ b/common_utils.py @@ -209,7 +209,7 @@ def __init__(self, parent, icon_name, title): self.insertStretch(-1) def update_title_icon(self, icon_name): - debug_print ("Icon: ", icon_name) + #debug_print ("Icon: ", icon_name) pixmap = get_pixmap(icon_name) if pixmap is None: error_dialog(self.parent(), _('Restart required'), diff --git a/config.py b/config.py index 1274171..0289201 100644 --- a/config.py +++ b/config.py @@ -89,7 +89,7 @@ def __init__(self, plugin_action): post_show3 = library_config.get(KEY_FONT_WEIGHT, DEFAULT_LIBRARY_VALUES[KEY_FONT_WEIGHT]) self.showCombo3 = KeyValueComboBox(self, FONT_WEIGHT, post_show3) options_group_box_layout.addWidget(self.showCombo3, 6, 1) - + # --- Keyboard shortcuts --- keyboard_shortcuts_button = QPushButton(_('Keyboard shortcuts...'), self) keyboard_shortcuts_button.setToolTip(_(