Browse Source

update menu item name

PHP-GTK3
yggverse 4 months ago
parent
commit
b5773a6832
  1. 8
      src/Entity/Browser/Menu/Help.php
  2. 4
      src/Entity/Browser/Menu/Help/Homepage.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\Gemlog $gemlog;
public Help\Homepage $homepage;
public Help\Issue $issue;
// Defaults
@ -49,13 +49,13 @@ class Help @@ -49,13 +49,13 @@ class Help
$this->about->gtk
);
// Init gemlog menu item
$this->gemlog = new Help\Gemlog(
// Init homepage menu item
$this->homepage = new Help\Homepage(
$this
);
$help->append(
$this->gemlog->gtk
$this->homepage->gtk
);
// Init issue menu item

4
src/Entity/Browser/Menu/Help/Gemlog.php → src/Entity/Browser/Menu/Help/Homepage.php

@ -9,7 +9,7 @@ use \GtkMenuItem; @@ -9,7 +9,7 @@ use \GtkMenuItem;
use \Yggverse\Yoda\Entity\Browser\Menu\Help;
class Gemlog
class Homepage
{
// GTK
public GtkMenuItem $gtk;
@ -18,7 +18,7 @@ class Gemlog @@ -18,7 +18,7 @@ class Gemlog
public Help $help;
// Defaults
public const LABEL = 'Gemlog';
public const LABEL = 'Home page';
public const URL = 'gemini://yggverse.cities.yesterweb.org';
public function __construct(
Loading…
Cancel
Save