mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
rename append to appendPage
This commit is contained in:
parent
dd21e45144
commit
11b13ba011
5 changed files with 8 additions and 8 deletions
|
|
@ -34,15 +34,15 @@ class Tab
|
|||
);
|
||||
|
||||
// Init previous session @TODO
|
||||
$this->append(
|
||||
$this->appendPage(
|
||||
'gemini://yggverse.cities.yesterweb.org'
|
||||
);
|
||||
|
||||
$this->append(
|
||||
$this->appendPage(
|
||||
'gemini://tlgs.one'
|
||||
);
|
||||
|
||||
$this->append(
|
||||
$this->appendPage(
|
||||
'nex://nightfall.city'
|
||||
);
|
||||
|
||||
|
|
@ -90,7 +90,7 @@ class Tab
|
|||
);
|
||||
}
|
||||
|
||||
public function append(
|
||||
public function appendPage(
|
||||
?string $request = null,
|
||||
bool $focus = true
|
||||
): void
|
||||
|
|
|
|||
|
|
@ -77,7 +77,7 @@ class Table
|
|||
// Focus on browser
|
||||
// $this->content->container->history->browser->gtk->present();
|
||||
|
||||
$this->content->container->history->browser->container->tab->append(
|
||||
$this->content->container->history->browser->container->tab->appendPage(
|
||||
$this->getSelectedUrl()
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ class Open extends \Yggverse\Yoda\Abstract\Entity\Browser\History\Container\Navb
|
|||
\GtkButton $entity
|
||||
): void
|
||||
{
|
||||
$this->navbar->container->history->browser->container->tab->append(
|
||||
$this->navbar->container->history->browser->container->tab->appendPage(
|
||||
$this->navbar->container->content->table->getSelectedUrl()
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -84,7 +84,7 @@ class Open
|
|||
{
|
||||
foreach ($dialog->get_filenames() as $filename)
|
||||
{
|
||||
$this->file->menu->browser->container->tab->append(
|
||||
$this->file->menu->browser->container->tab->appendPage(
|
||||
sprintf(
|
||||
'file://%s',
|
||||
$filename
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ class Add
|
|||
'activate',
|
||||
function()
|
||||
{
|
||||
$this->tab->menu->browser->container->tab->append();
|
||||
$this->tab->menu->browser->container->tab->appendPage();
|
||||
}
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue