mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 09:35: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
|
// Init previous session @TODO
|
||||||
$this->append(
|
$this->appendPage(
|
||||||
'gemini://yggverse.cities.yesterweb.org'
|
'gemini://yggverse.cities.yesterweb.org'
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->append(
|
$this->appendPage(
|
||||||
'gemini://tlgs.one'
|
'gemini://tlgs.one'
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->append(
|
$this->appendPage(
|
||||||
'nex://nightfall.city'
|
'nex://nightfall.city'
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
@ -90,7 +90,7 @@ class Tab
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function append(
|
public function appendPage(
|
||||||
?string $request = null,
|
?string $request = null,
|
||||||
bool $focus = true
|
bool $focus = true
|
||||||
): void
|
): void
|
||||||
|
|
|
||||||
|
|
@ -77,7 +77,7 @@ class Table
|
||||||
// Focus on browser
|
// Focus on browser
|
||||||
// $this->content->container->history->browser->gtk->present();
|
// $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()
|
$this->getSelectedUrl()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ class Open extends \Yggverse\Yoda\Abstract\Entity\Browser\History\Container\Navb
|
||||||
\GtkButton $entity
|
\GtkButton $entity
|
||||||
): void
|
): void
|
||||||
{
|
{
|
||||||
$this->navbar->container->history->browser->container->tab->append(
|
$this->navbar->container->history->browser->container->tab->appendPage(
|
||||||
$this->navbar->container->content->table->getSelectedUrl()
|
$this->navbar->container->content->table->getSelectedUrl()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -84,7 +84,7 @@ class Open
|
||||||
{
|
{
|
||||||
foreach ($dialog->get_filenames() as $filename)
|
foreach ($dialog->get_filenames() as $filename)
|
||||||
{
|
{
|
||||||
$this->file->menu->browser->container->tab->append(
|
$this->file->menu->browser->container->tab->appendPage(
|
||||||
sprintf(
|
sprintf(
|
||||||
'file://%s',
|
'file://%s',
|
||||||
$filename
|
$filename
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,7 @@ class Add
|
||||||
'activate',
|
'activate',
|
||||||
function()
|
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