mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
move statusbar feature to gtk header subtitle
This commit is contained in:
parent
a516aa958f
commit
cf3fde37fa
7 changed files with 104 additions and 143 deletions
|
|
@ -41,10 +41,13 @@ class Tab
|
|||
\GtkWidget $child,
|
||||
int $position
|
||||
) {
|
||||
$label = $entity->get_tab_label(
|
||||
$child
|
||||
);
|
||||
|
||||
$this->container->browser->header->setTitle(
|
||||
$entity->get_tab_label(
|
||||
$child
|
||||
)->get_text()
|
||||
$label->get_text(),
|
||||
$label->get_subtitle() // @TODO extension not supported by GTK-PHP
|
||||
);
|
||||
|
||||
// Keep current selection
|
||||
|
|
@ -92,7 +95,8 @@ class Tab
|
|||
|
||||
// Update application title
|
||||
$this->container->browser->header->setTitle(
|
||||
$page->title->gtk->get_text()
|
||||
$page->title->getValue(),
|
||||
$page->title->getSubtitle()
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue