Remove cleared downloads from transfer panel
This commit is contained in:
parent
33efb94666
commit
f715e11ebf
1 changed files with 1 additions and 1 deletions
|
@ -311,7 +311,7 @@ midori_transfers_treeview_row_activated_cb (GtkTreeView* treeview,
|
||||||
gtk_tree_model_get (model, &iter, 1, &download, -1);
|
gtk_tree_model_get (model, &iter, 1, &download, -1);
|
||||||
|
|
||||||
if (midori_download_action_clear (download, GTK_WIDGET (treeview), NULL))
|
if (midori_download_action_clear (download, GTK_WIDGET (treeview), NULL))
|
||||||
; /* FIXME: Remove this item from the model */
|
gtk_list_store_remove (GTK_LIST_STORE (model), &iter);
|
||||||
g_object_unref (download);
|
g_object_unref (download);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue