Open pages from the trash as foreground tabs
This is the same behaviour as Undo close tab shows.
This commit is contained in:
parent
83f07d7de9
commit
104a2712f8
1 changed files with 2 additions and 1 deletions
|
@ -2718,7 +2718,8 @@ _action_trash_activate_item (GtkAction* action,
|
||||||
KatzeItem* item,
|
KatzeItem* item,
|
||||||
MidoriBrowser* browser)
|
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);
|
katze_array_remove_item (browser->trash, item);
|
||||||
_midori_browser_update_actions (browser);
|
_midori_browser_update_actions (browser);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue