Merge heads.

This commit is contained in:
Virgil Dupras 2010-04-08 07:55:03 +01:00
commit 6131f7f6bf
13 changed files with 22 additions and 9 deletions

View File

@ -8,5 +8,5 @@ Homepage: http://www.hardcoded.net
Package: dupeguru-me
Architecture: any
Depends: python (>= 2.6), python-qt4 (>= 4.6)
Depends: python (>= 2.6), python-qt4 (>= 4.6), python-lxml (>= 2.1)
Description: dupeGuru Music Edition

View File

@ -8,5 +8,5 @@ Homepage: http://www.hardcoded.net
Package: dupeguru-pe
Architecture: any
Depends: python (>= 2.6), python-qt4 (>= 4.6), python-imaging (>= 1.1.6)
Depends: python (>= 2.6), python-qt4 (>= 4.6), python-lxml (>= 2.1), python-imaging (>= 1.1.6)
Description: dupeGuru Picture Edition

View File

@ -8,5 +8,5 @@ Homepage: http://www.hardcoded.net
Package: dupeguru-se
Architecture: any
Depends: python (>= 2.6), python-qt4 (>= 4.6)
Depends: python (>= 2.6), python-qt4 (>= 4.6), python-lxml (>= 2.1)
Description: dupeGuru

View File

@ -1,4 +1,4 @@
- date: 2010-04-07
- date: 2010-04-08
version: 1.8.6
description: |
* Fixed a crash when performing very big scans.

View File

@ -183,7 +183,8 @@ class DupeGuru(DupeGuruBase, QObject):
self.directories_dialog.show()
def show_help(self):
url = QUrl.fromLocalFile(op.abspath('help/intro.htm'))
base_path = platform.HELP_PATH.format(self.EDITION)
url = QUrl.fromLocalFile(op.abspath(op.join(base_path, 'intro.htm')))
QDesktopServices.openUrl(url)
def show_preferences(self):

View File

@ -6,6 +6,8 @@
# which should be included with this package. The terms are also available at
# http://www.hardcoded.net/licenses/hs_license
import sys
from PyQt4.QtCore import Qt, QCoreApplication, QProcess, SIGNAL, QUrl
from PyQt4.QtGui import (QMainWindow, QMenu, QPixmap, QIcon, QToolButton, QLabel, QHeaderView,
QMessageBox, QInputDialog, QLineEdit, QDesktopServices)
@ -85,6 +87,10 @@ class MainWindow(QMainWindow, Ui_MainWindow):
self.statusLabel = QLabel(self)
self.statusbar.addPermanentWidget(self.statusLabel, 1)
# Linux setup
if sys.platform == 'linux2':
self.actionCheckForUpdate.setVisible(False) # This only works on Windows
#--- Private
def _confirm(self, title, msg, default_button=QMessageBox.Yes):

View File

@ -7,4 +7,5 @@
# which should be included with this package. The terms are also available at
# http://www.hardcoded.net/licenses/hs_license
INITIAL_FOLDER_IN_DIALOGS = u'/'
INITIAL_FOLDER_IN_DIALOGS = u'/'
HELP_PATH = '/usr/local/share/dupeguru_{0}/help'

View File

@ -9,4 +9,5 @@
# dummy unit to allow the app to run under OSX during development
INITIAL_FOLDER_IN_DIALOGS = u'/'
INITIAL_FOLDER_IN_DIALOGS = u'/'
HELP_PATH = ''

View File

@ -7,4 +7,5 @@
# which should be included with this package. The terms are also available at
# http://www.hardcoded.net/licenses/hs_license
INITIAL_FOLDER_IN_DIALOGS = u'C:\\'
INITIAL_FOLDER_IN_DIALOGS = u'C:\\'
HELP_PATH = 'help'

View File

@ -14,6 +14,7 @@ from preferences import Preferences
from preferences_dialog import PreferencesDialog
class DupeGuru(DupeGuruBase):
EDITION = 'me'
LOGO_NAME = 'logo_me'
NAME = 'dupeGuru Music Edition'
VERSION = '5.7.2'

View File

@ -54,6 +54,7 @@ class File(fs.File):
class DupeGuru(DupeGuruBase):
EDITION = 'pe'
LOGO_NAME = 'logo_pe'
NAME = 'dupeGuru Picture Edition'
VERSION = '1.8.6'

View File

@ -85,7 +85,7 @@
<property name="maximumSize">
<size>
<width>16777215</width>
<height>188</height>
<height>190</height>
</size>
</property>
<property name="alternatingRowColors">

View File

@ -24,6 +24,7 @@ class Directories(DirectoriesBase):
return STATE_EXCLUDED
class DupeGuru(DupeGuruBase):
EDITION = 'se'
LOGO_NAME = 'logo_se'
NAME = 'dupeGuru'
VERSION = '2.9.2'