Browse Source

Claudia: Rename button in add-new launcher, s/Cancel/Close/

tags/v0.9.0
falkTX 12 years ago
parent
commit
d3eb8c8bcc
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/claudia.py

+ 2
- 2
src/claudia.py View File

@@ -476,7 +476,7 @@ class ClaudiaLauncherW(QDialog):
QDialog.__init__(self, parent)

self.launcher = claudia_launcher.ClaudiaLauncher(self)
self.buttonBox = QDialogButtonBox(QDialogButtonBox.Ok | QDialogButtonBox.Cancel, Qt.Horizontal, self)
self.buttonBox = QDialogButtonBox(QDialogButtonBox.Ok | QDialogButtonBox.Close, Qt.Horizontal, self)

self.layoutR = QVBoxLayout(self)
self.layoutR.addWidget(self.launcher)
@@ -498,7 +498,7 @@ class ClaudiaLauncherW(QDialog):
self.buttonBox.button(QDialogButtonBox.Ok).setEnabled(False)

self.connect(self.buttonBox.button(QDialogButtonBox.Ok), SIGNAL("clicked()"), SLOT("slot_addAppToLADISH()"))
self.connect(self.buttonBox.button(QDialogButtonBox.Cancel), SIGNAL("clicked()"), self, SLOT("reject()"))
self.connect(self.buttonBox.button(QDialogButtonBox.Close), SIGNAL("clicked()"), self, SLOT("reject()"))

# ----------------------------------------
# Callbacks


Loading…
Cancel
Save