Browse Source

remove deprecated constructions

CPP-GTK4
yggverse 4 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() @@ -28,14 +28,14 @@ void History::refresh()
{
Memory match;
historyBack->set_sensitive(
historyBack->set_sensitive( // @TODO operate with action status
try_back(
match,
false
)
);
historyForward->set_sensitive(
historyForward->set_sensitive( // @TODO operate with action status
try_forward(
match,
false

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

@ -15,8 +15,4 @@ Back::Back() @@ -15,8 +15,4 @@ Back::Back()
set_tooltip_text(
_("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() @@ -15,8 +15,4 @@ Forward::Forward()
set_tooltip_text(
_("Forward")
);
set_sensitive(
false // @TODO no effect by set_action_name
);
}
Loading…
Cancel
Save