[geary] Remove ActionAdaptor and related code, made redundant by 17f7ec2.
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary] Remove ActionAdaptor and related code, made redundant by 17f7ec2.
- Date: Sun, 25 Sep 2016 08:14:54 +0000 (UTC)
commit 69d7e242ecc59328c88c94404076ae0d4c022b51
Author: Michael James Gratton <mike vee net>
Date: Sun Sep 25 18:11:39 2016 +1000
Remove ActionAdaptor and related code, made redundant by 17f7ec2.
po/POTFILES.in | 1 -
src/CMakeLists.txt | 1 -
src/client/application/geary-action-adapter.vala | 67 ----------------------
src/client/application/geary-application.vala | 5 +-
src/client/application/geary-controller.vala | 1 -
5 files changed, 1 insertions(+), 74 deletions(-)
---
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 9773a47..3019b91 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -15,7 +15,6 @@ src/client/accounts/account-spinner-page.vala
src/client/accounts/add-edit-page.vala
src/client/accounts/login-dialog.vala
src/client/application/autostart-manager.vala
-src/client/application/geary-action-adapter.vala
src/client/application/geary-application.vala
src/client/application/geary-args.vala
src/client/application/geary-config.vala
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index c05bbd3..fadefbb 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -310,7 +310,6 @@ engine/util/util-trillian.vala
set(CLIENT_SRC
client/application/autostart-manager.vala
-client/application/geary-action-adapter.vala
client/application/geary-application.vala
client/application/geary-args.vala
client/application/geary-config.vala
diff --git a/src/client/application/geary-application.vala b/src/client/application/geary-application.vala
index 451bea1..6267958 100644
--- a/src/client/application/geary-application.vala
+++ b/src/client/application/geary-application.vala
@@ -81,10 +81,7 @@ public class GearyApplication : Gtk.Application {
public Gtk.ActionGroup actions {
get; private set; default = new Gtk.ActionGroup("GearyActionGroup");
}
- public Gee.Collection<Geary.ActionAdapter> action_adapters {
- get; private set; default = new Gee.ArrayList<Geary.ActionAdapter>();
- }
-
+
public Gtk.UIManager ui_manager {
get; private set; default = new Gtk.UIManager();
}
diff --git a/src/client/application/geary-controller.vala b/src/client/application/geary-controller.vala
index 5fb3f3b..0ce60ce 100644
--- a/src/client/application/geary-controller.vala
+++ b/src/client/application/geary-controller.vala
@@ -561,7 +561,6 @@ public class GearyController : Geary.BaseObject {
if (e.name in important_actions)
action.is_important = true;
- GearyApplication.instance.action_adapters.add(new Geary.ActionAdapter(action));
}
Gtk.ToggleActionEntry[] toggle_action_entries = create_toggle_actions();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]