mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
use namespace
This commit is contained in:
parent
f77a987163
commit
444ce5d31a
2 changed files with 7 additions and 4 deletions
|
|
@ -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)
|
||||
);
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue