Browse Source

use namespace

PHP-GTK3
yggverse 4 months ago
parent
commit
444ce5d31a
  1. 5
      src/Entity/Browser/Menu/Tab/Clean.php
  2. 6
      src/Entity/Browser/Menu/Tab/Close.php

5
src/Entity/Browser/Menu/Tab/Clean.php

@ -6,6 +6,7 @@ namespace Yggverse\Yoda\Entity\Browser\Menu\Tab; @@ -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; @@ -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 @@ -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)
);

6
src/Entity/Browser/Menu/Tab/Close.php

@ -4,11 +4,13 @@ declare(strict_types=1); @@ -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 @@ -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…
Cancel
Save