mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
implement update action dependencies
This commit is contained in:
parent
1a548977a2
commit
d869b4b3e7
11 changed files with 56 additions and 23 deletions
|
|
@ -10,7 +10,8 @@ using namespace app::browser::main::tab::page;
|
|||
Navigation::Navigation(
|
||||
const Glib::ustring & REQUEST,
|
||||
const Glib::RefPtr<Gio::SimpleAction> & ACTION__NAVIGATION_HISTORY_BACK,
|
||||
const Glib::RefPtr<Gio::SimpleAction> & ACTION__NAVIGATION_HISTORY_FORWARD
|
||||
const Glib::RefPtr<Gio::SimpleAction> & ACTION__NAVIGATION_HISTORY_FORWARD,
|
||||
const Glib::RefPtr<Gio::SimpleAction> & ACTION__NAVIGATION_UPDATE
|
||||
) {
|
||||
// Init container
|
||||
set_orientation(
|
||||
|
|
@ -53,7 +54,9 @@ Navigation::Navigation(
|
|||
* navigationHistory
|
||||
);
|
||||
|
||||
navigationUpdate = Gtk::make_managed<navigation::Update>();
|
||||
navigationUpdate = Gtk::make_managed<navigation::Update>(
|
||||
ACTION__NAVIGATION_UPDATE
|
||||
);
|
||||
|
||||
append(
|
||||
* navigationUpdate
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue