SF.net SVN: fclient:[756] trunk/fclient/src/fclient/config.py
Status: Pre-Alpha
Brought to you by:
jurner
|
From: <jU...@us...> - 2008-07-27 11:09:53
|
Revision: 756
http://fclient.svn.sourceforge.net/fclient/?rev=756&view=rev
Author: jUrner
Date: 2008-07-27 11:10:03 +0000 (Sun, 27 Jul 2008)
Log Message:
-----------
add connection name
Modified Paths:
--------------
trunk/fclient/src/fclient/config.py
Modified: trunk/fclient/src/fclient/config.py
===================================================================
--- trunk/fclient/src/fclient/config.py 2008-07-27 11:09:32 UTC (rev 755)
+++ trunk/fclient/src/fclient/config.py 2008-07-27 11:10:03 UTC (rev 756)
@@ -20,6 +20,7 @@
FclientLicence = 'MIT'
FclientCopyright = '(c) 2008 Juergen Urner'
FclientHomepage = 'http://fclient.sourceforge.net/'
+FclientConnectionName = QtCore.QString(FclientAppName + ':{08625b10-2b44-4689-b1bf-8baf208b9641}')
_ = os.path.dirname(os.path.abspath(__file__))
FclientDir = QtCore.QString(_)
@@ -105,7 +106,7 @@
('DownloadDir', 'String', FclientDownloadDir, SettingScopeUser),
('FcpAutoConnect', 'Bool', True, SettingScopeUser),
- ('FcpConnectionName', 'String', '', SettingScopeUser), #TODO: not implemented
+ ('FcpConnectionName', 'String', FclientConnectionName, SettingScopeExpert), #TODO: not implemented
('FcpConnectionHost', 'String', fcp2.Client.DefaultFcpHost, SettingScopeUser),
('FcpConnectionPort', 'UInt', fcp2.Client.DefaultFcpPort, SettingScopeUser),
('FproxyConnectionHost', 'String','127.0.0.1', SettingScopeUser),
@@ -213,4 +214,5 @@
r = clss.KeyPattern.match(key)
if r is None:
return key, ''
- return r.group(1), r.group(2)
\ No newline at end of file
+ return r.group(1), r.group(2)
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|