mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
draft action dependencies
This commit is contained in:
parent
45dc3b160a
commit
c940e5f7df
18 changed files with 137 additions and 54 deletions
|
|
@ -4,19 +4,25 @@
|
|||
|
||||
using namespace app::browser::main::tab::page::navigation;
|
||||
|
||||
History::History()
|
||||
{
|
||||
History::History(
|
||||
const Glib::RefPtr<Gio::SimpleAction> & ACTION__HISTORY_BACK,
|
||||
const Glib::RefPtr<Gio::SimpleAction> & ACTION__HISTORY_FORWARD
|
||||
) {
|
||||
add_css_class(
|
||||
"linked" // merge children elements
|
||||
);
|
||||
|
||||
historyBack = Gtk::make_managed<history::Back>();
|
||||
historyBack = Gtk::make_managed<history::Back>(
|
||||
ACTION__HISTORY_BACK
|
||||
);
|
||||
|
||||
append(
|
||||
* historyBack
|
||||
);
|
||||
|
||||
historyForward = Gtk::make_managed<history::Forward>();
|
||||
historyForward = Gtk::make_managed<history::Forward>(
|
||||
ACTION__HISTORY_FORWARD
|
||||
);
|
||||
|
||||
append(
|
||||
* historyForward
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue