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.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/plugins/fs/status.c b/src/plugins/fs/status.c
index f8cf9370..a191794e 100644
--- a/src/plugins/fs/status.c
+++ b/src/plugins/fs/status.c
@@ -80,22 +80,25 @@ getStatusLogo (enum GNUNET_URITRACK_STATE state)
80{ 80{
81 if (state & (GNUNET_URITRACK_DIRECTORY_ADDED)) 81 if (state & (GNUNET_URITRACK_DIRECTORY_ADDED))
82 return gtk_icon_theme_load_icon (gtk_icon_theme_get_default (), 82 return gtk_icon_theme_load_icon (gtk_icon_theme_get_default (),
83 GTK_STOCK_ADD, 16, 0, (GError **)NULL); 83 GTK_STOCK_ADD, 16, 0, (GError **) NULL);
84 if (state & (GNUNET_URITRACK_INSERTED || GNUNET_URITRACK_INDEXED)) 84 if (state & (GNUNET_URITRACK_INSERTED || GNUNET_URITRACK_INDEXED))
85 return gtk_icon_theme_load_icon (gtk_icon_theme_get_default (), 85 return gtk_icon_theme_load_icon (gtk_icon_theme_get_default (),
86 GTK_STOCK_ADD, 16, 0, (GError **)NULL); 86 GTK_STOCK_ADD, 16, 0, (GError **) NULL);
87 if ((state & GNUNET_URITRACK_DOWNLOAD_STARTED) && 87 if ((state & GNUNET_URITRACK_DOWNLOAD_STARTED) &&
88 (0 == (state & 88 (0 == (state &
89 (GNUNET_URITRACK_DOWNLOAD_COMPLETED | 89 (GNUNET_URITRACK_DOWNLOAD_COMPLETED |
90 GNUNET_URITRACK_DOWNLOAD_ABORTED)))) 90 GNUNET_URITRACK_DOWNLOAD_ABORTED))))
91 return gtk_icon_theme_load_icon (gtk_icon_theme_get_default (), 91 return gtk_icon_theme_load_icon (gtk_icon_theme_get_default (),
92 GTK_STOCK_GO_DOWN, 16, 0, (GError **)NULL); 92 GTK_STOCK_GO_DOWN, 16, 0,
93 (GError **) NULL);
93 if (state & GNUNET_URITRACK_DOWNLOAD_COMPLETED) 94 if (state & GNUNET_URITRACK_DOWNLOAD_COMPLETED)
94 return gtk_icon_theme_load_icon (gtk_icon_theme_get_default (), 95 return gtk_icon_theme_load_icon (gtk_icon_theme_get_default (),
95 GTK_STOCK_APPLY, 16, 0, (GError **)NULL); 96 GTK_STOCK_APPLY, 16, 0,
97 (GError **) NULL);
96 if (state & GNUNET_URITRACK_DOWNLOAD_ABORTED) 98 if (state & GNUNET_URITRACK_DOWNLOAD_ABORTED)
97 return gtk_icon_theme_load_icon (gtk_icon_theme_get_default (), 99 return gtk_icon_theme_load_icon (gtk_icon_theme_get_default (),
98 GTK_STOCK_CANCEL, 16, 0, (GError **)NULL); 100 GTK_STOCK_CANCEL, 16, 0,
101 (GError **) NULL);
99 return NULL; 102 return NULL;
100} 103}
101 104