mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 17:15:28 +00:00
rename methods, use namespace
This commit is contained in:
parent
9cc75a8fcf
commit
b8b59e6f56
9 changed files with 20 additions and 20 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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(),
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ class Add
|
|||
'activate',
|
||||
function()
|
||||
{
|
||||
$this->tab->menu->browser->container->tab->appendPage(
|
||||
$this->tab->menu->browser->container->tab->append(
|
||||
null,
|
||||
false
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue