From 1dc6bdf7e3821a16917cd2774c02af74f1d06fcf Mon Sep 17 00:00:00 2001 From: yggverse Date: Tue, 13 Aug 2024 20:05:21 +0300 Subject: [PATCH] draft tab update action --- src/app/browser/header/menu.cpp | 5 +++++ src/main.cpp | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/src/app/browser/header/menu.cpp b/src/app/browser/header/menu.cpp index 5030f3d1..fe95161b 100644 --- a/src/app/browser/header/menu.cpp +++ b/src/app/browser/header/menu.cpp @@ -17,6 +17,11 @@ Menu::Menu() "win.tab_append" ); + tab->append( + _("Update"), + "tab.update" + ); + // Build tab close submenu model tab_close = Gio::Menu::create(); diff --git a/src/main.cpp b/src/main.cpp index 3ffbc1d0..8ccd1c92 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -32,6 +32,11 @@ int main( "t" ); + app->set_accel_for_action( + "tab.update", + "r" + ); + app->set_accel_for_action( "win.debug", "i"