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