Open pages from the trash as foreground tabs

This is the same behaviour as Undo close tab shows.
This commit is contained in:
Christian Dywan 2009-11-18 20:08:54 +01:00
parent 83f07d7de9
commit 104a2712f8

View file

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