dev-2025-08-16T20:05:59+02:00
This commit is contained in:
parent
c8c6581b0a
commit
2fefc6ec65
@ -44,7 +44,7 @@
|
||||
{
|
||||
"type" : "git",
|
||||
"url" : "https://gitea.ada-baumann.de/ada/AudioDeviceManager",
|
||||
"branch" : "main"
|
||||
"branch" : "dev"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -42,6 +42,15 @@ mod imp {
|
||||
|
||||
fn class_init(klass: &mut Self::Class) {
|
||||
klass.bind_template();
|
||||
|
||||
// Create async action to create new device and add to action group "win"
|
||||
klass.install_action_async(
|
||||
"win.new-device",
|
||||
None,
|
||||
|window, _, _| async move {
|
||||
println!("New Device");
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
fn instance_init(obj: &glib::subclass::InitializingObject<Self>) {
|
||||
|
Loading…
Reference in New Issue
Block a user