To reduce the amount of technical information to ordinary users, the panel and technical descriptions are simplified and reduced. The major revision is shown as follows: 1. The result of the check items view is removed and the detailed information can be found by copying them to the clipboard and pasting them to any place the users want. 2. The security status is only shown in the security dialog. All the bottoms are removed. 3. The loading spinner is added when the panel is launched. 4. A "status unavailable" page is added for the system which fwupd is unable to determine the security level. Signed-off-by: Kate Hsuan <hpa@redhat.com>
42 lines
1.1 KiB
Meson
42 lines
1.1 KiB
Meson
panels_list += cappletname
|
|
desktop = 'gnome-@0@-panel.desktop'.format(cappletname)
|
|
|
|
i18n.merge_file(
|
|
type: 'desktop',
|
|
input: desktop + '.in',
|
|
output: desktop,
|
|
po_dir: po_dir,
|
|
install: true,
|
|
install_dir: control_center_desktopdir
|
|
)
|
|
|
|
sources = files('cc-firmware-security-utils.c',
|
|
'cc-firmware-security-panel.c',
|
|
'cc-firmware-security-dialog.c',
|
|
'cc-firmware-security-boot-dialog.c')
|
|
|
|
resource_data = files('cc-firmware-security-panel.ui',
|
|
'cc-firmware-security-dialog.ui',
|
|
'cc-firmware-security-boot-dialog.ui')
|
|
|
|
sources += gnome.compile_resources(
|
|
'cc-' + cappletname + '-resources',
|
|
cappletname + '.gresource.xml',
|
|
c_name: 'cc_' + cappletname.underscorify (),
|
|
dependencies: resource_data,
|
|
export: true
|
|
)
|
|
|
|
cflags += '-DGNOMELOCALEDIR="@0@"'.format(control_center_localedir)
|
|
|
|
deps = common_deps + [
|
|
dependency('libgtop-2.0'),
|
|
]
|
|
|
|
panels_libs += static_library(
|
|
cappletname,
|
|
sources: sources,
|
|
include_directories: [top_inc, common_inc],
|
|
dependencies: deps,
|
|
c_args: cflags
|
|
)
|