mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-16 01:29:57 +00:00
drop static action name
This commit is contained in:
parent
3047102c87
commit
53e2ada69c
@ -13,7 +13,10 @@ use meta::{Meta, Mime, Status};
|
|||||||
|
|
||||||
use gtk::{
|
use gtk::{
|
||||||
gio::{Cancellable, SimpleAction, SocketClient, SocketProtocol, TlsCertificateFlags},
|
gio::{Cancellable, SimpleAction, SocketClient, SocketProtocol, TlsCertificateFlags},
|
||||||
glib::{gformat, GString, Priority, Regex, RegexCompileFlags, RegexMatchFlags, Uri, UriFlags},
|
glib::{
|
||||||
|
gformat, uuid_string_random, GString, Priority, Regex, RegexCompileFlags, RegexMatchFlags,
|
||||||
|
Uri, UriFlags,
|
||||||
|
},
|
||||||
prelude::{
|
prelude::{
|
||||||
ActionExt, IOStreamExt, InputStreamExtManual, OutputStreamExtManual, SocketClientExt,
|
ActionExt, IOStreamExt, InputStreamExtManual, OutputStreamExtManual, SocketClientExt,
|
||||||
StaticVariantType, ToVariant,
|
StaticVariantType, ToVariant,
|
||||||
@ -50,7 +53,7 @@ impl Page {
|
|||||||
) -> Arc<Self> {
|
) -> Arc<Self> {
|
||||||
// Init local actions
|
// Init local actions
|
||||||
let action_page_open = Arc::new(SimpleAction::new(
|
let action_page_open = Arc::new(SimpleAction::new(
|
||||||
"open", // @TODO
|
&uuid_string_random(),
|
||||||
Some(&String::static_variant_type()),
|
Some(&String::static_variant_type()),
|
||||||
));
|
));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user