From ae620277327907af1024dd2a784017b00b706340 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 22 Aug 2010 09:31:23 -0600 Subject: [PATCH] ... --- src/calibre/gui2/catalog/catalog_bibtex.py | 8 ++++---- src/calibre/trac/bzr_commit_plugin.py | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/calibre/gui2/catalog/catalog_bibtex.py b/src/calibre/gui2/catalog/catalog_bibtex.py index ea222603b7..6bbe85833c 100644 --- a/src/calibre/gui2/catalog/catalog_bibtex.py +++ b/src/calibre/gui2/catalog/catalog_bibtex.py @@ -19,7 +19,7 @@ class PluginWidget(QWidget, Ui_Form): ('bib_entry', 0), #mixed ('bibfile_enc', 0), #utf-8 ('bibfile_enctag', 0), #strict - ('impcit', True) ] + ('impcit', True) ] sync_enabled = False formats = set(['bib']) @@ -52,7 +52,7 @@ class PluginWidget(QWidget, Ui_Form): getattr(self, opt[0]).setText(opt_value) def options(self): - + # Save the currently activated fields fields = [] for x in xrange(self.db_fields.count()): @@ -66,7 +66,7 @@ class PluginWidget(QWidget, Ui_Form): opts_dict = {'fields':[unicode(item.text()) for item in self.db_fields.selectedItems()]} else: opts_dict = {'fields':['all']} - + # Save/return the current options # bib_cit stores as text # 'bibfile_enc','bibfile_enctag' stores as int (Indexes) @@ -78,7 +78,7 @@ class PluginWidget(QWidget, Ui_Form): else : opt_value = unicode(getattr(self, opt[0]).text()) gprefs.set(self.name + '_' + opt[0], opt_value) - + opts_dict[opt[0]] = opt_value return opts_dict diff --git a/src/calibre/trac/bzr_commit_plugin.py b/src/calibre/trac/bzr_commit_plugin.py index c39131cccb..047d8a6cce 100644 --- a/src/calibre/trac/bzr_commit_plugin.py +++ b/src/calibre/trac/bzr_commit_plugin.py @@ -112,6 +112,6 @@ class cmd_commit(_cmd_commit): server = xmlrpclib.ServerProxy(url) server.ticket.update(int(bug), msg, {'status':'closed', 'resolution':'fixed'}, - False) + notify=True) bzrlib.commands.register_command(cmd_commit)