[gnome-keyring] gcr: Use the home directory for the NSS icon



commit 60de0d8afc6bac2a749cd13cd4ec21b0b54a957c
Author: Stef Walter <stefw collabora co uk>
Date:   Wed Oct 5 11:00:58 2011 +0200

    gcr: Use the home directory for the NSS icon

 gcr/gcr-icons.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/gcr/gcr-icons.c b/gcr/gcr-icons.c
index 40f3798..e375d00 100644
--- a/gcr/gcr-icons.c
+++ b/gcr/gcr-icons.c
@@ -43,6 +43,11 @@ gcr_icon_for_token (GckTokenInfo *token_info)
 
 	if (g_strcmp0 (token_info->manufacturer_id, "Gnome Keyring") == 0)
 		icon = g_themed_icon_new (GCR_ICON_HOME_DIRECTORY);
+
+	else if (g_strcmp0 (token_info->manufacturer_id, "Mozilla Foundation") == 0 &&
+	         g_strcmp0 (token_info->model, "NSS 3") == 0)
+		icon = g_themed_icon_new (GCR_ICON_HOME_DIRECTORY);
+
 	else
 		icon = g_themed_icon_new (GCR_ICON_SMART_CARD);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]