/usr/lib/python2.7/dist-packages/guidata/config.py is in python-guidata 1.7.6-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | # -*- coding: utf-8 -*-
#
# Copyright © 2009-2010 CEA
# Pierre Raybaut
# Licensed under the terms of the CECILL License
# (see guidata/__init__.py for details)
"""
Handle *guidata* module configuration
(options, images and icons)
"""
import os.path as osp
from guidata.configtools import add_image_module_path, get_translation
from guidata.userconfig import UserConfig
APP_PATH = osp.dirname(__file__)
add_image_module_path("guidata", "images")
_ = get_translation("guidata")
DEFAULTS = {'arrayeditor':
{
'font/family/nt': ['Consolas', 'Courier New'],
'font/family/posix': 'Bitstream Vera Sans Mono',
'font/family/mac': 'Monaco',
'font/size': 9,
'font/bold': False,
},
'dicteditor':
{
'font/family/nt': ['Consolas', 'Courier New'],
'font/family/posix': 'Bitstream Vera Sans Mono',
'font/family/mac': 'Monaco',
'font/size': 9,
'font/italic': False,
'font/bold': False,
},
'texteditor':
{
'font/family/nt': ['Consolas', 'Courier New'],
'font/family/posix': 'Bitstream Vera Sans Mono',
'font/family/mac': 'Monaco',
'font/size': 9,
'font/italic': False,
'font/bold': False,
},
}
CONF = UserConfig(DEFAULTS)
|