mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 01:25:27 +00:00
implement close tab action on menu activate
This commit is contained in:
parent
18e0df585a
commit
955cb68e4b
1 changed files with 5 additions and 1 deletions
|
|
@ -30,7 +30,11 @@ class Close
|
||||||
'activate',
|
'activate',
|
||||||
function()
|
function()
|
||||||
{
|
{
|
||||||
// @TODO
|
$this->tab->menu->browser->container->tab->gtk->remove_page(
|
||||||
|
$this->tab->menu->browser->container->tab->gtk->get_current_page()
|
||||||
|
);
|
||||||
|
|
||||||
|
// @TODO unset page entity
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue