[gnome-online-accounts/wip/rishi/kerberos: 5/7] kerberos: Specify an icon
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-online-accounts/wip/rishi/kerberos: 5/7] kerberos: Specify an icon
- Date: Sun, 14 Aug 2016 22:22:41 +0000 (UTC)
commit 250ac278faf0c10607294784adddb37dfd7b4216
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 b65eb00..7de0f15 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;
@@ -1759,6 +1765,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]