mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
fix(emacs): fix template tooltip path
This commit is contained in:
@@ -47,6 +47,18 @@ ColumnLayout {
|
||||
paths.push(app.outputs[k].path);
|
||||
}
|
||||
path = paths.join("\n");
|
||||
} else if (app.id === "emacs") {
|
||||
// Emacs clients are detected dynamically by ProgramCheckerService
|
||||
var emacsClients = ProgramCheckerService.availableEmacsClients;
|
||||
if (emacsClients && emacsClients.length > 0) {
|
||||
var emacsPaths = [];
|
||||
for (var k = 0; k < emacsClients.length; k++) {
|
||||
emacsPaths.push(emacsClients[k].path);
|
||||
}
|
||||
path = emacsPaths.join("\n");
|
||||
} else {
|
||||
path = I18n.tr("panels.color-scheme.templates-none-detected");
|
||||
}
|
||||
} else if (app.clients && app.clients.length > 0) {
|
||||
var validClients = [];
|
||||
for (var k = 0; k < app.clients.length; k++) {
|
||||
|
||||
Reference in New Issue
Block a user