application: Set the active window for show_uri ()

This commit is contained in:
Christopher Davis 2021-09-23 04:22:27 -07:00
parent 0c62962d06
commit e589028f1b

View file

@ -198,6 +198,6 @@ impl IvApplication {
}
pub fn show_help(&self) {
gtk::show_uri(gtk::NONE_WINDOW, "help:gnome-image-viewer", 0);
gtk::show_uri(self.active_window().as_ref(), "help:gnome-image-viewer", 0);
}
}