[network-manager-applet] libnma/libnm-gtk: use symbolic icons for password store menu (bgo #754726)



commit 22b70c67869b62b81b48a42676ee5f430a553f53
Author: Jiří Klimeš <jklimes redhat com>
Date:   Fri Sep 11 13:23:07 2015 +0200

    libnma/libnm-gtk: use symbolic icons for password store menu (bgo #754726)
    
    Gnome prefers using symbolic icons to have uniform look and feel.
    
    https://github.com/GNOME/gnome-icon-theme-symbolic
    
    https://bugzilla.gnome.org/show_bug.cgi?id=754726

 src/libnm-gtk/nm-ui-utils.c |    8 ++++----
 src/libnma/nma-ui-utils.c   |    8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/src/libnm-gtk/nm-ui-utils.c b/src/libnm-gtk/nm-ui-utils.c
index 21ad099..5a5ba23 100644
--- a/src/libnm-gtk/nm-ui-utils.c
+++ b/src/libnm-gtk/nm-ui-utils.c
@@ -609,10 +609,10 @@ typedef enum {
 } MenuItem;
 
 static const char *icon_name_table[ITEM_STORAGE_MAX + 1] = {
-       [ITEM_STORAGE_USER]    = "document-save",
-       [ITEM_STORAGE_SYSTEM]  = "document-save-as",
-       [ITEM_STORAGE_ASK]     = "dialog-question",
-       [ITEM_STORAGE_UNUSED]  = "edit-clear",
+       [ITEM_STORAGE_USER]    = "user-info-symbolic",
+       [ITEM_STORAGE_SYSTEM]  = "system-users-symbolic",
+       [ITEM_STORAGE_ASK]     = "dialog-question-symbolic",
+       [ITEM_STORAGE_UNUSED]  = "edit-clear-all-symbolic",
 };
 static const char *icon_desc_table[ITEM_STORAGE_MAX + 1] = {
        [ITEM_STORAGE_USER]    = N_("Store the password only for this user"),
diff --git a/src/libnma/nma-ui-utils.c b/src/libnma/nma-ui-utils.c
index 88749de..fd17c8b 100644
--- a/src/libnma/nma-ui-utils.c
+++ b/src/libnma/nma-ui-utils.c
@@ -44,10 +44,10 @@ typedef enum {
 } MenuItem;
 
 static const char *icon_name_table[ITEM_STORAGE_MAX + 1] = {
-       [ITEM_STORAGE_USER]    = "document-save",
-       [ITEM_STORAGE_SYSTEM]  = "document-save-as",
-       [ITEM_STORAGE_ASK]     = "dialog-question",
-       [ITEM_STORAGE_UNUSED]  = "edit-clear",
+       [ITEM_STORAGE_USER]    = "user-info-symbolic",
+       [ITEM_STORAGE_SYSTEM]  = "system-users-symbolic",
+       [ITEM_STORAGE_ASK]     = "dialog-question-symbolic",
+       [ITEM_STORAGE_UNUSED]  = "edit-clear-all-symbolic",
 };
 static const char *icon_desc_table[ITEM_STORAGE_MAX + 1] = {
        [ITEM_STORAGE_USER]    = N_("Store the password only for this user"),


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