Projects
Multimedia
flacon
Sign Up
Log In
Username
Password
We truncated the diff of some files because they were too big. If you want to see the full diff for every file,
click here
.
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 3
View file
flacon.changes
Changed
@@ -1,4 +1,14 @@ ------------------------------------------------------------------- +Sun May 8 13:58:59 UTC 2011 - lazy.kent@opensuse.org + +- Update to 0.5.7 + * Added ISO-8859-XX codepages. + * Fixed: Incorrect CD-quality check. + * Fixed: Incorrect translation of the converter error + messages. + * The Makefile checks if pyuic4 exists. + +------------------------------------------------------------------- Wed Mar 2 07:21:32 UTC 2011 - lazy.kent@opensuse.org - Moved to Packman.
View file
flacon.spec
Changed
@@ -1,7 +1,7 @@ # vim: set ts=4 sw=4 et: # kate: space-indent on; indent-width 4; # -# spec file for package flacon (Version 0.5.6) +# spec file for package flacon (Version 0.5.7) # # Copyright (c) 2010-2011 Kyrill Detinov # This file and all modifications and additions to the pristine @@ -9,7 +9,7 @@ # Name: flacon -Version: 0.5.6 +Version: 0.5.7 Release: 0 License: GPLv3+ Summary: Split Compressed Audio CD Image to Tracks
View file
flacon-0.5.6.tar.bz2/Makefile -> flacon-0.5.7.tar.bz2/Makefile
Changed
@@ -34,12 +34,13 @@ %_ui.py: %.ui + which $(PYUIC) # $(PYUIC) $< -o $@ # Compatibility with old version of PyQt $(PYUIC) $< | \ sed -e "s/\(\.setProperty(.*, \)\(False\))/\1QtCore.QVariant(\2))/" | \ sed -e "s/\(\.setProperty(.*, \)\(True\))/\1QtCore.QVariant(\2))/" | \ - sed -e "s/\(\.setProperty(.*, \)\([0-9][0-9]*\))/\1QtCore.QVariant(\2))/" > $@ + sed -e "s/\(\.setProperty(.*, \)\([0-9][0-9]*\))/\1QtCore.QVariant(\2))/" > $@ translates: $(TSPRO_FILE)
View file
flacon-0.5.6.tar.bz2/aboutDialog.py -> flacon-0.5.7.tar.bz2/aboutDialog.py
Changed
@@ -72,13 +72,13 @@ 'Czech translation.' ), - ('Tomasz Niedzielski', + ('Tomasz "Ludvick" Niedzielski', 'mailto:ludvick0@gmail.com', 'Polish translation.' ) ] - copyright = "© Alexander Sokolov, 2009-2010" + copyright = "© Alexander Sokolov, 2009-2011" license = "<a href=http://www.fsf.org/licensing/licenses/gpl.html>GNU General Public License Version 3</a>" siteUrl = "http://code.google.com/p/flacon"
View file
flacon-0.5.6.tar.bz2/aboutDialog_ui.py -> flacon-0.5.7.tar.bz2/aboutDialog_ui.py
Changed
@@ -2,16 +2,21 @@ # Form implementation generated from reading ui file 'aboutDialog.ui' # -# Created: Fri Feb 11 21:45:28 2011 -# by: PyQt4 UI code generator 4.7.4 +# Created: Sun May 8 14:50:28 2011 +# by: PyQt4 UI code generator 4.8.3 # # WARNING! All changes made in this file will be lost! from PyQt4 import QtCore, QtGui +try: + _fromUtf8 = QtCore.QString.fromUtf8 +except AttributeError: + _fromUtf8 = lambda s: s + class Ui_aboutDialog(object): def setupUi(self, aboutDialog): - aboutDialog.setObjectName("aboutDialog") + aboutDialog.setObjectName(_fromUtf8("aboutDialog")) aboutDialog.resize(509, 307) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) @@ -19,74 +24,74 @@ sizePolicy.setHeightForWidth(aboutDialog.sizePolicy().hasHeightForWidth()) aboutDialog.setSizePolicy(sizePolicy) self.verticalLayout = QtGui.QVBoxLayout(aboutDialog) - self.verticalLayout.setObjectName("verticalLayout") + self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setSpacing(24) - self.horizontalLayout.setObjectName("horizontalLayout") + self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.logoLabel = QtGui.QLabel(aboutDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.logoLabel.sizePolicy().hasHeightForWidth()) self.logoLabel.setSizePolicy(sizePolicy) - self.logoLabel.setText("IMG") - self.logoLabel.setObjectName("logoLabel") + self.logoLabel.setText(_fromUtf8("IMG")) + self.logoLabel.setObjectName(_fromUtf8("logoLabel")) self.horizontalLayout.addWidget(self.logoLabel) self.titleLabel = QtGui.QLabel(aboutDialog) - self.titleLabel.setText("Flacon ver 1.0") - self.titleLabel.setObjectName("titleLabel") + self.titleLabel.setText(_fromUtf8("Flacon ver 1.0")) + self.titleLabel.setObjectName(_fromUtf8("titleLabel")) self.horizontalLayout.addWidget(self.titleLabel) self.verticalLayout.addLayout(self.horizontalLayout) self.tabWidget = QtGui.QTabWidget(aboutDialog) - self.tabWidget.setObjectName("tabWidget") + self.tabWidget.setObjectName(_fromUtf8("tabWidget")) self.aboutTab = QtGui.QWidget() - self.aboutTab.setObjectName("aboutTab") + self.aboutTab.setObjectName(_fromUtf8("aboutTab")) self.verticalLayout_2 = QtGui.QVBoxLayout(self.aboutTab) self.verticalLayout_2.setContentsMargins(-1, 16, -1, -1) - self.verticalLayout_2.setObjectName("verticalLayout_2") + self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) self.aboutLabel = QtGui.QLabel(self.aboutTab) - self.aboutLabel.setText("TextLabel") + self.aboutLabel.setText(_fromUtf8("TextLabel")) self.aboutLabel.setWordWrap(True) self.aboutLabel.setOpenExternalLinks(True) self.aboutLabel.setTextInteractionFlags(QtCore.Qt.TextBrowserInteraction) - self.aboutLabel.setObjectName("aboutLabel") + self.aboutLabel.setObjectName(_fromUtf8("aboutLabel")) self.verticalLayout_2.addWidget(self.aboutLabel) spacerItem = QtGui.QSpacerItem(20, 168, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.verticalLayout_2.addItem(spacerItem) - self.tabWidget.addTab(self.aboutTab, "") + self.tabWidget.addTab(self.aboutTab, _fromUtf8("")) self.authorsTab = QtGui.QWidget() - self.authorsTab.setObjectName("authorsTab") + self.authorsTab.setObjectName(_fromUtf8("authorsTab")) self.verticalLayout_3 = QtGui.QVBoxLayout(self.authorsTab) self.verticalLayout_3.setContentsMargins(-1, 16, -1, -1) - self.verticalLayout_3.setObjectName("verticalLayout_3") + self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3")) self.authorsEdit = QtGui.QTextBrowser(self.authorsTab) self.authorsEdit.setFrameShape(QtGui.QFrame.NoFrame) self.authorsEdit.setOpenExternalLinks(True) - self.authorsEdit.setObjectName("authorsEdit") + self.authorsEdit.setObjectName(_fromUtf8("authorsEdit")) self.verticalLayout_3.addWidget(self.authorsEdit) - self.tabWidget.addTab(self.authorsTab, "") + self.tabWidget.addTab(self.authorsTab, _fromUtf8("")) self.thanksTab = QtGui.QWidget() - self.thanksTab.setObjectName("thanksTab") + self.thanksTab.setObjectName(_fromUtf8("thanksTab")) self.verticalLayout_4 = QtGui.QVBoxLayout(self.thanksTab) self.verticalLayout_4.setContentsMargins(-1, 16, -1, -1) - self.verticalLayout_4.setObjectName("verticalLayout_4") + self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4")) self.thanksEdit = QtGui.QTextBrowser(self.thanksTab) self.thanksEdit.setFrameShape(QtGui.QFrame.NoFrame) self.thanksEdit.setOpenExternalLinks(True) - self.thanksEdit.setObjectName("thanksEdit") + self.thanksEdit.setObjectName(_fromUtf8("thanksEdit")) self.verticalLayout_4.addWidget(self.thanksEdit) - self.tabWidget.addTab(self.thanksTab, "") + self.tabWidget.addTab(self.thanksTab, _fromUtf8("")) self.verticalLayout.addWidget(self.tabWidget) self.buttonBox = QtGui.QDialogButtonBox(aboutDialog) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Ok) - self.buttonBox.setObjectName("buttonBox") + self.buttonBox.setObjectName(_fromUtf8("buttonBox")) self.verticalLayout.addWidget(self.buttonBox) self.retranslateUi(aboutDialog) self.tabWidget.setCurrentIndex(0) - QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("accepted()"), aboutDialog.accept) - QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("rejected()"), aboutDialog.reject) + QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), aboutDialog.accept) + QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), aboutDialog.reject) QtCore.QMetaObject.connectSlotsByName(aboutDialog) def retranslateUi(self, aboutDialog):
View file
flacon-0.5.6.tar.bz2/audiofiles.py -> flacon-0.5.7.tar.bz2/audiofiles.py
Changed
@@ -60,7 +60,7 @@ #**************************************************************** def _info(self, name): try: - return QString(self._items[QString(name).toUpper()]) + return QString(self._infoItems[QString(name).toUpper()]) except: return ""
View file
flacon-0.5.6.tar.bz2/configureDialog_ui.py -> flacon-0.5.7.tar.bz2/configureDialog_ui.py
Changed
@@ -2,16 +2,21 @@ # Form implementation generated from reading ui file 'configureDialog.ui' # -# Created: Fri Feb 11 21:45:28 2011 -# by: PyQt4 UI code generator 4.7.4 +# Created: Sun May 8 14:50:29 2011 +# by: PyQt4 UI code generator 4.8.3 # # WARNING! All changes made in this file will be lost! from PyQt4 import QtCore, QtGui +try: + _fromUtf8 = QtCore.QString.fromUtf8 +except AttributeError: + _fromUtf8 = lambda s: s + class Ui_configureDialog(object): def setupUi(self, configureDialog): - configureDialog.setObjectName("configureDialog") + configureDialog.setObjectName(_fromUtf8("configureDialog")) configureDialog.resize(646, 425) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) @@ -19,9 +24,9 @@ sizePolicy.setHeightForWidth(configureDialog.sizePolicy().hasHeightForWidth()) configureDialog.setSizePolicy(sizePolicy) self.verticalLayout_2 = QtGui.QVBoxLayout(configureDialog) - self.verticalLayout_2.setObjectName("verticalLayout_2") + self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) self.horizontalLayout = QtGui.QHBoxLayout() - self.horizontalLayout.setObjectName("horizontalLayout") + self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.pagesList = QtGui.QListWidget(configureDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) @@ -36,15 +41,15 @@ self.pagesList.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff) self.pagesList.setAutoScroll(False) self.pagesList.setEditTriggers(QtGui.QAbstractItemView.NoEditTriggers) - self.pagesList.setProperty("showDropIndicator", QtCore.QVariant(False)) + self.pagesList.setProperty(_fromUtf8("showDropIndicator"), QtCore.QVariant(False)) self.pagesList.setIconSize(QtCore.QSize(32, 33)) self.pagesList.setMovement(QtGui.QListView.Static) self.pagesList.setFlow(QtGui.QListView.TopToBottom) - self.pagesList.setProperty("isWrapping", QtCore.QVariant(False)) + self.pagesList.setProperty(_fromUtf8("isWrapping"), QtCore.QVariant(False)) self.pagesList.setSpacing(0) self.pagesList.setViewMode(QtGui.QListView.IconMode) self.pagesList.setSelectionRectVisible(True) - self.pagesList.setObjectName("pagesList") + self.pagesList.setObjectName(_fromUtf8("pagesList")) QtGui.QListWidgetItem(self.pagesList) QtGui.QListWidgetItem(self.pagesList) QtGui.QListWidgetItem(self.pagesList) @@ -59,11 +64,11 @@ sizePolicy.setHeightForWidth(self.pages.sizePolicy().hasHeightForWidth()) self.pages.setSizePolicy(sizePolicy) self.pages.setMinimumSize(QtCore.QSize(0, 11)) - self.pages.setObjectName("pages") + self.pages.setObjectName(_fromUtf8("pages")) self.generalPage = QtGui.QWidget() - self.generalPage.setObjectName("generalPage") + self.generalPage.setObjectName(_fromUtf8("generalPage")) self.verticalLayout_6 = QtGui.QVBoxLayout(self.generalPage) - self.verticalLayout_6.setObjectName("verticalLayout_6") + self.verticalLayout_6.setObjectName(_fromUtf8("verticalLayout_6")) self.label_5 = QtGui.QLabel(self.generalPage) self.label_5.setMinimumSize(QtCore.QSize(0, 34)) font = QtGui.QFont() @@ -71,29 +76,29 @@ font.setBold(True) self.label_5.setFont(font) self.label_5.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop) - self.label_5.setObjectName("label_5") + self.label_5.setObjectName(_fromUtf8("label_5")) self.verticalLayout_6.addWidget(self.label_5) self.formLayout_6 = QtGui.QGridLayout() - self.formLayout_6.setObjectName("formLayout_6") + self.formLayout_6.setObjectName(_fromUtf8("formLayout_6")) self.threadsCountLabel = QtGui.QLabel(self.generalPage) - self.threadsCountLabel.setObjectName("threadsCountLabel") + self.threadsCountLabel.setObjectName(_fromUtf8("threadsCountLabel")) self.formLayout_6.addWidget(self.threadsCountLabel, 0, 0, 1, 1) self.threadsCountSpin = QtGui.QSpinBox(self.generalPage) self.threadsCountSpin.setMinimum(1) self.threadsCountSpin.setMaximum(64) - self.threadsCountSpin.setObjectName("threadsCountSpin") + self.threadsCountSpin.setObjectName(_fromUtf8("threadsCountSpin")) self.formLayout_6.addWidget(self.threadsCountSpin, 0, 1, 1, 1) self.tmpDirLabel = QtGui.QLabel(self.generalPage) - self.tmpDirLabel.setObjectName("tmpDirLabel") + self.tmpDirLabel.setObjectName(_fromUtf8("tmpDirLabel")) self.formLayout_6.addWidget(self.tmpDirLabel, 1, 0, 1, 1) self.horizontalLayout_5 = QtGui.QHBoxLayout() - self.horizontalLayout_5.setObjectName("horizontalLayout_5") + self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5")) self.tmpDirEdit = QtGui.QLineEdit(self.generalPage) - self.tmpDirEdit.setObjectName("tmpDirEdit") + self.tmpDirEdit.setObjectName(_fromUtf8("tmpDirEdit")) self.horizontalLayout_5.addWidget(self.tmpDirEdit) self.tmpDirButton = QtGui.QToolButton(self.generalPage) - self.tmpDirButton.setText("...") - self.tmpDirButton.setObjectName("tmpDirButton") + self.tmpDirButton.setText(_fromUtf8("...")) + self.tmpDirButton.setObjectName(_fromUtf8("tmpDirButton")) self.horizontalLayout_5.addWidget(self.tmpDirButton) self.formLayout_6.addLayout(self.horizontalLayout_5, 1, 1, 1, 1) self.verticalLayout_6.addLayout(self.formLayout_6) @@ -101,9 +106,9 @@ self.verticalLayout_6.addItem(spacerItem) self.pages.addWidget(self.generalPage) self.flacPage = QtGui.QWidget() - self.flacPage.setObjectName("flacPage") + self.flacPage.setObjectName(_fromUtf8("flacPage")) self.verticalLayout = QtGui.QVBoxLayout(self.flacPage) - self.verticalLayout.setObjectName("verticalLayout") + self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.label = QtGui.QLabel(self.flacPage) self.label.setMinimumSize(QtCore.QSize(0, 34)) font = QtGui.QFont() @@ -111,41 +116,41 @@ font.setBold(True) self.label.setFont(font) self.label.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop) - self.label.setObjectName("label") + self.label.setObjectName(_fromUtf8("label")) self.verticalLayout.addWidget(self.label) self.formLayout = QtGui.QGridLayout() - self.formLayout.setObjectName("formLayout") + self.formLayout.setObjectName(_fromUtf8("formLayout")) self.flacCompressionLabel = QtGui.QLabel(self.flacPage) - self.flacCompressionLabel.setObjectName("flacCompressionLabel") + self.flacCompressionLabel.setObjectName(_fromUtf8("flacCompressionLabel")) self.formLayout.addWidget(self.flacCompressionLabel, 0, 0, 1, 1) self.horizontalLayout_2 = QtGui.QHBoxLayout() - self.horizontalLayout_2.setObjectName("horizontalLayout_2") + self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2")) self.flacCompressionSlider = QtGui.QSlider(self.flacPage) self.flacCompressionSlider.setMaximum(8) self.flacCompressionSlider.setPageStep(1) - self.flacCompressionSlider.setProperty("value", QtCore.QVariant(0)) + self.flacCompressionSlider.setProperty(_fromUtf8("value"), QtCore.QVariant(0)) self.flacCompressionSlider.setOrientation(QtCore.Qt.Horizontal) self.flacCompressionSlider.setTickPosition(QtGui.QSlider.TicksAbove) - self.flacCompressionSlider.setObjectName("flacCompressionSlider") + self.flacCompressionSlider.setObjectName(_fromUtf8("flacCompressionSlider")) self.horizontalLayout_2.addWidget(self.flacCompressionSlider) self.flacCompressionSpin = QtGui.QSpinBox(self.flacPage) self.flacCompressionSpin.setMaximum(8) - self.flacCompressionSpin.setObjectName("flacCompressionSpin") + self.flacCompressionSpin.setObjectName(_fromUtf8("flacCompressionSpin")) self.horizontalLayout_2.addWidget(self.flacCompressionSpin) self.formLayout.addLayout(self.horizontalLayout_2, 0, 1, 1, 1) self.verticalLayout.addLayout(self.formLayout) self.flacGainGroup = QtGui.QGroupBox(self.flacPage) - self.flacGainGroup.setObjectName("flacGainGroup") + self.flacGainGroup.setObjectName(_fromUtf8("flacGainGroup")) self.verticalLayout_8 = QtGui.QVBoxLayout(self.flacGainGroup) - self.verticalLayout_8.setObjectName("verticalLayout_8") + self.verticalLayout_8.setObjectName(_fromUtf8("verticalLayout_8")) self.formLayout_7 = QtGui.QGridLayout() - self.formLayout_7.setObjectName("formLayout_7") + self.formLayout_7.setObjectName(_fromUtf8("formLayout_7")) self.flacGainLabel = QtGui.QLabel(self.flacGainGroup) - self.flacGainLabel.setObjectName("flacGainLabel") + self.flacGainLabel.setObjectName(_fromUtf8("flacGainLabel")) self.formLayout_7.addWidget(self.flacGainLabel, 0, 0, 1, 1) self.flacGainCbx = QtGui.QComboBox(self.flacGainGroup) - self.flacGainCbx.setObjectName("flacGainCbx") - self.flacGainCbx.addItem("") + self.flacGainCbx.setObjectName(_fromUtf8("flacGainCbx")) + self.flacGainCbx.addItem(_fromUtf8("")) self.formLayout_7.addWidget(self.flacGainCbx, 0, 1, 1, 1) spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.formLayout_7.addItem(spacerItem1, 0, 2, 1, 1) @@ -155,9 +160,9 @@ self.verticalLayout.addItem(spacerItem2) self.pages.addWidget(self.flacPage) self.wvPage = QtGui.QWidget() - self.wvPage.setObjectName("wvPage") + self.wvPage.setObjectName(_fromUtf8("wvPage")) self.verticalLayout_11 = QtGui.QVBoxLayout(self.wvPage) - self.verticalLayout_11.setObjectName("verticalLayout_11") + self.verticalLayout_11.setObjectName(_fromUtf8("verticalLayout_11")) self.wvTitleLabel = QtGui.QLabel(self.wvPage) self.wvTitleLabel.setMinimumSize(QtCore.QSize(0, 34)) font = QtGui.QFont() @@ -165,41 +170,41 @@ font.setBold(True) self.wvTitleLabel.setFont(font) self.wvTitleLabel.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop) - self.wvTitleLabel.setObjectName("wvTitleLabel") + self.wvTitleLabel.setObjectName(_fromUtf8("wvTitleLabel")) self.verticalLayout_11.addWidget(self.wvTitleLabel) self.formLayout_9 = QtGui.QGridLayout() - self.formLayout_9.setObjectName("formLayout_9") + self.formLayout_9.setObjectName(_fromUtf8("formLayout_9")) self.wvCompressionLabel = QtGui.QLabel(self.wvPage)
View file
flacon-0.5.6.tar.bz2/controls.py -> flacon-0.5.7.tar.bz2/controls.py
Changed
@@ -183,14 +183,31 @@ self.addItem(self.tr("Unicode (UTF-8)"), QVariant("UTF-8")) self.addItem(self.tr("Unicode (UTF-16LE)"), QVariant("UTF-16LE")) self.addItem(self.tr("Unicode (UTF-16BE)"), QVariant("UTF-16BE")) - try: # Compatible with PyQt < 4.4 - self.insertSeparator(99999) - except: - pass + + self.insertSeparator() self.addItem(self.tr("Cyrillic (Win-1251)"), QVariant("windows-1251")) self.addItem(self.tr("Cyrillic (CP-866)"), QVariant("IBM866")) + self.insertSeparator() + + self.addItem(self.tr("Latin-1 (ISO-8859-1)"), QVariant("ISO-8859-1")) + self.addItem(self.tr("Latin-2 (ISO-8859-2)"), QVariant("ISO-8859-2")) + self.addItem(self.tr("Latin-3 (ISO-8859-3)"), QVariant("ISO-8859-3")) + self.addItem(self.tr("Latin-4 (ISO-8859-4)"), QVariant("ISO-8859-4")) + self.addItem(self.tr("Latin-5 (ISO-8859-5)"), QVariant("ISO-8859-5")) + self.addItem(self.tr("Latin-6 (ISO-8859-6)"), QVariant("ISO-8859-6")) + self.addItem(self.tr("Latin-7 (ISO-8859-7)"), QVariant("ISO-8859-7")) + self.addItem(self.tr("Latin-8 (ISO-8859-8)"), QVariant("ISO-8859-8")) + self.addItem(self.tr("Latin-9 (ISO-8859-9)"), QVariant("ISO-8859-9")) + self.addItem(self.tr("Latin-10 (ISO-8859-10)"), QVariant("ISO-8859-10")) + + self.addItem(self.tr("Latin-13 (ISO-8859-13)"), QVariant("ISO-8859-13")) + self.addItem(self.tr("Latin-14 (ISO-8859-14)"), QVariant("ISO-8859-14")) + self.addItem(self.tr("Latin-15 (ISO-8859-15)"), QVariant("ISO-8859-15")) + self.addItem(self.tr("Latin-16 (ISO-8859-16)"), QVariant("ISO-8859-16")) + + #**************************************************************** # @@ -226,6 +243,20 @@ self.setCurrentIndex(n) + #**************************************************************** + # + #**************************************************************** + def insertSeparator(self, index=-1): + if index < 0: + index = 99999 + + # Compatible with PyQt < 4.4 + try: + QComboBox.insertSeparator(self, index) + except: + pass + + class ActionPushButton(QtGui.QPushButton): #****************************************************************
View file
flacon-0.5.6.tar.bz2/converter.py -> flacon-0.5.7.tar.bz2/converter.py
Changed
@@ -332,6 +332,18 @@ #**************************************************************** # #**************************************************************** + def tr(self, text, disambiguation = ''): + res = QtGui.qApp.translate(self.__class__.__name__, text, disambiguation) + + if res == text: + res = QtGui.qApp.translate("ConverterThread", text, disambiguation) + + return res + + + #**************************************************************** + # + #**************************************************************** def createDir(self, dirName): self._mutex.lock()
View file
flacon-0.5.6.tar.bz2/flacon.py -> flacon-0.5.7.tar.bz2/flacon.py
Changed
@@ -15,7 +15,7 @@ # GNU General Public License for more details. -FLACON_VERSION='0.5.6' +FLACON_VERSION='0.5.7' import sys import os
View file
flacon-0.5.6.tar.bz2/mainWindow_ui.py -> flacon-0.5.7.tar.bz2/mainWindow_ui.py
Changed
@@ -2,74 +2,80 @@ # Form implementation generated from reading ui file 'mainWindow.ui' # -# Created: Fri Feb 11 21:45:28 2011 -# by: PyQt4 UI code generator 4.7.4 +# Created: Sun May 8 14:50:31 2011 +# by: PyQt4 UI code generator 4.8.3 # # WARNING! All changes made in this file will be lost! from PyQt4 import QtCore, QtGui +try: + _fromUtf8 = QtCore.QString.fromUtf8 +except AttributeError: + _fromUtf8 = lambda s: s + class Ui_mainWindow(object): def setupUi(self, mainWindow): - mainWindow.setObjectName("mainWindow") + mainWindow.setObjectName(_fromUtf8("mainWindow")) mainWindow.resize(800, 600) self.centralwidget = QtGui.QWidget(mainWindow) - self.centralwidget.setObjectName("centralwidget") + self.centralwidget.setObjectName(_fromUtf8("centralwidget")) self.verticalLayout_2 = QtGui.QVBoxLayout(self.centralwidget) - self.verticalLayout_2.setObjectName("verticalLayout_2") + self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) self.splitter = QtGui.QSplitter(self.centralwidget) self.splitter.setOrientation(QtCore.Qt.Horizontal) - self.splitter.setObjectName("splitter") + self.splitter.setObjectName(_fromUtf8("splitter")) self.layoutWidget = QtGui.QWidget(self.splitter) - self.layoutWidget.setObjectName("layoutWidget") + self.layoutWidget.setObjectName(_fromUtf8("layoutWidget")) self.verticalLayout = QtGui.QVBoxLayout(self.layoutWidget) - self.verticalLayout.setObjectName("verticalLayout") + self.verticalLayout.setMargin(0) + self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.outFilesBox = QtGui.QGroupBox(self.layoutWidget) - self.outFilesBox.setObjectName("outFilesBox") + self.outFilesBox.setObjectName(_fromUtf8("outFilesBox")) self.formLayout_2 = QtGui.QGridLayout(self.outFilesBox) - self.formLayout_2.setObjectName("formLayout_2") + self.formLayout_2.setObjectName(_fromUtf8("formLayout_2")) self.outDirLabel = QtGui.QLabel(self.outFilesBox) - self.outDirLabel.setObjectName("outDirLabel") + self.outDirLabel.setObjectName(_fromUtf8("outDirLabel")) self.formLayout_2.addWidget(self.outDirLabel, 0, 0, 1, 1) self.horizontalLayout_3 = QtGui.QHBoxLayout() - self.horizontalLayout_3.setObjectName("horizontalLayout_3") + self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3")) self.outDirEdit = QtGui.QLineEdit(self.outFilesBox) - self.outDirEdit.setObjectName("outDirEdit") + self.outDirEdit.setObjectName(_fromUtf8("outDirEdit")) self.horizontalLayout_3.addWidget(self.outDirEdit) self.outDirButton = QtGui.QToolButton(self.outFilesBox) - self.outDirButton.setText("...") - self.outDirButton.setObjectName("outDirButton") + self.outDirButton.setText(_fromUtf8("...")) + self.outDirButton.setObjectName(_fromUtf8("outDirButton")) self.horizontalLayout_3.addWidget(self.outDirButton) self.formLayout_2.addLayout(self.horizontalLayout_3, 0, 1, 1, 1) self.outPatternEditLabel = QtGui.QLabel(self.outFilesBox) - self.outPatternEditLabel.setObjectName("outPatternEditLabel") + self.outPatternEditLabel.setObjectName(_fromUtf8("outPatternEditLabel")) self.formLayout_2.addWidget(self.outPatternEditLabel, 1, 0, 1, 1) self.horizontalLayout_6 = QtGui.QHBoxLayout() - self.horizontalLayout_6.setObjectName("horizontalLayout_6") + self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6")) self.outPatternEdit = QtGui.QLineEdit(self.outFilesBox) - self.outPatternEdit.setObjectName("outPatternEdit") + self.outPatternEdit.setObjectName(_fromUtf8("outPatternEdit")) self.horizontalLayout_6.addWidget(self.outPatternEdit) self.outPatternButton = QtGui.QToolButton(self.outFilesBox) - self.outPatternButton.setText("") - self.outPatternButton.setObjectName("outPatternButton") + self.outPatternButton.setText(_fromUtf8("")) + self.outPatternButton.setObjectName(_fromUtf8("outPatternButton")) self.horizontalLayout_6.addWidget(self.outPatternButton) self.formLayout_2.addLayout(self.horizontalLayout_6, 1, 1, 1, 1) self.outFormatLabel = QtGui.QLabel(self.outFilesBox) - self.outFormatLabel.setObjectName("outFormatLabel") + self.outFormatLabel.setObjectName(_fromUtf8("outFormatLabel")) self.formLayout_2.addWidget(self.outFormatLabel, 2, 0, 1, 1) self.horizontalLayout_5 = QtGui.QHBoxLayout() - self.horizontalLayout_5.setObjectName("horizontalLayout_5") + self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5")) self.outFormatCombo = QtGui.QComboBox(self.outFilesBox) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.outFormatCombo.sizePolicy().hasHeightForWidth()) self.outFormatCombo.setSizePolicy(sizePolicy) - self.outFormatCombo.setObjectName("outFormatCombo") + self.outFormatCombo.setObjectName(_fromUtf8("outFormatCombo")) self.horizontalLayout_5.addWidget(self.outFormatCombo) self.configureEncoderBtn = QtGui.QToolButton(self.outFilesBox) - self.configureEncoderBtn.setText("*") - self.configureEncoderBtn.setObjectName("configureEncoderBtn") + self.configureEncoderBtn.setText(_fromUtf8("*")) + self.configureEncoderBtn.setObjectName(_fromUtf8("configureEncoderBtn")) self.horizontalLayout_5.addWidget(self.configureEncoderBtn) self.formLayout_2.addLayout(self.horizontalLayout_5, 2, 1, 1, 1) self.verticalLayout.addWidget(self.outFilesBox) @@ -79,55 +85,55 @@ sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.tagsBox.sizePolicy().hasHeightForWidth()) self.tagsBox.setSizePolicy(sizePolicy) - self.tagsBox.setObjectName("tagsBox") + self.tagsBox.setObjectName(_fromUtf8("tagsBox")) self.formLayout = QtGui.QGridLayout(self.tagsBox) - self.formLayout.setObjectName("formLayout") + self.formLayout.setObjectName(_fromUtf8("formLayout")) self.tagGenreEditLabel_2 = QtGui.QLabel(self.tagsBox) - self.tagGenreEditLabel_2.setObjectName("tagGenreEditLabel_2") + self.tagGenreEditLabel_2.setObjectName(_fromUtf8("tagGenreEditLabel_2")) self.formLayout.addWidget(self.tagGenreEditLabel_2, 0, 0, 1, 1) self.tagGenreEdit = MultiValuesLineEdit(self.tagsBox) - self.tagGenreEdit.setObjectName("tagGenreEdit") + self.tagGenreEdit.setObjectName(_fromUtf8("tagGenreEdit")) self.formLayout.addWidget(self.tagGenreEdit, 0, 1, 1, 1) self.tagYearEditLabel = QtGui.QLabel(self.tagsBox) - self.tagYearEditLabel.setObjectName("tagYearEditLabel") + self.tagYearEditLabel.setObjectName(_fromUtf8("tagYearEditLabel")) self.formLayout.addWidget(self.tagYearEditLabel, 1, 0, 1, 1) self.tagYearEdit = YearSpinBox(self.tagsBox) self.tagYearEdit.setMinimum(1900) self.tagYearEdit.setMaximum(3000) - self.tagYearEdit.setObjectName("tagYearEdit") + self.tagYearEdit.setObjectName(_fromUtf8("tagYearEdit")) self.formLayout.addWidget(self.tagYearEdit, 1, 1, 1, 1) self.tagArtistEditLabel = QtGui.QLabel(self.tagsBox) - self.tagArtistEditLabel.setObjectName("tagArtistEditLabel") + self.tagArtistEditLabel.setObjectName(_fromUtf8("tagArtistEditLabel")) self.formLayout.addWidget(self.tagArtistEditLabel, 2, 0, 1, 1) self.tagArtistEdit = MultiValuesLineEdit(self.tagsBox) - self.tagArtistEdit.setObjectName("tagArtistEdit") + self.tagArtistEdit.setObjectName(_fromUtf8("tagArtistEdit")) self.formLayout.addWidget(self.tagArtistEdit, 2, 1, 1, 1) self.tagAlbumEditLabel = QtGui.QLabel(self.tagsBox) - self.tagAlbumEditLabel.setObjectName("tagAlbumEditLabel") + self.tagAlbumEditLabel.setObjectName(_fromUtf8("tagAlbumEditLabel")) self.formLayout.addWidget(self.tagAlbumEditLabel, 3, 0, 1, 1) self.tagAlbumEdit = MultiValuesLineEdit(self.tagsBox) - self.tagAlbumEdit.setObjectName("tagAlbumEdit") + self.tagAlbumEdit.setObjectName(_fromUtf8("tagAlbumEdit")) self.formLayout.addWidget(self.tagAlbumEdit, 3, 1, 1, 1) self.tagStartNumEditLabel = QtGui.QLabel(self.tagsBox) - self.tagStartNumEditLabel.setToolTip("") - self.tagStartNumEditLabel.setObjectName("tagStartNumEditLabel") + self.tagStartNumEditLabel.setToolTip(_fromUtf8("")) + self.tagStartNumEditLabel.setObjectName(_fromUtf8("tagStartNumEditLabel")) self.formLayout.addWidget(self.tagStartNumEditLabel, 4, 0, 1, 1) self.tagStartNumEdit = MultiValuesSpinBox(self.tagsBox) self.tagStartNumEdit.setMinimum(1) - self.tagStartNumEdit.setObjectName("tagStartNumEdit") + self.tagStartNumEdit.setObjectName(_fromUtf8("tagStartNumEdit")) self.formLayout.addWidget(self.tagStartNumEdit, 4, 1, 1, 1) self.tagDiscIdEditLabel = QtGui.QLabel(self.tagsBox) - self.tagDiscIdEditLabel.setObjectName("tagDiscIdEditLabel") + self.tagDiscIdEditLabel.setObjectName(_fromUtf8("tagDiscIdEditLabel")) self.formLayout.addWidget(self.tagDiscIdEditLabel, 5, 0, 1, 1) self.tagDiscIdEdit = MultiValuesLineEdit(self.tagsBox) self.tagDiscIdEdit.setReadOnly(True) - self.tagDiscIdEdit.setObjectName("tagDiscIdEdit") + self.tagDiscIdEdit.setObjectName(_fromUtf8("tagDiscIdEdit")) self.formLayout.addWidget(self.tagDiscIdEdit, 5, 1, 1, 1) self.codepageComboLabel = QtGui.QLabel(self.tagsBox) - self.codepageComboLabel.setObjectName("codepageComboLabel") + self.codepageComboLabel.setObjectName(_fromUtf8("codepageComboLabel")) self.formLayout.addWidget(self.codepageComboLabel, 6, 0, 1, 1) self.codepageCombo = CodePageComboBox(self.tagsBox) - self.codepageCombo.setObjectName("codepageCombo") + self.codepageCombo.setObjectName(_fromUtf8("codepageCombo")) self.formLayout.addWidget(self.codepageCombo, 6, 1, 1, 1) self.verticalLayout.addWidget(self.tagsBox) spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) @@ -143,51 +149,51 @@ self.trackView.setIconSize(QtCore.QSize(22, 22)) self.trackView.setRootIsDecorated(True) self.trackView.setItemsExpandable(True) - self.trackView.setObjectName("trackView") + self.trackView.setObjectName(_fromUtf8("trackView")) self.verticalLayout_2.addWidget(self.splitter) mainWindow.setCentralWidget(self.centralwidget) self.menubar = QtGui.QMenuBar(mainWindow) self.menubar.setGeometry(QtCore.QRect(0, 0, 800, 21)) - self.menubar.setObjectName("menubar") + self.menubar.setObjectName(_fromUtf8("menubar")) self.menuFile = QtGui.QMenu(self.menubar) - self.menuFile.setObjectName("menuFile") + self.menuFile.setObjectName(_fromUtf8("menuFile")) self.menu_Settings = QtGui.QMenu(self.menubar) - self.menu_Settings.setObjectName("menu_Settings") + self.menu_Settings.setObjectName(_fromUtf8("menu_Settings")) self.menu_Help = QtGui.QMenu(self.menubar) - self.menu_Help.setObjectName("menu_Help") + self.menu_Help.setObjectName(_fromUtf8("menu_Help"))
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.