mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-15 17:20:08 +00:00
drop static names
This commit is contained in:
parent
55715284d8
commit
1f44715ed7
@ -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 })
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user