~stub/ubuntu/precise/calibre/devel

« back to all changes in this revision

Viewing changes to src/calibre/gui2/dialogs/message_box.py

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2011-04-12 11:29:25 UTC
  • mfrom: (42.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20110412112925-c7171kt2bb5rmft4
Tags: 0.7.50+dfsg-2
* debian/control: Build with libpodofo-dev to enable PDF metadata.
  (Closes: #619632)
* debian/control: Add libboost1.42-dev build dependency. Apparently it is
  needed in some setups. (Closes: #619807)
* debian/rules: Call dh_sip to generate a proper sip API dependency, to
  prevent crashes like #616372 for partial upgrades.
* debian/control: Bump python-qt4 dependency to >= 4.8.3-2, which reportedly
  fixes crashes on startup. (Closes: #619701, #620125)

Show diffs side-by-side

added added

removed removed

Lines of Context:
89
89
                (__version__, unicode(self.windowTitle()),
90
90
                    unicode(self.msg.text()),
91
91
                    unicode(self.det_msg.toPlainText())))
92
 
        self.ctc_button.setText(_('Copied'))
 
92
        if hasattr(self, 'ctc_button'):
 
93
            self.ctc_button.setText(_('Copied'))
93
94
 
94
95
    def showEvent(self, ev):
95
96
        ret = QDialog.showEvent(self, ev)