summaryrefslogtreecommitdiff
path: root/po
diff options
context:
space:
mode:
authorNiels De Graef <nielsdegraef@gmail.com>2022-06-04 22:38:49 +0200
committerNiels De Graef <nielsdegraef@gmail.com>2022-06-04 23:00:48 +0200
commit12e5d5cdd159d3f250de8f9301ebd367fc90b6f4 (patch)
treee09051392558ff9cb2ddd4703b7742f576b31d7b /po
parent8a00a2eb00577e33b626365074b2b89bf33e1db9 (diff)
downloadgnome-contacts-12e5d5cdd159d3f250de8f9301ebd367fc90b6f4.tar.gz
Use a ListModel for address books (PersonaStore-s)
Remove the util function `get_eds_address_books()` and the several copy pastes that deal with `Folks.Backend`s coming up and dynamically changing the list of address book. Instead, `Contacts.Store` now exposes a `GLib.ListModel` that something like the `Contacts.AccountsList` widget can use to generate a `Gtk.ListBox`. While we're at it, remove `AddressBookList`, as it's not used anywhere. Fixes a problem in `Contacts.AccountsList` where it showed an address book as selected, but it didn't seem to register it properly. Fixes: https://gitlab.gnome.org/GNOME/gnome-contacts/-/issues/238
Diffstat (limited to 'po')
-rw-r--r--po/POTFILES.in1
-rw-r--r--po/POTFILES.skip1
2 files changed, 0 insertions, 2 deletions
diff --git a/po/POTFILES.in b/po/POTFILES.in
index da71055..36e9a36 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -14,7 +14,6 @@ data/ui/contacts-main-window.ui
data/ui/contacts-setup-window.ui
src/contacts-accounts-list.vala
src/contacts-addressbook-dialog.vala
-src/contacts-addressbook-list.vala
src/contacts-app.vala
src/contacts-avatar-selector.vala
src/contacts-avatar.vala
diff --git a/po/POTFILES.skip b/po/POTFILES.skip
index 6347f41..f5fcf7a 100644
--- a/po/POTFILES.skip
+++ b/po/POTFILES.skip
@@ -4,7 +4,6 @@ data/org.gnome.Contacts.appdata.xml
data/org.gnome.Contacts.desktop
src/contacts-accounts-list.c
src/contacts-addressbook-dialog.c
-src/contacts-addressbook-list.c
src/contacts-app.c
src/contacts-avatar-selector.c
src/contacts-avatar.c