diff options
author | Nathan S. Evans <evans@in.tum.de> | 2009-12-21 20:54:20 +0000 |
---|---|---|
committer | Nathan S. Evans <evans@in.tum.de> | 2009-12-21 20:54:20 +0000 |
commit | 2f281a3325bc0834646850be0d59f5c3c718b9a5 (patch) | |
tree | 63a838bd55ddd76d4deccbd81e4d6de19e0751ad | |
parent | b9ae85bda964034b62ac62ec4a3115889c46e67d (diff) | |
download | gnunet-gtk-2f281a3325bc0834646850be0d59f5c3c718b9a5.tar.gz gnunet-gtk-2f281a3325bc0834646850be0d59f5c3c718b9a5.zip |
allow loc uri's for download
-rw-r--r-- | src/plugins/fs/download.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/fs/download.c b/src/plugins/fs/download.c index ea9b28ff..b2e1969b 100644 --- a/src/plugins/fs/download.c +++ b/src/plugins/fs/download.c | |||
@@ -453,7 +453,7 @@ fs_download_stopped (DownloadList * list) | |||
453 | DOWNLOAD_META_DATA, &meta, | 453 | DOWNLOAD_META_DATA, &meta, |
454 | -1); | 454 | -1); |
455 | if (meta != NULL) | 455 | if (meta != NULL) |
456 | GNUNET_meta_data_destroy(meta); | 456 | GNUNET_meta_data_destroy(meta); |
457 | gtk_tree_store_remove (download_summary, &iter); | 457 | gtk_tree_store_remove (download_summary, &iter); |
458 | } | 458 | } |
459 | GNUNET_free (list->filename); | 459 | GNUNET_free (list->filename); |
@@ -483,7 +483,7 @@ fs_download_stopped (DownloadList * list) | |||
483 | { | 483 | { |
484 | do | 484 | do |
485 | { | 485 | { |
486 | gtk_tree_store_set (list->searchList->tree, | 486 | gtk_tree_store_set (list->searchList->tree, |
487 | &citer, SEARCH_INTERNAL_PARENT, NULL, -1); | 487 | &citer, SEARCH_INTERNAL_PARENT, NULL, -1); |
488 | } | 488 | } |
489 | while (gtk_tree_model_iter_next (model, &citer)); | 489 | while (gtk_tree_model_iter_next (model, &citer)); |
@@ -545,7 +545,7 @@ check_pending (const char *filename, GtkTreeIter * parent) | |||
545 | if (name != NULL) | 545 | if (name != NULL) |
546 | free (name); | 546 | free (name); |
547 | if (GNUNET_SYSERR == check_pending (filename, &iter)) | 547 | if (GNUNET_SYSERR == check_pending (filename, &iter)) |
548 | return GNUNET_SYSERR; | 548 | return GNUNET_SYSERR; |
549 | } | 549 | } |
550 | while (gtk_tree_model_iter_next (model, &iter)); | 550 | while (gtk_tree_model_iter_next (model, &iter)); |
551 | } | 551 | } |
@@ -839,13 +839,13 @@ on_statusDownloadURIEntry_editing_done_fs (GtkWidget * entry, | |||
839 | GNUNET_ECRS_uri_destroy (sdc.idc_uri); | 839 | GNUNET_ECRS_uri_destroy (sdc.idc_uri); |
840 | return; | 840 | return; |
841 | } | 841 | } |
842 | else if (GNUNET_ECRS_uri_test_loc (sdc.idc_uri)) | 842 | /* else if (GNUNET_ECRS_uri_test_loc (sdc.idc_uri)) |
843 | { | 843 | { |
844 | GNUNET_GTK_add_log_entry (_("Location URIs are not yet supported")); | 844 | GNUNET_GTK_add_log_entry (_("Location URIs are not yet supported")); |
845 | GNUNET_free (urid); | 845 | GNUNET_free (urid); |
846 | GNUNET_ECRS_uri_destroy (sdc.idc_uri); | 846 | GNUNET_ECRS_uri_destroy (sdc.idc_uri); |
847 | return; | 847 | return; |
848 | } | 848 | } */ |
849 | GNUNET_GC_get_configuration_value_filename (cfg, | 849 | GNUNET_GC_get_configuration_value_filename (cfg, |
850 | "FS", | 850 | "FS", |
851 | "INCOMINGDIR", | 851 | "INCOMINGDIR", |
@@ -975,7 +975,7 @@ fsuiShowMetaDataCallback (GtkTreeModel * model, | |||
975 | GNUNET_GE_ASSERT (ectx, | 975 | GNUNET_GE_ASSERT (ectx, |
976 | model == GTK_TREE_MODEL (download_summary)); | 976 | model == GTK_TREE_MODEL (download_summary)); |
977 | gtk_tree_model_get (model, | 977 | gtk_tree_model_get (model, |
978 | iter, | 978 | iter, |
979 | DOWNLOAD_META_DATA, &meta, | 979 | DOWNLOAD_META_DATA, &meta, |
980 | DOWNLOAD_SHORTNAME, &name, | 980 | DOWNLOAD_SHORTNAME, &name, |
981 | -1); | 981 | -1); |