2017-03-12 01:49:53 +00:00
|
|
|
namespace Dino.Plugins.OpenPgp {
|
|
|
|
|
|
|
|
public class AccountSettingsEntry : Plugins.AccountSettingsEntry {
|
|
|
|
|
2017-03-12 13:44:09 +00:00
|
|
|
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";
|
|
|
|
}}
|
|
|
|
|
2017-05-04 20:05:48 +00:00
|
|
|
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
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|