Browse Source

enshort menu item namespace

PHP-GTK3
yggverse 4 months ago
parent
commit
6fa4b3c053
  1. 8
      src/Entity/Browser/Menu/Help.php
  2. 2
      src/Entity/Browser/Menu/Help/Home.php

8
src/Entity/Browser/Menu/Help.php

@ -20,7 +20,7 @@ class Help @@ -20,7 +20,7 @@ class Help
// Requirements
public Help\About $about;
public Help\Debug $debug;
public Help\Homepage $homepage;
public Help\Home $home;
public Help\Issue $issue;
// Defaults
@ -49,13 +49,13 @@ class Help @@ -49,13 +49,13 @@ class Help
$this->about->gtk
);
// Init homepage menu item
$this->homepage = new Help\Homepage(
// Init home menu item
$this->home = new Help\Home(
$this
);
$help->append(
$this->homepage->gtk
$this->home->gtk
);
// Init issue menu item

2
src/Entity/Browser/Menu/Help/Homepage.php → src/Entity/Browser/Menu/Help/Home.php

@ -9,7 +9,7 @@ use \GtkMenuItem; @@ -9,7 +9,7 @@ use \GtkMenuItem;
use \Yggverse\Yoda\Entity\Browser\Menu\Help;
class Homepage
class Home
{
// GTK
public GtkMenuItem $gtk;
Loading…
Cancel
Save