~vcs-imports/gnome-control-center/+git/gnome-control-center:search-turn-search-locations-into-subpage

Last commit made on 2024-05-17
Get this branch:
git clone -b search-turn-search-locations-into-subpage https://git.launchpad.net/~vcs-imports/gnome-control-center/+git/gnome-control-center

Branch merges

Branch information

Name:
search-turn-search-locations-into-subpage
Repository:
lp:~vcs-imports/gnome-control-center/+git/gnome-control-center

Recent commits

cc4715b... by Felipe Borges <email address hidden>

search-locations: Move initialization to object _init

aef5710... by Felipe Borges <email address hidden>

search: Rename CcSearchLocationsDialog to CcSearchLocationsPage

ec40fbe... by Felipe Borges <email address hidden>

search: Port SearchLocationsDialog into a panel subpage

The goal here is to avoid the dialog and follow a pattern of subpages we
have in other panels.

This dialog is often launched from Nautilus over the
`gnome-control-center search locations` launching argument, making it
even worse as a dialog.

86a4d90... by Automeris naranja <email address hidden>

search-locations-dialog: Port to AdwDialog

ba74864... by Felipe Borges <email address hidden>

cc-panel: Require explicit "subpage" widget child type for subpages

Require the use of <child type="subpage"> for when an AdwNavigationPage
is expected to be added to CcPanel.navigation.

This way we can avoid programming errors when a child widget is wrongly
packed in the navigation view.

See also https://gitlab.gnome.org/GNOME/gnome-control-center/-/wikis/shell/CcPanel#child-packing

Co-authored-by: Matthijs Velsink <email address hidden>

baf3b3b... by Felipe Borges <email address hidden>

shell, cc-panel: Drop CcPanel.subpage property

CcPanel now handles subpage activation internally, so we no longer
need to make the subpage a public property.

24a07fb... by Felipe Borges <email address hidden>

system: Drop mistaken <child type="child"> xml node in UI file

a620b95... by Felipe Borges <email address hidden>

system: Use CcPanel.add_static_subpage

So that we can use CcPanel's mechanism to dynamically create pages on
demand.

3f273be... by Felipe Borges <email address hidden>

privacy: Use CcPanel.navigation rather than own navigation-view

725d249... by Felipe Borges <email address hidden>

shell, cc-panel: Add CcPanel.add_static_subpage () method

So that we have an API for adding subpages that are build-conditional.
For example, CcPrivacy.bolt_page and CcPrivacy.location_page.

Normal static subpages should be statically defined in the respective
CcPanel .ui file.