fix: remove hardcoded wordprocessor entry, rather rely on manifest.toml file

This commit is contained in:
2026-03-27 19:54:34 +01:00
parent 3f00b2bfaa
commit 7c5573b69a
3 changed files with 1 additions and 4 deletions
-1
View File
@@ -355,7 +355,6 @@ void gui::desktop_handle_mouse(DesktopState* ds) {
case 11: open_settings(ds); break; case 11: open_settings(ds); break;
case 12: open_reboot_dialog(ds); break; case 12: open_reboot_dialog(ds); break;
case 14: open_shutdown_dialog(ds); break; case 14: open_shutdown_dialog(ds); break;
case 15: open_wordprocessor(ds); break;
case 16: montauk::exit(0); break; // Log Out case 16: montauk::exit(0); break; // Log Out
case 17: lock_screen(ds); break; // Lock Screen case 17: lock_screen(ds); break; // Lock Screen
case 18: open_sleep_dialog(ds); break; // Sleep case 18: open_sleep_dialog(ds); break; // Sleep
-2
View File
@@ -117,7 +117,6 @@ static const EmbeddedAppDef embedded_apps[] = {
{ "Terminal", 0, 0 }, { "Terminal", 0, 0 },
{ "Files", 1, 0 }, { "Files", 1, 0 },
{ "Text Editor", 4, 0 }, { "Text Editor", 4, 0 },
{ "Word Processor", 15, 0 },
{ "Calculator", 3, 0 }, { "Calculator", 3, 0 },
{ "System Info", 2, 2 }, { "System Info", 2, 2 },
{ "Kernel Log", 5, 2 }, { "Kernel Log", 5, 2 },
@@ -138,7 +137,6 @@ static SvgIcon* icon_for_embedded(DesktopState* ds, int app_id) {
case 5: return &ds->icon_terminal; // Kernel Log uses terminal icon case 5: return &ds->icon_terminal; // Kernel Log uses terminal icon
case 6: return &ds->icon_procmgr; case 6: return &ds->icon_procmgr;
case 7: return &ds->icon_mandelbrot; case 7: return &ds->icon_mandelbrot;
case 15: return &ds->icon_texteditor; // Word Processor uses text editor icon
default: return nullptr; default: return nullptr;
} }
} }
+1 -1
View File
@@ -5,4 +5,4 @@ icon = "wordprocessor.svg"
[menu] [menu]
category = "Applications" category = "Applications"
visible = false visible = true