mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 17:15:28 +00:00
use local gtk show initiation instead of show_all method
This commit is contained in:
parent
5fda126ea9
commit
12a1473d8c
28 changed files with 79 additions and 10 deletions
|
|
@ -25,6 +25,9 @@ class History
|
|||
$this->_label
|
||||
);
|
||||
|
||||
// Render
|
||||
$this->gtk->show();
|
||||
|
||||
// Int events
|
||||
$this->gtk->connect(
|
||||
'activate',
|
||||
|
|
@ -33,8 +36,6 @@ class History
|
|||
$history = new \Yggverse\Yoda\Entity\Browser\History(
|
||||
$this->menu->browser
|
||||
);
|
||||
|
||||
$history->gtk->show_all();
|
||||
}
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -25,6 +25,9 @@ class Quit
|
|||
$this->_label
|
||||
);
|
||||
|
||||
// Render
|
||||
$this->gtk->show();
|
||||
|
||||
// Int events
|
||||
$this->gtk->connect(
|
||||
'activate',
|
||||
|
|
|
|||
|
|
@ -56,5 +56,8 @@ class Tab
|
|||
$this->gtk->set_submenu(
|
||||
$tab
|
||||
);
|
||||
|
||||
// Render
|
||||
$this->gtk->show();
|
||||
}
|
||||
}
|
||||
|
|
@ -25,6 +25,9 @@ class Add
|
|||
$this->_label
|
||||
);
|
||||
|
||||
// Render
|
||||
$this->gtk->show();
|
||||
|
||||
// Init events
|
||||
$this->gtk->connect(
|
||||
'activate',
|
||||
|
|
|
|||
|
|
@ -25,6 +25,9 @@ class Close
|
|||
$this->_label
|
||||
);
|
||||
|
||||
// Render
|
||||
$this->gtk->show();
|
||||
|
||||
// Int events
|
||||
$this->gtk->connect(
|
||||
'activate',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue