aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/fs/download.c
diff options
context:
space:
mode:
authorMoon <moon@140774ce-b5e7-0310-ab8b-a85725594a96>2008-06-09 11:37:13 +0000
committerMoon <moon@140774ce-b5e7-0310-ab8b-a85725594a96>2008-06-09 11:37:13 +0000
commitd85d3de6c965ce9041b06f926658f767a37bae82 (patch)
treeab32f7efae10ea9c06b002754cff7648f3cae0d2 /src/plugins/fs/download.c
parent419728885e356d6737c7d9deb27b04733bced228 (diff)
downloadgnunet-gtk-d85d3de6c965ce9041b06f926658f767a37bae82.tar.gz
gnunet-gtk-d85d3de6c965ce9041b06f926658f767a37bae82.zip
replace 'Status' column with an icon
merge 'Name' and 'Type' (à la Nautilus)
Diffstat (limited to 'src/plugins/fs/download.c')
-rw-r--r--src/plugins/fs/download.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/plugins/fs/download.c b/src/plugins/fs/download.c
index b60578bb..415c3e74 100644
--- a/src/plugins/fs/download.c
+++ b/src/plugins/fs/download.c
@@ -286,13 +286,13 @@ fs_download_started (struct GNUNET_FSUI_DownloadList *fsui_dl,
286 = gtk_tree_row_reference_new (model, path); 286 = gtk_tree_row_reference_new (model, path);
287 gtk_tree_path_free (path); 287 gtk_tree_path_free (path);
288 gtk_tree_store_set (sl_parent->tree, 288 gtk_tree_store_set (sl_parent->tree,
289 &iter, 289 &iter, SEARCH_STATUS,
290 SEARCH_CELL_BG_COLOR,
291 getColorCode
292 (GNUNET_URITRACK_DOWNLOAD_STARTED),
293 SEARCH_STATUS,
294 getStatusName 290 getStatusName
295 (GNUNET_URITRACK_DOWNLOAD_STARTED), -1); 291 (GNUNET_URITRACK_DOWNLOAD_STARTED),
292 SEARCH_STATUS_LOGO,
293 getStatusLogo
294 (GNUNET_URITRACK_DOWNLOAD_STARTED),
295 -1);
296 break; 296 break;
297 } 297 }
298 valid = gtk_tree_model_iter_next (model, &iter); 298 valid = gtk_tree_model_iter_next (model, &iter);
@@ -378,10 +378,10 @@ fs_download_completed (DownloadList * downloadContext)
378 gtk_tree_path_free (path); 378 gtk_tree_path_free (path);
379 gtk_tree_store_set (downloadContext->searchList->tree, 379 gtk_tree_store_set (downloadContext->searchList->tree,
380 &iter, 380 &iter,
381 SEARCH_CELL_BG_COLOR,
382 getColorCode (GNUNET_URITRACK_DOWNLOAD_COMPLETED),
383 SEARCH_STATUS, 381 SEARCH_STATUS,
384 getStatusName (GNUNET_URITRACK_DOWNLOAD_COMPLETED), 382 getStatusName (GNUNET_URITRACK_DOWNLOAD_COMPLETED),
383 SEARCH_STATUS_LOGO,
384 getStatusLogo (GNUNET_URITRACK_DOWNLOAD_COMPLETED),
385 -1); 385 -1);
386 } 386 }
387 downloadContext->has_terminated = GNUNET_YES; 387 downloadContext->has_terminated = GNUNET_YES;
@@ -409,10 +409,10 @@ fs_download_aborted (DownloadList * downloadContext)
409 gtk_tree_path_free (path); 409 gtk_tree_path_free (path);
410 gtk_tree_store_set (downloadContext->searchList->tree, 410 gtk_tree_store_set (downloadContext->searchList->tree,
411 &iter, 411 &iter,
412 SEARCH_CELL_BG_COLOR,
413 getColorCode (GNUNET_URITRACK_DOWNLOAD_ABORTED),
414 SEARCH_STATUS, 412 SEARCH_STATUS,
415 getStatusName (GNUNET_URITRACK_DOWNLOAD_ABORTED), 413 getStatusName (GNUNET_URITRACK_DOWNLOAD_ABORTED),
414 SEARCH_STATUS_LOGO,
415 getStatusLogo (GNUNET_URITRACK_DOWNLOAD_ABORTED),
416 -1); 416 -1);
417 } 417 }
418 downloadContext->has_terminated = GNUNET_YES; 418 downloadContext->has_terminated = GNUNET_YES;