SF.net SVN: fclient:[824] trunk/fclient/src/fclient/impl/ViewBrowser.py
Status: Pre-Alpha
Brought to you by:
jurner
From: <jU...@us...> - 2008-07-30 22:17:31
|
Revision: 824 http://fclient.svn.sourceforge.net/fclient/?rev=824&view=rev Author: jUrner Date: 2008-07-30 22:17:39 +0000 (Wed, 30 Jul 2008) Log Message: ----------- get iconsize/theme from config Modified Paths: -------------- trunk/fclient/src/fclient/impl/ViewBrowser.py Modified: trunk/fclient/src/fclient/impl/ViewBrowser.py =================================================================== --- trunk/fclient/src/fclient/impl/ViewBrowser.py 2008-07-30 22:16:59 UTC (rev 823) +++ trunk/fclient/src/fclient/impl/ViewBrowser.py 2008-07-30 22:17:39 UTC (rev 824) @@ -234,8 +234,6 @@ ('OpenHomePageOnNewTabCreated', 'Bool', False, config.SettingScopeUser), ('BackIsClose', 'Bool', False, config.SettingScopeUser), #TODO: not implemented ('HomePage', 'String', QtCore.QString(), config.SettingScopeUser), - ('IconSize', 'UInt', 32, config.SettingScopeUser), - ('IconTheme', 'String', QtCore.QString('crystal'), config.SettingScopeUser), ('AutoLoadImages', 'Bool', True, config.SettingScopeUser), #TODO: not yet implemented ('MaxTabText', 'UInt', 20, config.SettingScopeUser), #NOTE: make shure Max >= Min and Max and Min > 0 ('MinTabText', 'UInt', 7, config.SettingScopeUser), @@ -266,8 +264,8 @@ def __init__(self, parent): config.ActionsBase.__init__(self, parent) - iconSize = parent.fcSettings.value('IconSize') - iconTheme = parent.fcSettings.value('IconTheme') + iconSize = config.fcSettings.value('IconSize') + iconTheme = config.fcSettings.value('IconTheme') #TODO: shortcut self.action( @@ -480,8 +478,8 @@ self.fcGlobalFeedback = BrowserWidgetGlobalFeedback(self, idGlobalFeedback) # setup - iconSize = self.fcSettings.value('IconSize') - iconTheme = self.fcSettings.value('IconTheme') + iconSize = config.fcSettings.value('IconSize') + iconTheme = config.fcSettings.value('IconTheme') # setup tab bar tabWidget = self.controlById(self.IdTabBrowsers) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |