mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-30 13:04:13 +00:00
draft history push method
This commit is contained in:
parent
8d74798edd
commit
8118613a1f
@ -87,6 +87,11 @@ void Page::refresh()
|
||||
|
||||
void Page::update()
|
||||
{
|
||||
// Update navigation history
|
||||
pageNavbar->history_push(
|
||||
pageNavbar->get_request_text()
|
||||
);
|
||||
|
||||
// Update page extras
|
||||
set(
|
||||
pageNavbar->get_request_host(),
|
||||
|
@ -96,6 +96,14 @@ Navbar::~Navbar()
|
||||
};
|
||||
|
||||
// Actions
|
||||
void Navbar::history_push(
|
||||
const Glib::ustring & VALUE
|
||||
) {
|
||||
navbarHistory->push(
|
||||
VALUE
|
||||
);
|
||||
}
|
||||
|
||||
void Navbar::refresh()
|
||||
{
|
||||
// Toggle base button sensibility
|
||||
|
@ -38,6 +38,10 @@ namespace app::browser::main::tab::page
|
||||
~Navbar();
|
||||
|
||||
// Actions
|
||||
void history_push(
|
||||
const Glib::ustring & VALUE
|
||||
);
|
||||
|
||||
void refresh();
|
||||
|
||||
// Setters
|
||||
|
@ -29,6 +29,13 @@ History::~History()
|
||||
delete forward;
|
||||
};
|
||||
|
||||
// Actions
|
||||
void History::push(
|
||||
const Glib::ustring & VALUE
|
||||
) {
|
||||
// @TODO
|
||||
}
|
||||
|
||||
void History::refresh()
|
||||
{
|
||||
back->set_sensitive(
|
||||
|
@ -30,6 +30,10 @@ namespace app::browser::main::tab::page::navbar
|
||||
|
||||
~History();
|
||||
|
||||
void push(
|
||||
const Glib::ustring & VALUE
|
||||
);
|
||||
|
||||
void refresh();
|
||||
};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user