yoda: refresh local dbus binding lock and warnings

This commit is contained in:
Lionel DARNIS 2026-05-25 09:55:23 +02:00
parent f1b1f8d799
commit 54862ba701
3 changed files with 3 additions and 8 deletions

View file

@ -72,7 +72,7 @@ use crate::config::{
use crate::dialog::{Dialog, DialogKind, DialogMessage, DialogResult, DialogSettings};
use crate::key_bind::key_binds;
use crate::localize::LANGUAGE_SORTER;
use crate::mime_app::{self, MimeApp, MimeAppCache};
use crate::mime_app::{MimeApp, MimeAppCache};
use crate::mounter::{
MOUNTERS, MounterAuth, MounterItem, MounterItems, MounterKey, MounterMessage,
};
@ -1013,6 +1013,7 @@ impl App {
#[cfg(feature = "desktop")]
fn launch_desktop_entries(paths: &[impl AsRef<Path>]) {
use crate::mime_app;
use cosmic::desktop::fde::DesktopEntry;
let locales = cosmic::desktop::fde::get_languages_from_env();

View file

@ -16,11 +16,6 @@ use std::{
process,
};
// Supported exec key field codes
const EXEC_HANDLERS: [&str; 4] = ["%f", "%F", "%u", "%U"];
// Deprecated field codes. The spec advises to ignore these handlers.
const DEPRECATED_HANDLERS: [&str; 6] = ["%d", "%D", "%n", "%N", "%v", "%m"];
pub fn exec_to_command(
exec: &str,
entry_name: &str,