Browse Source

deactivate history buttons by default

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

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

@ -15,6 +15,10 @@ Back::Back()
set_tooltip_text( set_tooltip_text(
_("Back") _("Back")
); );
set_sensitive(
false // @TODO no effect by set_action_name
);
} }
Back::~Back() = default; Back::~Back() = default;

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

@ -15,6 +15,10 @@ Forward::Forward()
set_tooltip_text( set_tooltip_text(
_("Forward") _("Forward")
); );
set_sensitive(
false // @TODO no effect by set_action_name
);
} }
Forward::~Forward() = default; Forward::~Forward() = default;

Loading…
Cancel
Save