SF.net SVN: fclient:[660] trunk/fclient/src/fclient/Ui_View.py
Status: Pre-Alpha
Brought to you by:
jurner
|
From: <jU...@us...> - 2008-07-17 15:59:50
|
Revision: 660
http://fclient.svn.sourceforge.net/fclient/?rev=660&view=rev
Author: jUrner
Date: 2008-07-17 15:58:56 +0000 (Thu, 17 Jul 2008)
Log Message:
-----------
naming
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-17 15:56:53 UTC (rev 659)
+++ trunk/fclient/src/fclient/Ui_View.py 2008-07-17 15:58:56 UTC (rev 660)
@@ -69,13 +69,13 @@
def _addViews(self, toTop, *views):
tab = self.controlById(self.IdTabTop) if toTop else self.controlById(self.IdTabBottom)
for view in views:
- name = view.fclientViewObject.name
+ name = view.fcViewObject.name
if not name:
raise ValueError('view must have a name')
if name in self.views:
raise ValueError('view with that name is already present: %s' % name)
view.setParent(tab)
- i = tab.addTab(view, view.fclientViewObject.icon, view.fclientViewObject.displayName)
+ i = tab.addTab(view, view.fcViewObject.icon, view.fcViewObject.displayName)
self.views[name] = (tab, view)
tab.tabBar().setVisible(tab.count() > 1)
@@ -141,13 +141,13 @@
def handleTabTopCurrentChanged(self, index):
tab = self.controlById(self.IdTabTop)
view = tab.currentWidget()
- self.fclientSettings.setValues(LastViewTop=view.fclientViewObject.name)
+ self.fclientSettings.setValues(LastViewTop=view.fcViewObject.name)
def handleTabBottomCurrentChanged(self, index):
tab = self.controlById(self.IdTabBottom)
view = tab.currentWidget()
- self.fclientSettings.setValues(LastViewBottom=view.fclientViewObject.name)
+ self.fclientSettings.setValues(LastViewBottom=view.fcViewObject.name)
#**********************************************************************************
#
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|