diff --git a/src/Entity/Browser/Menu/Tab/Clean.php b/src/Entity/Browser/Menu/Tab/Clean.php index edaf93b0..8e90d3b7 100644 --- a/src/Entity/Browser/Menu/Tab/Clean.php +++ b/src/Entity/Browser/Menu/Tab/Clean.php @@ -6,6 +6,7 @@ namespace Yggverse\Yoda\Entity\Browser\Menu\Tab; use \GtkButtonsType; use \GtkDialogFlags; +use \GtkMenuItem; use \GtkMessageDialog; use \GtkMessageType; use \GtkResponseType; @@ -14,7 +15,7 @@ use \Yggverse\Yoda\Entity\Browser\Menu\Tab; class Clean { - public \GtkMenuItem $gtk; + public GtkMenuItem $gtk; // Dependencies public Tab $tab; @@ -32,7 +33,7 @@ class Clean $this->tab = $tab; // Init menu item - $this->gtk = \GtkMenuItem::new_with_label( + $this->gtk = GtkMenuItem::new_with_label( _($this::LABEL) ); diff --git a/src/Entity/Browser/Menu/Tab/Close.php b/src/Entity/Browser/Menu/Tab/Close.php index 7ed709cb..b71d4834 100644 --- a/src/Entity/Browser/Menu/Tab/Close.php +++ b/src/Entity/Browser/Menu/Tab/Close.php @@ -4,11 +4,13 @@ declare(strict_types=1); namespace Yggverse\Yoda\Entity\Browser\Menu\Tab; +use \GtkMenuItem; + use \Yggverse\Yoda\Entity\Browser\Menu\Tab; class Close { - public \GtkMenuItem $gtk; + public GtkMenuItem $gtk; // Dependencies public Tab $tab; @@ -24,7 +26,7 @@ class Close $this->tab = $tab; // Init menu item - $this->gtk = \GtkMenuItem::new_with_label( + $this->gtk = GtkMenuItem::new_with_label( _($this::LABEL) );