mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
fonts: added "System Default" entry in each combobox, to use the system one.
This commit is contained in:
@@ -90,6 +90,15 @@ Singleton {
|
||||
availableFonts.clear();
|
||||
monospaceFonts.clear();
|
||||
|
||||
availableFonts.append({
|
||||
"key": Qt.application.font.family,
|
||||
"name": I18n.tr("panels.indicator.system-default")
|
||||
});
|
||||
monospaceFonts.append({
|
||||
"key": "monospace",
|
||||
"name": I18n.tr("panels.indicator.system-default")
|
||||
});
|
||||
|
||||
for (var m = 0; m < allBatch.length; m++)
|
||||
availableFonts.append(allBatch[m]);
|
||||
for (var n = 0; n < monoBatch.length; n++)
|
||||
|
||||
Reference in New Issue
Block a user