From 104a2712f8be31977830471056ab223632d80e8e Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Wed, 18 Nov 2009 20:08:54 +0100 Subject: [PATCH] Open pages from the trash as foreground tabs This is the same behaviour as Undo close tab shows. --- midori/midori-browser.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/midori/midori-browser.c b/midori/midori-browser.c index 8e2b5dfd..68aa87cc 100644 --- a/midori/midori-browser.c +++ b/midori/midori-browser.c @@ -2718,7 +2718,8 @@ _action_trash_activate_item (GtkAction* action, KatzeItem* item, MidoriBrowser* browser) { - midori_browser_set_current_uri (browser, katze_item_get_uri (item)); + guint n = midori_browser_add_item (browser, item); + midori_browser_set_current_page (browser, n); katze_array_remove_item (browser->trash, item); _midori_browser_update_actions (browser); } -- 2.39.5