gnome-control-center/panels/meson.build
Felipe Borges d52ec68f8d system: Add "Users" panel
This moves the UserAccounts panel to a page in the System panel.

This simplifies a lot of the existing code in the UserAccounts panel.

I did minimal changes to the sub dialogs so that those can be touched
in following changes, making it easier to review this one alone.

The main panel widget is now CcUsersPage, and is an AdwNavigationView
widget that has a default "current_user_page" page. Each page is a
CcUserPage (careful with the one-character difference between these
two classes).

Each CcUserPage has an associated ActUser object.
2024-01-08 13:59:26 +01:00

44 lines
631 B
Meson

subdir('common')
panels = [
'applications',
'background',
'color',
'display',
'keyboard',
'mouse',
'multitasking',
'notifications',
'online-accounts',
'power',
'printers',
'privacy',
'search',
'sharing',
'sound',
'system',
'universal-access',
'wwan',
]
if host_is_linux
panels += ['network']
endif
if host_is_linux_not_s390
panels += [
'bluetooth',
'wacom'
]
endif
panels_list = []
panels_libs = []
foreach cappletname: panels
cflags = [
'-DG_LOG_DOMAIN="cc-@0@-panel"'.format(cappletname),
'-DPANEL_ID="@0@"'.format(cappletname)
]
subdir(cappletname)
endforeach