mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-01 11:34:41 +00:00
Rename Save menu option and disable it initially.
This commit is contained in:
parent
7807be517b
commit
6d38a4e296
3 changed files with 5 additions and 3 deletions
|
|
@ -82,6 +82,7 @@ class LinkCheckerMain (QtGui.QMainWindow, Ui_MainWindow):
|
|||
self.move(data["pos"])
|
||||
self.options.set_options(self.settings.read_options())
|
||||
self.status = Status.idle
|
||||
self.actionSave.setEnabled(False)
|
||||
self.set_statusbar(_("Ready."))
|
||||
|
||||
def get_qhcpath (self):
|
||||
|
|
@ -159,6 +160,7 @@ class LinkCheckerMain (QtGui.QMainWindow, Ui_MainWindow):
|
|||
self.progress.hide()
|
||||
self.aggregate = None
|
||||
self.controlButton.setEnabled(True)
|
||||
self.actionSave.setEnabled(True)
|
||||
self.treeView.sortByColumn(0, QtCore.Qt.AscendingOrder)
|
||||
self.treeView.setSortingEnabled(True)
|
||||
elif status == Status.checking:
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Form implementation generated from reading ui file 'ui/main.ui'
|
||||
#
|
||||
# Created: Fri Nov 26 21:37:11 2010
|
||||
# Created: Fri Dec 3 20:38:45 2010
|
||||
# by: PyQt4 UI code generator 4.7.3
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
|
@ -163,7 +163,7 @@ class Ui_MainWindow(object):
|
|||
self.actionDebug.setText(_("Debug"))
|
||||
self.actionViewProperties.setText(_("View properties"))
|
||||
self.actionViewProperties.setToolTip(_("View URL properties"))
|
||||
self.actionSave.setText(_("Save..."))
|
||||
self.actionSave.setText(_("Save results..."))
|
||||
self.actionSave.setShortcut(_("Ctrl+S"))
|
||||
self.actionQuit.setText(_("Quit"))
|
||||
self.actionQuit.setShortcut(_("Ctrl+Q"))
|
||||
|
|
|
|||
|
|
@ -275,7 +275,7 @@
|
|||
<normaloff>:/icons/save.png</normaloff>:/icons/save.png</iconset>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Save...</string>
|
||||
<string>Save results...</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string>Ctrl+S</string>
|
||||
|
|
|
|||
Loading…
Reference in a new issue