Yoda 0.10.3

Browser for Gemini Protocol
1
2
3
4
5
6
7
8
9
10
11
12
13
use gtk::{gio::SimpleAction, glib::uuid_string_random};

pub trait Reload {
    fn reload() -> Self;
}

impl Reload for SimpleAction {
    fn reload() -> Self {
        let reload = SimpleAction::new(&uuid_string_random(), None);
        reload.set_enabled(false);
        reload
    }
}