From f715e11ebfb7ae9e761999312f15577cd436a428 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Sun, 9 Sep 2012 21:13:08 +0200 Subject: [PATCH] Remove cleared downloads from transfer panel --- panels/midori-transfers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panels/midori-transfers.c b/panels/midori-transfers.c index 8eb5f05d..c7dc45a7 100644 --- a/panels/midori-transfers.c +++ b/panels/midori-transfers.c @@ -311,7 +311,7 @@ midori_transfers_treeview_row_activated_cb (GtkTreeView* treeview, gtk_tree_model_get (model, &iter, 1, &download, -1); 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); } } -- 2.39.5