mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-03-12 05:31:06 +00:00
draft refresh methods
This commit is contained in:
parent
b97ffe5791
commit
45dc3b160a
@ -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…
x
Reference in New Issue
Block a user