drop static names

This commit is contained in:
yggverse 2024-10-14 05:11:28 +03:00
parent 55715284d8
commit 1f44715ed7

View File

@ -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 })
}