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

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2014-05-14 18:17:50 UTC
  • mto: This revision was merged to the branch mainline in revision 75.
  • Revision ID: package-import@ubuntu.com-20140514181750-efj1wymey2vb4cao
Tags: upstream-1.36.0+dfsg
ImportĀ upstreamĀ versionĀ 1.36.0+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
 
9
9
import os, re
10
10
 
11
 
from PyQt4.Qt import QPixmap, SIGNAL
 
11
from PyQt4.Qt import QPixmap
12
12
 
13
13
from calibre.gui2 import choose_images, error_dialog
14
14
from calibre.gui2.convert.metadata_ui import Ui_Form
59
59
        if self.db is not None:
60
60
            self.initialize_metadata_options()
61
61
        self.initialize_options(get_option, get_help, db, book_id)
62
 
        self.connect(self.cover_button, SIGNAL("clicked()"), self.select_cover)
 
62
        self.cover_button.clicked[()].connect(self.select_cover)
63
63
        self.comment.hide_toolbars()
64
64
        self.cover.cover_changed.connect(self.change_cover)
65
65