Package conduit :: Package platform :: Module WebBrowserMozilla :: Class _MozConfig
[hide private]

Class _MozConfig

source code


A Singleton whose only responsibilty is to configure gtkmozembed to use the correct profile path. Gtkmozembed only allows its profile path to be set once

Nested Classes [hide private]

Inherited from utils.Singleton.Singleton: __metaclass__

Instance Methods [hide private]
 
__init__(self, **kwargs) source code
 
_get_profile_subdir(self)
Some webbrowsers need a profile dir.
source code
 
_create_prefs_js(self)
Create the file prefs.js in the mozilla profile directory.
source code
Class Variables [hide private]
  DEFAULT_PROFILE = 'default'
Method Details [hide private]

_get_profile_subdir(self)

source code 
Some webbrowsers need a profile dir. Make it if it doesnt exist

_create_prefs_js(self)

source code 
Create the file prefs.js in the mozilla profile directory. This file does things like turn off the warning when navigating to https pages.