~ubuntu-branches/debian/sid/calibre/sid

« back to all changes in this revision

Viewing changes to src/calibre/gui2/convert/look_and_feel.py

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2014-05-14 18:17:50 UTC
  • mfrom: (1.5.10)
  • Revision ID: package-import@ubuntu.com-20140514181750-xyrxqa47dbw0qfhu
Tags: 1.36.0+dfsg-1
* New upstream release:
  - Fixes editing of metadata (Closes: #741638)

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
__copyright__ = '2009, Kovid Goyal <kovid@kovidgoyal.net>'
7
7
__docformat__ = 'restructuredtext en'
8
8
 
9
 
from PyQt4.Qt import SIGNAL, QVariant, Qt
 
9
from PyQt4.Qt import QVariant, Qt
10
10
 
11
11
from calibre.gui2.convert.look_and_feel_ui import Ui_Form
12
12
from calibre.gui2.convert import Widget
52
52
        self.initialize_options(get_option, get_help, db, book_id)
53
53
        self.opt_disable_font_rescaling.toggle()
54
54
        self.opt_disable_font_rescaling.toggle()
55
 
        self.connect(self.button_font_key, SIGNAL('clicked()'),
56
 
                self.font_key_wizard)
 
55
        self.button_font_key.clicked[()].connect(self.font_key_wizard)
57
56
        self.opt_remove_paragraph_spacing.toggle()
58
57
        self.opt_remove_paragraph_spacing.toggle()
59
58
        self.opt_smarten_punctuation.stateChanged.connect(