Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesQueueManagementDialog.py

changeset 3190
a9a94491c4fd
parent 3160
209a07d7e401
child 3302
e92f0dd51979
equal deleted inserted replaced
3189:9a21c547de5f 3190:a9a94491c4fd
63 self.buttonBox.removeButton( 63 self.buttonBox.removeButton(
64 self.buttonBox.button(QDialogButtonBox.Ok)) 64 self.buttonBox.button(QDialogButtonBox.Ok))
65 self.buttonBox.removeButton( 65 self.buttonBox.removeButton(
66 self.buttonBox.button(QDialogButtonBox.Cancel)) 66 self.buttonBox.button(QDialogButtonBox.Cancel))
67 self.refreshButton = self.buttonBox.addButton( 67 self.refreshButton = self.buttonBox.addButton(
68 self.trUtf8("Refresh"), QDialogButtonBox.ActionRole) 68 self.tr("Refresh"), QDialogButtonBox.ActionRole)
69 self.refreshButton.setToolTip( 69 self.refreshButton.setToolTip(
70 self.trUtf8("Press to refresh the queues list")) 70 self.tr("Press to refresh the queues list"))
71 self.buttonBox.button(QDialogButtonBox.Close).setDefault(True) 71 self.buttonBox.button(QDialogButtonBox.Close).setDefault(True)
72 else: 72 else:
73 self.buttonBox.removeButton( 73 self.buttonBox.removeButton(
74 self.buttonBox.button(QDialogButtonBox.Close)) 74 self.buttonBox.button(QDialogButtonBox.Close))
75 self.buttonBox.button(QDialogButtonBox.Ok).setEnabled(False) 75 self.buttonBox.button(QDialogButtonBox.Ok).setEnabled(False)

eric ide

mercurial