aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-fs-gtk_download-save-as.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/gnunet-fs-gtk_download-save-as.c')
-rw-r--r--src/fs/gnunet-fs-gtk_download-save-as.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fs/gnunet-fs-gtk_download-save-as.c b/src/fs/gnunet-fs-gtk_download-save-as.c
index 8ec2dcaf..5db0d296 100644
--- a/src/fs/gnunet-fs-gtk_download-save-as.c
+++ b/src/fs/gnunet-fs-gtk_download-save-as.c
@@ -231,20 +231,20 @@ GNUNET_FS_GTK_download_context_start_download (struct DownloadContext *dc)
231 de->uri = dc->uri; 231 de->uri = dc->uri;
232 dc->uri = NULL; 232 dc->uri = NULL;
233 de->meta = dc->meta; 233 de->meta = dc->meta;
234 de->tab = dc->tab;
234 dc->meta = NULL; 235 dc->meta = NULL;
235 if (NULL != dc->rr) 236 if (NULL != dc->rr)
236 { 237 {
237 de->rr = gtk_tree_row_reference_copy (dc->rr); 238 de->rr = gtk_tree_row_reference_copy (dc->rr);
238 de->ts = GTK_TREE_STORE (gtk_tree_row_reference_get_model (dc->rr));
239 path = gtk_tree_row_reference_get_path (de->rr); 239 path = gtk_tree_row_reference_get_path (de->rr);
240 if ( (NULL != path) && 240 if ( (NULL != path) &&
241 (gtk_tree_model_get_iter (GTK_TREE_MODEL (de->ts), &iter, path)) ) 241 (gtk_tree_model_get_iter (GTK_TREE_MODEL (de->tab->ts), &iter, path)) )
242 { 242 {
243 /* Store filename and anonymity as specified by the user. 243 /* Store filename and anonymity as specified by the user.
244 * These will be re-used when this is a directory, and the user 244 * These will be re-used when this is a directory, and the user
245 * downloads its children. 245 * downloads its children.
246 */ 246 */
247 gtk_tree_store_set (de->ts, &iter, 15, dc->filename, 16, dc->anonymity, -1); 247 gtk_tree_store_set (de->tab->ts, &iter, 15, dc->filename, 16, dc->anonymity, -1);
248 } 248 }
249 else 249 else
250 { 250 {