diff options
| author | fiaxh <git@lightrise.org> | 2025-10-05 13:35:41 +0200 |
|---|---|---|
| committer | fiaxh <git@lightrise.org> | 2025-10-05 17:59:08 +0200 |
| commit | e14c7d933bfa0bdd97781857b9341854232058a2 (patch) | |
| tree | e302c07398dad3196a87a99843d9383ef116cb25 /plugins/openpgp/src/encryption_preferences_entry.vala | |
| parent | 6d8ccb414529c017ef1b8a52499b7bbdb6432adb (diff) | |
Adjust to Adw 1.4: Use specialized ActionRows
Diffstat (limited to 'plugins/openpgp/src/encryption_preferences_entry.vala')
| -rw-r--r-- | plugins/openpgp/src/encryption_preferences_entry.vala | 8 |
1 files changed, 0 insertions, 8 deletions
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++) { |
