Settings/keymap backup path next to files + update notification messages (#24517)

Before:


![image](https://github.com/user-attachments/assets/5b7d8677-b0db-4a66-ac30-e4751ba4182d)

After:


![image](https://github.com/user-attachments/assets/94743bc2-2902-43a3-8d6e-e0e0e6e469ec)

Release Notes:

- N/A
This commit is contained in:
Michael Sloan 2025-02-09 16:51:37 -07:00 committed by GitHub
parent cf74d653bd
commit 1a133ab9d8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 116 additions and 62 deletions

View file

@ -448,6 +448,14 @@ pub mod simple_message_notification {
self
}
pub fn primary_on_click_arc<F>(mut self, on_click: Arc<F>) -> Self
where
F: 'static + Fn(&mut Window, &mut Context<Self>),
{
self.primary_on_click = Some(on_click);
self
}
pub fn secondary_message<S>(mut self, message: S) -> Self
where
S: Into<SharedString>,
@ -474,6 +482,14 @@ pub mod simple_message_notification {
self
}
pub fn secondary_on_click_arc<F>(mut self, on_click: Arc<F>) -> Self
where
F: 'static + Fn(&mut Window, &mut Context<Self>),
{
self.secondary_on_click = Some(on_click);
self
}
pub fn more_info_message<S>(mut self, message: S) -> Self
where
S: Into<SharedString>,