summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorMarco Trevisan (TreviƱo) <mail@3v1n0.net>2022-01-25 02:30:09 +0100
committerRobert Ancell <robert.ancell@gmail.com>2022-07-28 22:47:14 +0000
commitb327301951436b5d1582eb19572e7079768426e1 (patch)
treef4b53510a885cf7b97d6bd32ce1ea499bad7d15c /shell
parent4e06f21e14830bb2c8d92e594e1533a4c4379549 (diff)
downloadgnome-control-center-b327301951436b5d1582eb19572e7079768426e1.tar.gz
Panels: Rename lock panel into screen panel
This was designed some time ago [1] but never actually implemented, so: - Change the screen lock section to "screen" - Move the screen section up, so it's next to the other types of hardware - Added a Screen lock section in there [1] https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/909#note_737827
Diffstat (limited to 'shell')
-rw-r--r--shell/cc-panel-loader.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/cc-panel-loader.c b/shell/cc-panel-loader.c
index 5fff89ba6..17f96017f 100644
--- a/shell/cc-panel-loader.c
+++ b/shell/cc-panel-loader.c
@@ -73,7 +73,7 @@ extern GType cc_firmware_security_panel_get_type (void);
extern GType cc_camera_panel_get_type (void);
extern GType cc_microphone_panel_get_type (void);
extern GType cc_usage_panel_get_type (void);
-extern GType cc_lock_panel_get_type (void);
+extern GType cc_screen_panel_get_type (void);
extern GType cc_diagnostics_panel_get_type (void);
/* Static init functions */
@@ -114,7 +114,6 @@ static CcPanelLoaderVtable default_panels[] =
PANEL_TYPE("keyboard", cc_keyboard_panel_get_type, NULL),
PANEL_TYPE("location", cc_location_panel_get_type, NULL),
PANEL_TYPE("firmware-security",cc_firmware_security_panel_get_type, cc_firmware_security_panel_static_init_func),
- PANEL_TYPE("lock", cc_lock_panel_get_type, NULL),
PANEL_TYPE("microphone", cc_microphone_panel_get_type, NULL),
PANEL_TYPE("mouse", cc_mouse_panel_get_type, NULL),
PANEL_TYPE("multitasking", cc_multitasking_panel_get_type, NULL),
@@ -128,6 +127,7 @@ static CcPanelLoaderVtable default_panels[] =
PANEL_TYPE("printers", cc_printers_panel_get_type, NULL),
PANEL_TYPE("region", cc_region_panel_get_type, NULL),
PANEL_TYPE("removable-media", cc_removable_media_panel_get_type, NULL),
+ PANEL_TYPE("screen", cc_screen_panel_get_type, NULL),
PANEL_TYPE("search", cc_search_panel_get_type, NULL),
PANEL_TYPE("sharing", cc_sharing_panel_get_type, NULL),
PANEL_TYPE("sound", cc_sound_panel_get_type, NULL),