anotherim-desktop/plugins/openpgp/src/account_settings_entry.vala

27 lines
583 B
Vala
Raw Normal View History

2017-03-12 01:49:53 +00:00
namespace Dino.Plugins.OpenPgp {
public class AccountSettingsEntry : Plugins.AccountSettingsEntry {
private Plugin plugin;
public AccountSettingsEntry(Plugin plugin) {
this.plugin = plugin;
}
2017-03-12 01:49:53 +00:00
public override string id { get {
return "pgp_key_picker";
}}
public override string name { get {
return "OpenPGP";
}}
public override Plugins.AccountSettingsWidget? get_widget(WidgetType type) {
if (type == WidgetType.GTK) {
return new AccountSettingsWidget(plugin);
}
return null;
2017-03-12 01:49:53 +00:00
}
}
}