SF.net SVN: fclient:[940] trunk/fclient/fclient/impl/MainWindow/ViewObject. py
Status: Pre-Alpha
Brought to you by:
jurner
From: <jU...@us...> - 2008-08-17 13:00:05
|
Revision: 940 http://fclient.svn.sourceforge.net/fclient/?rev=940&view=rev Author: jUrner Date: 2008-08-17 13:00:14 +0000 (Sun, 17 Aug 2008) Log Message: ----------- this and that Modified Paths: -------------- trunk/fclient/fclient/impl/MainWindow/ViewObject.py Modified: trunk/fclient/fclient/impl/MainWindow/ViewObject.py =================================================================== --- trunk/fclient/fclient/impl/MainWindow/ViewObject.py 2008-08-17 12:59:35 UTC (rev 939) +++ trunk/fclient/fclient/impl/MainWindow/ViewObject.py 2008-08-17 13:00:14 UTC (rev 940) @@ -17,6 +17,8 @@ from .. import ViewObject from . import MainWindow +from .prefs.PrefsGlobal import PrefsPageGlobal +from .prefs.PrefsSingleApp import PrefsPageSingleApp #************************************************************************************ # #************************************************************************************ @@ -25,12 +27,13 @@ def __init__(self, parentView=None): ViewObject.ViewObject.__init__(self, parentView) self._widget = None - + def close(self): - pass + ViewObject.ViewObject.close(self) def create(self): self._widget = MainWindow.MainWindow(self.parentWidget()) + ViewObject.ViewObject.create(self) return self.widget() def displayName(self): @@ -43,7 +46,9 @@ return config.IdViewObjectMainWindow def prefsPage(self): - pass + return PrefsPageGlobal()( + PrefsPageSingleApp(), + ) def widget(self): This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |