aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/fs/status.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/fs/status.c')
-rw-r--r--src/plugins/fs/status.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/plugins/fs/status.c b/src/plugins/fs/status.c
index a191794e..45a0e540 100644
--- a/src/plugins/fs/status.c
+++ b/src/plugins/fs/status.c
@@ -49,6 +49,8 @@ getColorCode (enum GNUNET_URITRACK_STATE state)
49 if (state & 49 if (state &
50 (GNUNET_URITRACK_SEARCH_RESULT | GNUNET_URITRACK_DIRECTORY_FOUND)) 50 (GNUNET_URITRACK_SEARCH_RESULT | GNUNET_URITRACK_DIRECTORY_FOUND))
51 return "gray"; 51 return "gray";
52 if (0 == state)
53 return "aquamarine";
52 return NULL; 54 return NULL;
53} 55}
54 56
@@ -72,6 +74,8 @@ getStatusName (enum GNUNET_URITRACK_STATE state)
72 if (state & 74 if (state &
73 (GNUNET_URITRACK_SEARCH_RESULT | GNUNET_URITRACK_DIRECTORY_FOUND)) 75 (GNUNET_URITRACK_SEARCH_RESULT | GNUNET_URITRACK_DIRECTORY_FOUND))
74 return ""; 76 return "";
77 if (0 == state)
78 return _("new");
75 return ""; 79 return "";
76} 80}
77 81
@@ -99,6 +103,10 @@ getStatusLogo (enum GNUNET_URITRACK_STATE state)
99 return gtk_icon_theme_load_icon (gtk_icon_theme_get_default (), 103 return gtk_icon_theme_load_icon (gtk_icon_theme_get_default (),
100 GTK_STOCK_CANCEL, 16, 0, 104 GTK_STOCK_CANCEL, 16, 0,
101 (GError **) NULL); 105 (GError **) NULL);
106 if (0 == state)
107 return gtk_icon_theme_load_icon (gtk_icon_theme_get_default (),
108 GTK_STOCK_NEW, 16, 0,
109 (GError **) NULL);
102 return NULL; 110 return NULL;
103} 111}
104 112