mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
draft local action group for page links navigation
This commit is contained in:
parent
44ceb06db5
commit
39ed3edbb9
4 changed files with 31 additions and 22 deletions
|
|
@ -26,27 +26,6 @@ Browser::Browser(
|
|||
}
|
||||
);
|
||||
|
||||
add_action_with_parameter(
|
||||
"open",
|
||||
Glib::VARIANT_TYPE_STRING,
|
||||
[this](const Glib::VariantBase & PARAMETER)
|
||||
{
|
||||
if (PARAMETER.is_of_type(Glib::VARIANT_TYPE_STRING))
|
||||
{
|
||||
browserMain->update(
|
||||
Glib::VariantBase::cast_dynamic<Glib::Variant<Glib::ustring>>(
|
||||
PARAMETER
|
||||
).get()
|
||||
);
|
||||
|
||||
browserHeader->update(
|
||||
browserMain->get_tab_page_title(),
|
||||
browserMain->get_tab_page_description()
|
||||
);
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
const auto ACTION__SESSION_CLEAN = add_action(
|
||||
"session_clean",
|
||||
[this]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue