[Pkg-privacy-commits] [tails-installer] 25/35: Generate a fresh windows_dialog.py with the new release refresher button
anonym
anonym-tails-guest at moszumanska.debian.org
Thu Jan 12 15:14:42 UTC 2017
This is an automated email from the git hooks/post-receive script.
anonym-tails-guest pushed a commit to annotated tag 3.12.0
in repository tails-installer.
commit 97b810886e9e4349885c9bf93f3b08502124059f
Author: Luke Macken <lmacken at redhat.com>
Date: Tue Apr 23 13:05:02 2013 -0400
Generate a fresh windows_dialog.py with the new release refresher button
---
liveusb/windows_dialog.py | 133 +++++++++++++++++++++++++++-------------------
1 file changed, 77 insertions(+), 56 deletions(-)
diff --git a/liveusb/windows_dialog.py b/liveusb/windows_dialog.py
index d9e28c8..f25a459 100644
--- a/liveusb/windows_dialog.py
+++ b/liveusb/windows_dialog.py
@@ -2,120 +2,141 @@
# Form implementation generated from reading ui file 'data/liveusb-creator.ui'
#
-# Created: Wed Sep 3 03:31:13 2008
-# by: PyQt4 UI code generator 4.4.2
+# Created: Tue Apr 23 13:03:23 2013
+# by: PyQt4 UI code generator 4.10
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
-from liveusb import utf8_gettext as _
+
+try:
+ _fromUtf8 = QtCore.QString.fromUtf8
+except AttributeError:
+ def _fromUtf8(s):
+ return s
+
+try:
+ _encoding = QtGui.QApplication.UnicodeUTF8
+ def _translate(context, text, disambig):
+ return QtGui.QApplication.translate(context, text, disambig, _encoding)
+except AttributeError:
+ def _translate(context, text, disambig):
+ return QtGui.QApplication.translate(context, text, disambig)
class Ui_Dialog(object):
def setupUi(self, Dialog):
- Dialog.setObjectName("Dialog")
- Dialog.resize(422,388)
- sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,QtGui.QSizePolicy.Fixed)
+ Dialog.setObjectName(_fromUtf8("Dialog"))
+ Dialog.resize(422, 388)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(Dialog.sizePolicy().hasHeightForWidth())
Dialog.setSizePolicy(sizePolicy)
self.startButton = QtGui.QPushButton(Dialog)
self.startButton.setEnabled(True)
- self.startButton.setGeometry(QtCore.QRect(130,350,158,34))
- self.startButton.setObjectName("startButton")
+ self.startButton.setGeometry(QtCore.QRect(130, 350, 158, 34))
+ self.startButton.setObjectName(_fromUtf8("startButton"))
self.textEdit = QtGui.QTextEdit(Dialog)
- self.textEdit.setGeometry(QtCore.QRect(10,200,401,111))
+ self.textEdit.setGeometry(QtCore.QRect(10, 200, 401, 111))
font = QtGui.QFont()
font.setPointSize(8)
self.textEdit.setFont(font)
self.textEdit.setReadOnly(True)
- self.textEdit.setObjectName("textEdit")
+ self.textEdit.setObjectName(_fromUtf8("textEdit"))
self.progressBar = QtGui.QProgressBar(Dialog)
- self.progressBar.setGeometry(QtCore.QRect(10,320,401,23))
- self.progressBar.setProperty("value",QtCore.QVariant(0))
- self.progressBar.setObjectName("progressBar")
+ self.progressBar.setGeometry(QtCore.QRect(10, 320, 401, 23))
+ self.progressBar.setProperty("value", 0)
+ self.progressBar.setObjectName(_fromUtf8("progressBar"))
self.downloadGroup = QtGui.QGroupBox(Dialog)
- self.downloadGroup.setGeometry(QtCore.QRect(210,80,201,51))
+ self.downloadGroup.setGeometry(QtCore.QRect(210, 80, 201, 51))
font = QtGui.QFont()
font.setPointSize(8)
self.downloadGroup.setFont(font)
- self.downloadGroup.setObjectName("downloadGroup")
+ self.downloadGroup.setObjectName(_fromUtf8("downloadGroup"))
self.downloadCombo = QtGui.QComboBox(self.downloadGroup)
- self.downloadCombo.setGeometry(QtCore.QRect(10,20,181,22))
- self.downloadCombo.setObjectName("downloadCombo")
+ self.downloadCombo.setGeometry(QtCore.QRect(10, 20, 161, 22))
+ self.downloadCombo.setObjectName(_fromUtf8("downloadCombo"))
+ self.refreshReleasesButton = QtGui.QPushButton(self.downloadGroup)
+ self.refreshReleasesButton.setGeometry(QtCore.QRect(170, 20, 30, 20))
+ self.refreshReleasesButton.setText(_fromUtf8(""))
+ icon = QtGui.QIcon()
+ icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/refresh.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.refreshReleasesButton.setIcon(icon)
+ self.refreshReleasesButton.setFlat(True)
+ self.refreshReleasesButton.setObjectName(_fromUtf8("refreshReleasesButton"))
self.label_2 = QtGui.QLabel(Dialog)
- self.label_2.setGeometry(QtCore.QRect(180,100,23,24))
+ self.label_2.setGeometry(QtCore.QRect(180, 100, 23, 24))
font = QtGui.QFont()
- font.setFamily("Verdana")
+ font.setFamily(_fromUtf8("Verdana"))
font.setPointSize(10)
- font.setWeight(75)
font.setBold(True)
+ font.setWeight(75)
self.label_2.setFont(font)
- self.label_2.setObjectName("label_2")
+ self.label_2.setObjectName(_fromUtf8("label_2"))
self.groupBox = QtGui.QGroupBox(Dialog)
- self.groupBox.setGeometry(QtCore.QRect(10,80,161,51))
+ self.groupBox.setGeometry(QtCore.QRect(10, 80, 161, 51))
font = QtGui.QFont()
font.setPointSize(8)
self.groupBox.setFont(font)
- self.groupBox.setObjectName("groupBox")
+ self.groupBox.setObjectName(_fromUtf8("groupBox"))
self.isoBttn = QtGui.QPushButton(self.groupBox)
- self.isoBttn.setGeometry(QtCore.QRect(11,18,141,25))
- self.isoBttn.setObjectName("isoBttn")
+ self.isoBttn.setGeometry(QtCore.QRect(11, 18, 141, 25))
+ self.isoBttn.setObjectName(_fromUtf8("isoBttn"))
self.groupBox_2 = QtGui.QGroupBox(Dialog)
- self.groupBox_2.setGeometry(QtCore.QRect(10,140,191,51))
+ self.groupBox_2.setGeometry(QtCore.QRect(10, 140, 191, 51))
font = QtGui.QFont()
font.setPointSize(8)
self.groupBox_2.setFont(font)
- self.groupBox_2.setObjectName("groupBox_2")
+ self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
self.driveBox = QtGui.QComboBox(self.groupBox_2)
- self.driveBox.setGeometry(QtCore.QRect(10,20,145,20))
+ self.driveBox.setGeometry(QtCore.QRect(10, 20, 151, 21))
self.driveBox.setEditable(False)
self.driveBox.setInsertPolicy(QtGui.QComboBox.InsertAtTop)
self.driveBox.setDuplicatesEnabled(False)
- self.driveBox.setObjectName("driveBox")
+ self.driveBox.setObjectName(_fromUtf8("driveBox"))
self.refreshDevicesButton = QtGui.QPushButton(self.groupBox_2)
- self.refreshDevicesButton.setGeometry(QtCore.QRect(156,16,30,26))
- icon = QtGui.QIcon()
- icon.addFile(":/refresh.png")
+ self.refreshDevicesButton.setGeometry(QtCore.QRect(160, 20, 30, 20))
+ self.refreshDevicesButton.setText(_fromUtf8(""))
self.refreshDevicesButton.setIcon(icon)
self.refreshDevicesButton.setFlat(True)
- self.refreshDevicesButton.setObjectName("refreshDevicesButton")
+ self.refreshDevicesButton.setObjectName(_fromUtf8("refreshDevicesButton"))
self.overlayTitle = QtGui.QGroupBox(Dialog)
- self.overlayTitle.setGeometry(QtCore.QRect(210,140,201,51))
+ self.overlayTitle.setGeometry(QtCore.QRect(210, 140, 201, 51))
font = QtGui.QFont()
font.setPointSize(8)
self.overlayTitle.setFont(font)
- self.overlayTitle.setObjectName("overlayTitle")
+ self.overlayTitle.setObjectName(_fromUtf8("overlayTitle"))
self.overlaySlider = QtGui.QSlider(self.overlayTitle)
- self.overlaySlider.setGeometry(QtCore.QRect(10,20,181,21))
+ self.overlaySlider.setGeometry(QtCore.QRect(10, 20, 181, 21))
self.overlaySlider.setMaximum(2047)
self.overlaySlider.setOrientation(QtCore.Qt.Horizontal)
self.overlaySlider.setTickPosition(QtGui.QSlider.NoTicks)
- self.overlaySlider.setObjectName("overlaySlider")
+ self.overlaySlider.setObjectName(_fromUtf8("overlaySlider"))
self.label = QtGui.QLabel(Dialog)
- self.label.setGeometry(QtCore.QRect(0,0,430,72))
- self.label.setPixmap(QtGui.QPixmap(":/liveusb-header.png"))
- self.label.setObjectName("label")
+ self.label.setGeometry(QtCore.QRect(0, 0, 430, 72))
+ self.label.setText(_fromUtf8(""))
+ self.label.setPixmap(QtGui.QPixmap(_fromUtf8(":/liveusb-header.png")))
+ self.label.setObjectName(_fromUtf8("label"))
self.retranslateUi(Dialog)
QtCore.QMetaObject.connectSlotsByName(Dialog)
def retranslateUi(self, Dialog):
- Dialog.setWindowTitle(QtGui.QApplication.translate("Dialog", _("Fedora LiveUSB Creator"), None, QtGui.QApplication.UnicodeUTF8))
- self.startButton.setWhatsThis(QtGui.QApplication.translate("Dialog", _("This button will begin the LiveUSB creation process. This entails optionally downloading a release (if an existing one wasn\'t selected), extracting the ISO to the USB device, creating the persistent overlay, and installing the bootloader."), None, QtGui.QApplication.UnicodeUTF8))
- self.startButton.setText(QtGui.QApplication.translate("Dialog", _("Create Live USB"), None, QtGui.QApplication.UnicodeUTF8))
- self.textEdit.setWhatsThis(QtGui.QApplication.translate("Dialog", _("This is the status console, where all messages get written to."), None, QtGui.QApplication.UnicodeUTF8))
- self.progressBar.setWhatsThis(QtGui.QApplication.translate("Dialog", _("This is the progress bar that will indicate how far along in the LiveUSB creation process you are"), None, QtGui.QApplication.UnicodeUTF8))
- self.downloadGroup.setWhatsThis(QtGui.QApplication.translate("Dialog", _("If you do not select an existing Live CD, the selected release will be downloaded for you."), None, QtGui.QApplication.UnicodeUTF8))
- self.downloadGroup.setTitle(QtGui.QApplication.translate("Dialog", _("Download Fedora"), None, QtGui.QApplication.UnicodeUTF8))
- self.label_2.setText(QtGui.QApplication.translate("Dialog", _("or"), None, QtGui.QApplication.UnicodeUTF8))
- self.groupBox.setWhatsThis(QtGui.QApplication.translate("Dialog", _("This button allows you to browse for an existing Live CD ISO that you have previously downloaded. If you do not select one, a release will be downloaded for you automatically."), None, QtGui.QApplication.UnicodeUTF8))
- self.groupBox.setTitle(QtGui.QApplication.translate("Dialog", _("Use existing Live CD"), None, QtGui.QApplication.UnicodeUTF8))
- self.isoBttn.setText(QtGui.QApplication.translate("Dialog", _("Browse"), None, QtGui.QApplication.UnicodeUTF8))
- self.isoBttn.setShortcut(QtGui.QApplication.translate("Dialog", "Alt+B", None, QtGui.QApplication.UnicodeUTF8))
- self.groupBox_2.setWhatsThis(QtGui.QApplication.translate("Dialog", _("This is the USB stick that you want to install your Live CD on. This device must be formatted with the FAT filesystem."), None, QtGui.QApplication.UnicodeUTF8))
- self.groupBox_2.setTitle(QtGui.QApplication.translate("Dialog", _("Target Device"), None, QtGui.QApplication.UnicodeUTF8))
- self.overlayTitle.setWhatsThis(QtGui.QApplication.translate("Dialog", _("By allocating extra space on your USB stick for a persistent overlay, you will be able to store data and make permanent modifications to your live operating system. Without it, you will not be able to save data that will persist after a reboot."), None, QtGui.QApplication.UnicodeUTF8))
- self.overlayTitle.setTitle(QtGui.QApplication.translate("Dialog", _("Persistent Storage (0 Mb)"), None, QtGui.QApplication.UnicodeUTF8))
+ Dialog.setWindowTitle(_translate("Dialog", "Fedora LiveUSB Creator", None))
+ self.startButton.setWhatsThis(_translate("Dialog", "This button will begin the LiveUSB creation process. This entails optionally downloading a release (if an existing one wasn\'t selected), extracting the ISO to the USB device, creating the persistent overlay, and installing the bootloader.", None))
+ self.startButton.setText(_translate("Dialog", "Create Live USB", None))
+ self.textEdit.setWhatsThis(_translate("Dialog", "This is the status console, where all messages get written to.", None))
+ self.progressBar.setWhatsThis(_translate("Dialog", "This is the progress bar that will indicate how far along in the LiveUSB creation process you are", None))
+ self.downloadGroup.setWhatsThis(_translate("Dialog", "If you do not select an existing Live CD, the selected release will be downloaded for you.", None))
+ self.downloadGroup.setTitle(_translate("Dialog", "Download Fedora", None))
+ self.label_2.setText(_translate("Dialog", "or", None))
+ self.groupBox.setWhatsThis(_translate("Dialog", "This button allows you to browse for an existing Live CD ISO that you have previously downloaded. If you do not select one, a release will be downloaded for you automatically.", None))
+ self.groupBox.setTitle(_translate("Dialog", "Use existing Live CD", None))
+ self.isoBttn.setText(_translate("Dialog", "Browse", None))
+ self.isoBttn.setShortcut(_translate("Dialog", "Alt+B", None))
+ self.groupBox_2.setWhatsThis(_translate("Dialog", "This is the USB stick that you want to install your Live CD on. This device must be formatted with the FAT filesystem.", None))
+ self.groupBox_2.setTitle(_translate("Dialog", "Target Device", None))
+ self.overlayTitle.setWhatsThis(_translate("Dialog", "By allocating extra space on your USB stick for a persistent overlay, you will be able to store data and make permanent modifications to your live operating system. Without it, you will not be able to save data that will persist after a reboot.", "comment!"))
+ self.overlayTitle.setTitle(_translate("Dialog", "Persistent Storage (0 MB)", None))
import resources_rc
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/tails-installer.git
More information about the Pkg-privacy-commits
mailing list