mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-30 13:04:13 +00:00
change namespace
This commit is contained in:
parent
259a33423e
commit
aa3565cd4f
@ -10,23 +10,23 @@ History::History()
|
||||
"linked" // merge children elements
|
||||
);
|
||||
|
||||
back = new history::Back();
|
||||
historyBack = new history::Back();
|
||||
|
||||
append(
|
||||
* back
|
||||
* historyBack
|
||||
);
|
||||
|
||||
forward = new history::Forward();
|
||||
historyForward = new history::Forward();
|
||||
|
||||
append(
|
||||
* forward
|
||||
* historyForward
|
||||
);
|
||||
}
|
||||
|
||||
History::~History()
|
||||
{
|
||||
delete back;
|
||||
delete forward;
|
||||
delete historyBack;
|
||||
delete historyForward;
|
||||
};
|
||||
|
||||
// Actions
|
||||
@ -38,11 +38,11 @@ void History::push(
|
||||
|
||||
void History::refresh()
|
||||
{
|
||||
back->set_sensitive(
|
||||
historyBack->set_sensitive(
|
||||
false // @TODO
|
||||
);
|
||||
|
||||
forward->set_sensitive(
|
||||
historyForward->set_sensitive(
|
||||
false // @TODO
|
||||
);
|
||||
}
|
@ -21,8 +21,8 @@ namespace app::browser::main::tab::page::navbar
|
||||
std::vector<Glib::ustring>::iterator index;
|
||||
|
||||
// Components
|
||||
history::Back * back;
|
||||
history::Forward * forward;
|
||||
history::Back * historyBack;
|
||||
history::Forward * historyForward;
|
||||
|
||||
public:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user