From 1f44715ed7527fac1a0599d8e1ceae69c5118f56 Mon Sep 17 00:00:00 2001 From: yggverse Date: Mon, 14 Oct 2024 05:11:28 +0300 Subject: [PATCH] drop static names --- src/app/browser/window/tab/item/page/widget.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/browser/window/tab/item/page/widget.rs b/src/app/browser/window/tab/item/page/widget.rs index bb5faf34..03eb0a33 100644 --- a/src/app/browser/window/tab/item/page/widget.rs +++ b/src/app/browser/window/tab/item/page/widget.rs @@ -1,5 +1,6 @@ use gtk::{ gio::{SimpleAction, SimpleActionGroup}, + glib::uuid_string_random, prelude::{ActionMapExt, BoxExt, WidgetExt}, Box, Orientation, }; @@ -32,7 +33,7 @@ impl Widget { gobject.append(navigation); gobject.append(content); - gobject.insert_action_group("page", Some(&action_group)); + gobject.insert_action_group(&uuid_string_random(), Some(&action_group)); Arc::new(Self { gobject }) }