Prepare 0.1.0-beta.2 feature freeze and release validation
This commit is contained in:
1 parent
a62f1367bd
commit
77fa25e5f7
14 files changed
+202
-145
No files matched your search
@@ -18,10 +18,10 @@ pub(super) fn run(target: Target, terminal: &[String]) -> Result<(), String> {
|
||||
} else {
|
||||
open("gio", &[std::ffi::OsStr::new("launch"), desktop.as_os_str()])
|
||||
};
|
||||
if result.is_ok() {
|
||||
if let Err(error) = apps::record(&id) {
|
||||
eprintln!("Could not save launcher history: {error}");
|
||||
}
|
||||
if result.is_ok()
|
||||
&& let Err(error) = apps::record(&id)
|
||||
{
|
||||
eprintln!("Could not save launcher history: {error}");
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -464,12 +464,14 @@ impl FereseShell {
|
||||
if launcher.closing && !launcher.progress.is_animating() {
|
||||
return self.finish_launcher();
|
||||
}
|
||||
if !launcher.closing && launcher.query.is_empty() && launcher.category == Some(Category::Windows) {
|
||||
if let Some(control) = &self.control {
|
||||
launcher
|
||||
.thumbnails
|
||||
.refresh(&launcher.rows, launcher.selected, control, now);
|
||||
}
|
||||
if !launcher.closing
|
||||
&& launcher.query.is_empty()
|
||||
&& launcher.category == Some(Category::Windows)
|
||||
&& let Some(control) = &self.control
|
||||
{
|
||||
launcher
|
||||
.thumbnails
|
||||
.refresh(&launcher.rows, launcher.selected, control, now);
|
||||
}
|
||||
if !launcher.closing
|
||||
&& now.duration_since(launcher.refresh) >= Duration::from_secs(1)
|
||||
|
||||
Reference in new issue
Block a user