[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r1882 - gnunet-gtk/src/plugins/fs
From: |
grothoff |
Subject: |
[GNUnet-SVN] r1882 - gnunet-gtk/src/plugins/fs |
Date: |
Tue, 23 Aug 2005 22:21:54 -0700 (PDT) |
Author: grothoff
Date: 2005-08-23 22:21:53 -0700 (Tue, 23 Aug 2005)
New Revision: 1882
Modified:
gnunet-gtk/src/plugins/fs/namespace.c
Log:
fix
Modified: gnunet-gtk/src/plugins/fs/namespace.c
===================================================================
--- gnunet-gtk/src/plugins/fs/namespace.c 2005-08-24 05:17:30 UTC (rev
1881)
+++ gnunet-gtk/src/plugins/fs/namespace.c 2005-08-24 05:21:53 UTC (rev
1882)
@@ -198,7 +198,10 @@
-1);
if (filename == NULL)
filename = STRDUP(_("no name given"));
- size = ECRS_fileSize(fi->uri);
+ if (ECRS_isFileUri(fi->uri))
+ size = ECRS_fileSize(fi->uri);
+ else
+ size = 0;
uriString = ECRS_uriToString(fi->uri);
gtk_list_store_append(GTK_LIST_STORE(model),
&iter);
@@ -804,6 +807,8 @@
metaXML = NULL;
}
+
+
void on_namespaceUpdateButton_clicked(GtkWidget * dummy1,
GtkWidget * dummy2) {
GtkWidget * dialog;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r1882 - gnunet-gtk/src/plugins/fs,
grothoff <=