Updating branch refs/heads/master
to a90dc507ff19b7ec605752e83799ad9fcb7ca830 (commit)
from 1a236a380098971bf3fedb68ac46ca7ae48d98a2 (commit)
commit a90dc507ff19b7ec605752e83799ad9fcb7ca830
Author: Alexander Butenko <[email protected]>
Date: Wed Feb 3 22:15:49 2010 +0100
Make the Delete key delete history entries again
panels/midori-history.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/panels/midori-history.c b/panels/midori-history.c
index 1c6f748..a50b7d8 100644
--- a/panels/midori-history.c
+++ b/panels/midori-history.c
@@ -768,13 +768,10 @@ midori_history_key_release_event_cb (GtkWidget*
widget,
if (katze_tree_view_get_selected_iter (GTK_TREE_VIEW (widget), &model,
&iter))
{
KatzeItem* item;
- KatzeArray* parent;
gtk_tree_model_get (model, &iter, 0, &item, -1);
-
- parent = katze_item_get_parent (item);
- katze_array_remove_item (parent, item);
-
+ midori_history_remove_item_from_db (history, item);
+ gtk_tree_store_remove (GTK_TREE_STORE (model), &iter);
g_object_unref (item);
}
_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits