aboutsummaryrefslogtreecommitdiff
path: root/plugins/openpgp/src/account_settings_entry.vala
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/openpgp/src/account_settings_entry.vala')
-rw-r--r--plugins/openpgp/src/account_settings_entry.vala7
1 files changed, 5 insertions, 2 deletions
diff --git a/plugins/openpgp/src/account_settings_entry.vala b/plugins/openpgp/src/account_settings_entry.vala
index c7d11d72..75220c30 100644
--- a/plugins/openpgp/src/account_settings_entry.vala
+++ b/plugins/openpgp/src/account_settings_entry.vala
@@ -16,8 +16,11 @@ public class AccountSettingsEntry : Plugins.AccountSettingsEntry {
return "OpenPGP";
}}
- public override Plugins.AccountSettingsWidget get_widget() {
- return new AccountSettingsWidget(plugin);
+ public override Plugins.AccountSettingsWidget? get_widget(WidgetType type) {
+ if (type == WidgetType.GTK) {
+ return new AccountSettingsWidget(plugin);
+ }
+ return null;
}
}