SF.net SVN: fclient:[857] trunk/fclient/fclient/impl
Status: Pre-Alpha
Brought to you by:
jurner
From: <jU...@us...> - 2008-08-02 10:31:24
|
Revision: 857 http://fclient.svn.sourceforge.net/fclient/?rev=857&view=rev Author: jUrner Date: 2008-08-02 10:31:31 +0000 (Sat, 02 Aug 2008) Log Message: ----------- give DlgPrefs a name Modified Paths: -------------- trunk/fclient/fclient/impl/Prefs.py trunk/fclient/fclient/impl/config.py Modified: trunk/fclient/fclient/impl/Prefs.py =================================================================== --- trunk/fclient/fclient/impl/Prefs.py 2008-08-02 10:21:41 UTC (rev 856) +++ trunk/fclient/fclient/impl/Prefs.py 2008-08-02 10:31:31 UTC (rev 857) @@ -15,7 +15,7 @@ # #********************************************************************************** class Settings(config.SettingsBase): - _key_ = config.IdViewBrowserWidget + _key_ = config.IdDlgPrefs _settings_ = ( ('DlgState', 'String', '', config.SettingScopePrivate), ) @@ -53,7 +53,6 @@ class PrefsDlg(dlgpreferences.DlgPreferencesFlatTree): def __init__(self, parent): - pages = PrefsPageRoot()( PrefsPageGlobal(), PrefsPageConnectionExpertSettings() @@ -62,12 +61,12 @@ ), PrefsPageBrowser(), ) - dlgpreferences.DlgPreferencesFlatTree.__init__(self, parent, pages=pages, startPage=PrefsPageGlobal.UUID, ) + self.setObjectName(config.IdDlgPrefs) self.fcSettings = Settings(self).restore() Modified: trunk/fclient/fclient/impl/config.py =================================================================== --- trunk/fclient/fclient/impl/config.py 2008-08-02 10:21:41 UTC (rev 856) +++ trunk/fclient/fclient/impl/config.py 2008-08-02 10:31:31 UTC (rev 857) @@ -44,6 +44,7 @@ IdViewCDownloadsWidget = 'ViewDownloadsWidget' IdViewLoggerWidget = 'ViewDownloadsWidget' IdViewLoggerWidget = 'ViewLoggerWidget' +IdDlgPrefs = 'DlgPrefs' class ObjectRegistry(weakref.WeakValueDictionary): @@ -102,6 +103,7 @@ class Settings(SettingsBase): _key_ = 'ConfigSettings' _settings_ = ( + ('Version', 'String', QtCore.QString(FcVersion), SettingScopePrivate), ('SingleAppHost', 'String', QtCore.QString('localhost'), SettingScopeExpert), ('SingleAppPort', 'UInt', 45663, SettingScopeExpert), This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |