rename methods, use namespace

This commit is contained in:
yggverse 2024-07-19 20:25:37 +03:00
parent 9cc75a8fcf
commit b8b59e6f56
9 changed files with 20 additions and 20 deletions

View file

@ -84,7 +84,7 @@ class Open
{
foreach ($dialog->get_filenames() as $filename)
{
$this->file->menu->browser->container->tab->appendPage(
$this->file->menu->browser->container->tab->append(
sprintf(
'file://%s',
$filename

View file

@ -58,7 +58,7 @@ class Save
if (\GtkResponseType::APPLY == $dialog->run())
{
if ($page = $this->file->menu->browser->container->tab->getPage())
if ($page = $this->file->menu->browser->container->tab->get())
{
file_put_contents(
$dialog->get_filename(),

View file

@ -33,7 +33,7 @@ class Add
'activate',
function()
{
$this->tab->menu->browser->container->tab->appendPage(
$this->tab->menu->browser->container->tab->append(
null,
false
);