1
0
mirror of https://github.com/altlinux/gpupdate.git synced 2025-03-21 18:50:38 +03:00

Firefox's homepage defaults adjusted

This commit is contained in:
Игорь Чудов 2019-12-04 15:14:57 +04:00
parent f53420414f
commit e37cbeacf1
Signed by untrusted user: nir
GPG Key ID: 0F3883600CAE7AAC

View File

@ -54,8 +54,8 @@ class firefox_applier:
Query the Homepage property from the storage.
'''
homepage = dict({
'URL': 'about:config',
'Locked': True,
'URL': 'about:blank',
'Locked': False,
'StartPage': 'homepage'
})
response = self.get_hklm_string_entry_default('Homepage\\URL', 'about:config')
@ -66,7 +66,7 @@ class firefox_applier:
'''
Query BlockAboutConfig boolean property from the storage.
'''
response = self.get_hklm_string_entry_default('BlockAboutConfig', True)
response = self.get_hklm_string_entry_default('BlockAboutConfig', False)
if response.lower() in ['0', 'false', False]:
return False
return True