]> spindle.queued.net Git - midori/commitdiff
Remove cleared downloads from transfer panel
authorChristian Dywan <christian@twotoasts.de>
Sun, 9 Sep 2012 19:13:08 +0000 (21:13 +0200)
committerChristian Dywan <christian@twotoasts.de>
Sun, 9 Sep 2012 20:34:33 +0000 (22:34 +0200)
panels/midori-transfers.c

index 8eb5f05de0d9333479fa0bc7a3df56a267a3d9a6..c7dc45a7b48b24a90be54c41f2d9e435857aea63 100644 (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);
     }
 }