Browse Source

draft tab update action

CPP-GTK4
yggverse 5 months ago
parent
commit
1dc6bdf7e3
  1. 5
      src/app/browser/header/menu.cpp
  2. 5
      src/main.cpp

5
src/app/browser/header/menu.cpp

@ -17,6 +17,11 @@ Menu::Menu() @@ -17,6 +17,11 @@ Menu::Menu()
"win.tab_append"
);
tab->append(
_("Update"),
"tab.update"
);
// Build tab close submenu model
tab_close = Gio::Menu::create();

5
src/main.cpp

@ -32,6 +32,11 @@ int main( @@ -32,6 +32,11 @@ int main(
"<Primary>t"
);
app->set_accel_for_action(
"tab.update",
"<Primary>r"
);
app->set_accel_for_action(
"win.debug",
"<Primary>i"

Loading…
Cancel
Save