mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
update page refresh action
This commit is contained in:
parent
4716f3b3dc
commit
33ae9796d8
7 changed files with 20 additions and 23 deletions
|
|
@ -4,10 +4,12 @@ using namespace app::browser::main::tab::page::navigation;
|
|||
|
||||
// Construct
|
||||
Request::Request(
|
||||
const Glib::RefPtr<Gio::SimpleAction> & ACTION__REFRESH,
|
||||
const Glib::RefPtr<Gio::SimpleAction> & ACTION__UPDATE
|
||||
) {
|
||||
// Init actions
|
||||
action__update = ACTION__UPDATE;
|
||||
action__refresh = ACTION__REFRESH;
|
||||
action__update = ACTION__UPDATE;
|
||||
|
||||
// Init widget
|
||||
set_placeholder_text(
|
||||
|
|
@ -28,9 +30,7 @@ Request::Request(
|
|||
{
|
||||
parse();
|
||||
|
||||
activate_action(
|
||||
"navigation.refresh" // @TODO
|
||||
);
|
||||
action__refresh->activate();
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue