Remove cleared downloads from transfer panel

This commit is contained in:
Christian Dywan 2012-09-09 21:13:08 +02:00
parent 33efb94666
commit f715e11ebf

View file

@ -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);
}
}