diff options
author | Niels De Graef <nielsdegraef@gmail.com> | 2022-01-14 11:09:10 +0100 |
---|---|---|
committer | Niels De Graef <nielsdegraef@gmail.com> | 2022-04-16 19:59:35 +0200 |
commit | 8bec4ebacb090f56d76ee2b5d669a5b563e2e3c6 (patch) | |
tree | 7046395d00c7a8a3a44555ffdad47dd5358d1731 /po/POTFILES.in | |
parent | 0195ceb72bb8a5d0fdd1f33a8b9a0bf33a9e9263 (diff) | |
download | gnome-contacts-8bec4ebacb090f56d76ee2b5d669a5b563e2e3c6.tar.gz |
Use selection and filter models to list contacts
GTK4 added some interesting concepts on top of / in conjunction with
list models, for example to map one list model on another by sorting
and/or filtering. Another example is to use this with selections.
This commit applies that concept to Contacts, which now uses the
`Contacts.Store` to build a base list model on top of the
`Folks.IndividualAggregator`, on top a sorted model (which can be
adjusted to sort on First/Last name, and finally a filter model, to
filter on the text in the search entry.
Another reason to do this, is that it allows us to use a `Gtk.ListView`
in the future. It's not possible to do so already due to the fact that
we need to differentiate between "Favorites" and "Other Contacts", which
needs extra API on Gtk.Listview side.
Diffstat (limited to 'po/POTFILES.in')
-rw-r--r-- | po/POTFILES.in | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/po/POTFILES.in b/po/POTFILES.in index b012851..da71055 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -10,7 +10,6 @@ data/ui/contacts-crop-dialog.ui data/ui/contacts-editor-menu.ui data/ui/contacts-link-suggestion-grid.ui data/ui/contacts-linked-personas-dialog.ui -data/ui/contacts-list-pane.ui data/ui/contacts-main-window.ui data/ui/contacts-setup-window.ui src/contacts-accounts-list.vala @@ -32,7 +31,6 @@ src/contacts-im-service.vala src/contacts-link-operation.vala src/contacts-link-suggestion-grid.vala src/contacts-linked-personas-dialog.vala -src/contacts-list-pane.vala src/contacts-main-window.vala src/contacts-operation.vala src/contacts-settings.vala |