apply new fmt version

This commit is contained in:
yggverse 2025-03-16 21:56:18 +02:00
parent e4eecb3489
commit cc7df23f39
94 changed files with 139 additions and 155 deletions

View file

@ -8,10 +8,10 @@ use title::Title;
use super::ItemAction;
use gtk::{
gio::SimpleAction,
glib::{uuid_string_random, Uri, UriHideFlags},
prelude::{ActionExt, BoxExt, DisplayExt, WidgetExt},
Box, Label, Orientation, TextView,
gio::SimpleAction,
glib::{Uri, UriHideFlags, uuid_string_random},
prelude::{ActionExt, BoxExt, DisplayExt, WidgetExt},
};
use std::rc::Rc;
@ -94,9 +94,10 @@ impl Response for Box {
form.add_controller({
const SHORTCUT: &str = "<Primary>Return"; // @TODO optional
/*control
.send
.set_tooltip_text(Some(&format!("Shortcut: {SHORTCUT}")));*/
.send
.set_tooltip_text(Some(&format!("Shortcut: {SHORTCUT}")));*/
let c = gtk::ShortcutController::new();
c.add_shortcut(
gtk::Shortcut::builder()