remove search button as implemented by key up event

This commit is contained in:
yggverse 2024-07-24 15:19:57 +03:00
parent b8ca2cdce4
commit f6fcacc79b
2 changed files with 0 additions and 31 deletions

View file

@ -84,15 +84,6 @@ class Navbar
0 0
); );
// Init search button
$this->search = new Navbar\Search(
$this
);
$this->gtk->add(
$this->search->gtk
);
// Render // Render
$this->gtk->show(); $this->gtk->show();
} }

View file

@ -1,22 +0,0 @@
<?php
declare(strict_types=1);
namespace Yggverse\Yoda\Entity\Browser\History\Container\Navbar;
class Search extends \Yggverse\Yoda\Abstract\Entity\Browser\History\Container\Navbar\Button
{
public const SENSITIVE = true;
public const IMAGE = 'edit-find-symbolic';
public const LABEL = 'Search';
public const TOOLTIP = 'Search';
protected function _onCLick(
\GtkButton $entity
): void
{
$this->navbar->container->content->search(
$this->navbar->filter->getValue()
);
}
}