Add Discover Integrations button
This commit is contained in:
@ -139,6 +139,14 @@ mod imp {
|
||||
None
|
||||
});
|
||||
}
|
||||
#[template_callback]
|
||||
fn discover_integrations(&self, _btn: >k::Button) {
|
||||
gtk::UriLauncher::new("https://docs.ntfy.sh/integrations/").launch(
|
||||
Some(&self.obj().clone()),
|
||||
gio::Cancellable::NONE,
|
||||
|_| {},
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
#[glib::object_subclass]
|
||||
|
||||
Reference in New Issue
Block a user