SF.net SVN: fclient: [599] trunk/fclient/src/fclient/Ui_View.py
Status: Pre-Alpha
Brought to you by:
jurner
|
From: <jU...@us...> - 2008-07-12 19:58:43
|
Revision: 599
http://fclient.svn.sourceforge.net/fclient/?rev=599&view=rev
Author: jUrner
Date: 2008-07-12 12:58:48 -0700 (Sat, 12 Jul 2008)
Log Message:
-----------
add settings and a bit this and that
Modified Paths:
--------------
trunk/fclient/src/fclient/Ui_View.py
Modified: trunk/fclient/src/fclient/Ui_View.py
===================================================================
--- trunk/fclient/src/fclient/Ui_View.py 2008-07-12 19:58:19 UTC (rev 598)
+++ trunk/fclient/src/fclient/Ui_View.py 2008-07-12 19:58:48 UTC (rev 599)
@@ -24,6 +24,7 @@
class Settings(config.SettingsBase):
_key_ = config.IdViewWidget
_settings_ = (
+ ('LastView', 'String', '', config.SettingScopePrivate),
)
#***********************************************************************
@@ -50,8 +51,7 @@
tabTop.removeTab(0)
tabBottom = self.controlById(self.IdTabBottom)
tabBottom.removeTab(0)
-
-
+
def controlById(self, idControl):
return getattr(self, idControl)
@@ -67,7 +67,7 @@
self.views[ido] = (i, tab, view)
- def viewFromUuid(self, uuid):
+ def viewFromName(self, name):
return self.views[uuid]
def setCurrentView(self, view):
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|