update menu item name

This commit is contained in:
yggverse 2024-07-31 02:57:22 +03:00
parent 40158cafdc
commit b5773a6832
2 changed files with 6 additions and 6 deletions

View file

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

View file

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