Row subtitles in Settings are typically a description of the main label or setting. You can see this in Mouse & Touchpad, Privacy, Sharing, and Wi-Fi. For the System panel we did something a bit different and used the subtitle to show the status of each panel. Given the standard use of subtitles elsewhere, this feels a bit surprising which, as a result, makes the panel harder to read. I think that a standard description would probably also be more useful than the current labels. Mockups https://gitlab.gnome.org/Teams/Design/settings-mockups/-/blob/master/system/system-panel.png?ref_type=heads This also removes the thin CcSystemPage abstract class because it was only introduced to add the support for dynamic System row subtitle. Now this abstraction is no longer necessary. Fixes #2776
31 lines
1,021 B
C
31 lines
1,021 B
C
/*
|
|
* cc-datetime-page.h
|
|
*
|
|
* Copyright 2023 Gotam Gorabh <gautamy672@gmail.com>
|
|
*
|
|
* This file is free software; you can redistribute it and/or modify it
|
|
* under the terms of the GNU Lesser General Public License as published by
|
|
* the Free Software Foundation; either version 3 of the License, or (at
|
|
* your option) any later version.
|
|
*
|
|
* This file is distributed in the hope that it will be useful, but WITHOUT
|
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
|
|
* License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public License
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
*
|
|
* SPDX-License-Identifier: LGPL-3.0-or-later
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <adwaita.h>
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
#define CC_TYPE_DATE_TIME_PAGE (cc_date_time_page_get_type ())
|
|
G_DECLARE_FINAL_TYPE (CcDateTimePage, cc_date_time_page, CC, DATE_TIME_PAGE, AdwNavigationPage)
|
|
|
|
G_END_DECLS
|