aboutsummaryrefslogtreecommitdiff
path: root/plugins/openpgp/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/openpgp/src')
-rw-r--r--plugins/openpgp/src/contact_details_provider.vala4
-rw-r--r--plugins/openpgp/src/encryption_preferences_entry.vala8
2 files changed, 1 insertions, 11 deletions
diff --git a/plugins/openpgp/src/contact_details_provider.vala b/plugins/openpgp/src/contact_details_provider.vala
index 3b727121..353c0b85 100644
--- a/plugins/openpgp/src/contact_details_provider.vala
+++ b/plugins/openpgp/src/contact_details_provider.vala
@@ -39,9 +39,7 @@ public class ContactDetailsProvider : Plugins.ContactDetailsProvider, Object {
var view = new Adw.ActionRow() {
title = _("Fingerprint"),
subtitle = str,
-#if Adw_1_3
- subtitle_selectable = true,
-#endif
+ subtitle_selectable = true
};
preferences_group.add(view);
diff --git a/plugins/openpgp/src/encryption_preferences_entry.vala b/plugins/openpgp/src/encryption_preferences_entry.vala
index 26b982b8..28b253fc 100644
--- a/plugins/openpgp/src/encryption_preferences_entry.vala
+++ b/plugins/openpgp/src/encryption_preferences_entry.vala
@@ -38,17 +38,9 @@ namespace Dino.Plugins.OpenPgp {
}
StringList string_list = new StringList(null);
-#if Adw_1_4
var drop_down = new Adw.ComboRow() { title = _("Announce key") };
drop_down.model = string_list;
preferences_group.add(drop_down);
-#else
- var view = new Adw.ActionRow() { title = "Announce key" };
- var drop_down = new DropDown(string_list, null) { valign = Align.CENTER };
- view.activatable_widget = drop_down;
- view.add_suffix(drop_down);
- preferences_group.add(view);
-#endif
string_list.append(_("Disabled"));
for (int i = 0; i < keys.size; i++) {