mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
separate entities, use viewport container for history listing
This commit is contained in:
parent
f38aab0906
commit
d4bf1f6c56
6 changed files with 257 additions and 160 deletions
|
|
@ -12,7 +12,7 @@ class Delete extends \Yggverse\Yoda\Abstract\Entity\Browser\History\Container\Na
|
|||
\GtkButton $entity
|
||||
): void
|
||||
{
|
||||
if ($id = $this->navbar->container->content->getSelectedId())
|
||||
if ($id = $this->navbar->container->content->table->getSelectedId())
|
||||
{
|
||||
$this->navbar->container->history->browser->database->deleteHistory(
|
||||
$id
|
||||
|
|
@ -26,7 +26,7 @@ class Delete extends \Yggverse\Yoda\Abstract\Entity\Browser\History\Container\Na
|
|||
{
|
||||
$this->gtk->set_sensitive(
|
||||
boolval(
|
||||
$this->navbar->container->content->getSelectedId()
|
||||
$this->navbar->container->content->table->getSelectedId()
|
||||
)
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ class Open extends \Yggverse\Yoda\Abstract\Entity\Browser\History\Container\Navb
|
|||
): void
|
||||
{
|
||||
$this->navbar->container->history->browser->container->tab->append(
|
||||
$this->navbar->container->content->getSelectedUrl()
|
||||
$this->navbar->container->content->table->getSelectedUrl()
|
||||
);
|
||||
}
|
||||
|
||||
|
|
@ -21,7 +21,7 @@ class Open extends \Yggverse\Yoda\Abstract\Entity\Browser\History\Container\Navb
|
|||
{
|
||||
$this->gtk->set_sensitive(
|
||||
boolval(
|
||||
$this->navbar->container->content->getSelectedId()
|
||||
$this->navbar->container->content->table->getSelectedId()
|
||||
)
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue