SF.net SVN: fclient:[672] trunk/fclient/src/fclient/Ui_View.py
Status: Pre-Alpha
Brought to you by:
jurner
|
From: <jU...@us...> - 2008-07-19 06:36:41
|
Revision: 672
http://fclient.svn.sourceforge.net/fclient/?rev=672&view=rev
Author: jUrner
Date: 2008-07-19 06:36:49 +0000 (Sat, 19 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-19 06:36:29 UTC (rev 671)
+++ trunk/fclient/src/fclient/Ui_View.py 2008-07-19 06:36:49 UTC (rev 672)
@@ -38,13 +38,12 @@
class GlobalFeedback(config.GlobalFeedbackBase):
"""wrapper for global statusbar widgets, menus"""
- def __init__(self, parent, idFeedbackParent):
- config.GlobalFeedbackBase.__init__(self, parent, idFeedbackParent)
+ def __init__(self, parent, idGlobalFeedback):
+ config.GlobalFeedbackBase.__init__(self, parent, idGlobalFeedback)
- print self.menuBar
# menus
self.menus = []
- if self.menuBar is not None:
+ if self.menuBar is not None and hasattr(parent, 'fcViewObject'):
menu = QtGui.QMenu(parent.fcViewObject.displayName, self.menuBar)
parent.populateMenu(menu)
self.menus.append(menu)
@@ -86,7 +85,7 @@
IdTabBottom = 'tabBottom'
- def __init__(self, parent, idFeedbackParent=config.IdMainWindow):
+ def __init__(self, parent, idGlobalFeedback=config.IdMainWindow):
QtGui.QWidget.__init__(self, parent)
self._isCreated = False
@@ -98,7 +97,7 @@
self.fcActions = Actions(self)
self.fcSettings = Settings().restore()
self.fcViewObject = ViewObject(self)
- self.fcGlobalFeedback = GlobalFeedback(self, idFeedbackParent)
+ self.fcGlobalFeedback = GlobalFeedback(self, idGlobalFeedback)
# setup tab widgets
tabWidgetTop = self.controlById(self.IdTabTop)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|