[gnome-contacts/nielsdg/core-should-stay-core: 7/11] Remove AddressbookDialog




commit be028d98b29795c3e6846ba12374274ea2ff4751
Author: Niels De Graef <nielsdegraef gmail com>
Date:   Wed Sep 7 11:00:41 2022 +0200

    Remove AddressbookDialog
    
    This is no longer used now that we have ported this to be part of the
    preferences window

 po/POTFILES.in                       |  1 -
 po/POTFILES.skip                     |  1 -
 src/contacts-addressbook-dialog.vala | 80 ------------------------------------
 src/contacts-app.vala                |  6 ---
 src/meson.build                      |  1 -
 5 files changed, 89 deletions(-)
---
diff --git a/po/POTFILES.in b/po/POTFILES.in
index ab97aef8..ead6b229 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -13,7 +13,6 @@ data/ui/contacts-main-window.ui
 data/ui/contacts-preferences-window.ui
 data/ui/contacts-setup-window.ui
 src/contacts-accounts-list.vala
-src/contacts-addressbook-dialog.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 0e580c01..6a80b68d 100644
--- a/po/POTFILES.skip
+++ b/po/POTFILES.skip
@@ -3,7 +3,6 @@
 data/org.gnome.Contacts.appdata.xml
 data/org.gnome.Contacts.desktop
 src/contacts-accounts-list.c
-src/contacts-addressbook-dialog.c
 src/contacts-app.c
 src/contacts-avatar.c
 src/contacts-avatar-selector.c
diff --git a/src/contacts-app.vala b/src/contacts-app.vala
index 25613a28..6f157339 100644
--- a/src/contacts-app.vala
+++ b/src/contacts-app.vala
@@ -115,12 +115,6 @@ public class Contacts.App : Adw.Application {
     }
   }
 
-  public void change_address_book () {
-    var dialog = new AddressbookDialog (this.contacts_store, this.window);
-    dialog.response.connect ((_) => dialog.close ());
-    dialog.show ();
-  }
-
   public void show_preferences () {
     var prefs_window = new PreferencesWindow (this.contacts_store, this.window);
     prefs_window.show ();
diff --git a/src/meson.build b/src/meson.build
index b29028e1..346aae74 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -97,7 +97,6 @@ libcontacts_dep = declare_dependency(
 
 # The gnome-contacts binary
 contacts_vala_sources = files(
-  'contacts-addressbook-dialog.vala',
   'contacts-accounts-list.vala',
   'contacts-app.vala',
   'contacts-avatar.vala',


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]