27 lines
583 B
Vala
27 lines
583 B
Vala
namespace Dino.Plugins.OpenPgp {
|
|
|
|
public class AccountSettingsEntry : Plugins.AccountSettingsEntry {
|
|
|
|
private Plugin plugin;
|
|
|
|
public AccountSettingsEntry(Plugin plugin) {
|
|
this.plugin = plugin;
|
|
}
|
|
|
|
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;
|
|
}
|
|
}
|
|
|
|
} |