Browse Source

remove deprecated constructions

CPP-GTK4
yggverse 3 months ago
parent
commit
ed6e639082
  1. 4
      src/app/browser/main/tab/page/navigation/history.cpp
  2. 4
      src/app/browser/main/tab/page/navigation/history/back.cpp
  3. 4
      src/app/browser/main/tab/page/navigation/history/forward.cpp

4
src/app/browser/main/tab/page/navigation/history.cpp

@ -28,14 +28,14 @@ void History::refresh()
{ {
Memory match; Memory match;
historyBack->set_sensitive( historyBack->set_sensitive( // @TODO operate with action status
try_back( try_back(
match, match,
false false
) )
); );
historyForward->set_sensitive( historyForward->set_sensitive( // @TODO operate with action status
try_forward( try_forward(
match, match,
false false

4
src/app/browser/main/tab/page/navigation/history/back.cpp

@ -15,8 +15,4 @@ Back::Back()
set_tooltip_text( set_tooltip_text(
_("Back") _("Back")
); );
set_sensitive(
false // @TODO no effect by set_action_name
);
} }

4
src/app/browser/main/tab/page/navigation/history/forward.cpp

@ -15,8 +15,4 @@ Forward::Forward()
set_tooltip_text( set_tooltip_text(
_("Forward") _("Forward")
); );
set_sensitive(
false // @TODO no effect by set_action_name
);
} }
Loading…
Cancel
Save