mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
enshort construction
This commit is contained in:
parent
0c1339acc3
commit
1303cbbd15
1 changed files with 6 additions and 6 deletions
|
|
@ -40,10 +40,10 @@ class Page
|
|||
$this->config = \Yggverse\Yoda\Model\File::getConfig()->app->tab->page;
|
||||
|
||||
// Init DNS memory
|
||||
$this->dns = new \Yggverse\Yoda\Model\Memory();
|
||||
$this->dns = new \Yggverse\Yoda\Model\Memory;
|
||||
|
||||
// Init history
|
||||
$this->history = new \Yggverse\Yoda\Model\History();
|
||||
$this->history = new \Yggverse\Yoda\Model\History;
|
||||
|
||||
// Compose header
|
||||
$this->header = new \GtkBox(
|
||||
|
|
@ -165,7 +165,7 @@ class Page
|
|||
}
|
||||
|
||||
// Address field
|
||||
$this->address = new \GtkEntry();
|
||||
$this->address = new \GtkEntry;
|
||||
|
||||
$this->address->set_placeholder_text(
|
||||
$this->config->header->address->placeholder
|
||||
|
|
@ -215,7 +215,7 @@ class Page
|
|||
}
|
||||
|
||||
// Compose body
|
||||
$this->content = new \GtkLabel();
|
||||
$this->content = new \GtkLabel;
|
||||
|
||||
$this->content->set_use_markup(
|
||||
true
|
||||
|
|
@ -238,7 +238,7 @@ class Page
|
|||
);
|
||||
|
||||
// Init scrolled container
|
||||
$this->container = new \GtkScrolledWindow();
|
||||
$this->container = new \GtkScrolledWindow;
|
||||
|
||||
$this->container->add(
|
||||
$this->content
|
||||
|
|
@ -284,7 +284,7 @@ class Page
|
|||
$this->config->footer->margin
|
||||
);
|
||||
|
||||
$this->status = new \GtkLabel();
|
||||
$this->status = new \GtkLabel;
|
||||
|
||||
$this->footer->add(
|
||||
$this->status
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue