mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
draft refresh methods
This commit is contained in:
parent
b97ffe5791
commit
45dc3b160a
5 changed files with 22 additions and 2 deletions
|
|
@ -28,14 +28,14 @@ void History::refresh()
|
|||
{
|
||||
Memory match;
|
||||
|
||||
historyBack->set_sensitive( // @TODO operate with action status
|
||||
historyBack->refresh(
|
||||
try_back(
|
||||
match,
|
||||
false
|
||||
)
|
||||
);
|
||||
|
||||
historyForward->set_sensitive( // @TODO operate with action status
|
||||
historyForward->refresh(
|
||||
try_forward(
|
||||
match,
|
||||
false
|
||||
|
|
|
|||
|
|
@ -16,3 +16,9 @@ Back::Back()
|
|||
_("Back")
|
||||
);
|
||||
}
|
||||
|
||||
void Back::refresh(
|
||||
const bool & ENABLED
|
||||
) {
|
||||
// @TODO update action status
|
||||
}
|
||||
|
|
@ -11,6 +11,10 @@ namespace app::browser::main::tab::page::navigation::history
|
|||
public:
|
||||
|
||||
Back();
|
||||
|
||||
void refresh(
|
||||
const bool & ENABLED
|
||||
);
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -15,4 +15,10 @@ Forward::Forward()
|
|||
set_tooltip_text(
|
||||
_("Forward")
|
||||
);
|
||||
}
|
||||
|
||||
void Forward::refresh(
|
||||
const bool & ENABLED
|
||||
) {
|
||||
// @TODO update action status
|
||||
}
|
||||
|
|
@ -11,6 +11,10 @@ namespace app::browser::main::tab::page::navigation::history
|
|||
public:
|
||||
|
||||
Forward();
|
||||
|
||||
void refresh(
|
||||
const bool & ENABLED
|
||||
);
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue