[gnome-online-accounts] kerberos: Specify an icon
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-online-accounts] kerberos: Specify an icon
- Date: Wed, 16 Nov 2016 17:41:30 +0000 (UTC)
commit ae509ca6f969aeb91df7467a2e3f95378ac1c14d
Author: Debarshi Ray <debarshir gnome org>
Date: Tue Jul 26 18:11:19 2016 +0200
kerberos: Specify an icon
https://bugzilla.gnome.org/show_bug.cgi?id=769267
src/goabackend/goakerberosprovider.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/src/goabackend/goakerberosprovider.c b/src/goabackend/goakerberosprovider.c
index 9324f71..1def28a 100644
--- a/src/goabackend/goakerberosprovider.c
+++ b/src/goabackend/goakerberosprovider.c
@@ -113,6 +113,12 @@ get_provider_features (GoaProvider *_provider)
return GOA_PROVIDER_FEATURE_TICKETING;
}
+static GIcon *
+get_provider_icon (GoaProvider *provider, GoaObject *object)
+{
+ return g_themed_icon_new_with_default_fallbacks ("dialog-password-symbolic");
+}
+
typedef struct
{
GtkDialog *dialog;
@@ -1752,6 +1758,7 @@ goa_kerberos_provider_class_init (GoaKerberosProviderClass *kerberos_class)
provider_class->get_provider_name = get_provider_name;
provider_class->get_provider_group = get_provider_group;
provider_class->get_provider_features = get_provider_features;
+ provider_class->get_provider_icon = get_provider_icon;
provider_class->build_object = build_object;
provider_class->add_account = add_account;
provider_class->refresh_account = refresh_account;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]