From: Christian Dywan Date: Sun, 9 Sep 2012 19:13:08 +0000 (+0200) Subject: Remove cleared downloads from transfer panel X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f715e11ebfb7ae9e761999312f15577cd436a428;p=midori Remove cleared downloads from transfer panel --- 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); } }