dtsystemsettings: no call to the removed Startup Disk pane

The Startup Disk pane was taken out of the pane table (Konrad, 2026-11-21),
but ShowPane still had the branch that called MakeStartupDisk, and
startupdisk.c is no longer built.  A full `pkgchroot force wm/mcde' therefore
failed at link: "dtsystemsettings-main.o: undefined reference to
MakeStartupDisk" (measured 2026-11-22, the MacBook build).  The branch is
gone; the id stays in PaneMsg's stable list, the declaration in ui.h says why
the file is still in the tree.
This commit is contained in:
lotherk committed 2026-11-22 15:04:37 +01:00
1 parent 28d82377d1
commit 345c54105a
2 files changed
+3 -5

No files matched your search

-3
View File
@@ -1110,9 +1110,6 @@ ShowPane(const Pane *p)
else if (strcmp(p->id, "printers") == 0) {
w = MakePrinters(paneArea);
}
else if (strcmp(p->id, "startupdisk") == 0) {
w = MakeStartupDisk(paneArea);
}
else if (strcmp(p->id, "sysinfo") == 0) {
w = MakeSysinfo(paneArea);
}
+3 -2
View File
@@ -88,8 +88,9 @@ Widget MakeDefaults(Widget parent);
int OpenWebCommand(const char *arg);
/* what this computer is (sysinfo.c): Hardware | Network | Software */
Widget MakeSysinfo(Widget parent);
/* the Startup Disk pane (startupdisk.c) */
Widget MakeStartupDisk(Widget parent);
/* The Startup Disk pane was removed (Konrad, 2026-11-21): the volumes and
* the system's own device are in System Information. startupdisk.c stays in
* the tree for its history but is not built. */
int SetDefaultPrinterCommand(const char *name);
int AddPrinterCommand(const char *name, const char *uri);
int RemovePrinterCommand(const char *name);