mcde: the review's loose ends
- dtsystemsettings/panes.c: the icon of every pane is unique again (Backup showed the same DtSystem.m.pm as System Information, Default Programs the same Dtmail.t.pm as Internet Accounts) and the dock entry is indented like its neighbours. - startupdisk.c is no longer built: the pane was removed, the file stayed in the SUBDIRS list. - dttoolbox.msg: message 2 says "No dttoolchest menu", like message 1 says "dttoolchest". - dock.c stores the program's class as the command names it (lower case, as WM_CLASS's instance name is), not with an invented capital. dtwm compares classes with strcasecmp (WmMcdePanel.c:144, 233), so matching works either way; the icon lookup by file name is what a made-up case could spoil.
This commit is contained in:
1 parent
88b63a51b5
commit
bc84289d25
4 files changed
+5
-7
No files matched your search
@@ -7,7 +7,7 @@ bin_PROGRAMS = dtsystemsettings
|
|||||||
dtsystemsettings_SOURCES = main.c panes.c panes.h ui.h accounts.c update.c \
|
dtsystemsettings_SOURCES = main.c panes.c panes.h ui.h accounts.c update.c \
|
||||||
network.c \
|
network.c \
|
||||||
input.c appearance.c desktop.c timezone.c wifi.c \
|
input.c appearance.c desktop.c timezone.c wifi.c \
|
||||||
startup.c sharing.c backup.c displays.c language.c sound.c printers.c parental.c cds.c dock.c energy.c internet.c defaults.c sysinfo.c startupdisk.c \
|
startup.c sharing.c backup.c displays.c language.c sound.c printers.c parental.c cds.c dock.c energy.c internet.c defaults.c sysinfo.c \
|
||||||
security.c
|
security.c
|
||||||
dtsystemsettings_CPPFLAGS = -I$(top_srcdir)/include $(DT_INCDIR) \
|
dtsystemsettings_CPPFLAGS = -I$(top_srcdir)/include $(DT_INCDIR) \
|
||||||
-I$(top_builddir)/include $(XFT_CFLAGS) \
|
-I$(top_builddir)/include $(XFT_CFLAGS) \
|
||||||
|
|||||||
@@ -160,8 +160,6 @@ AddOk(Widget w, XtPointer cd, XtPointer call)
|
|||||||
base = strrchr(cmd, '/');
|
base = strrchr(cmd, '/');
|
||||||
base = base != NULL ? base + 1 : cmd;
|
base = base != NULL ? base + 1 : cmd;
|
||||||
(void) snprintf(cls, sizeof cls, "%s", base);
|
(void) snprintf(cls, sizeof cls, "%s", base);
|
||||||
if (cls[0] >= 'a' && cls[0] <= 'z')
|
|
||||||
cls[0] = (char) (cls[0] - 'a' + 'A');
|
|
||||||
if (napps < MAXAPPS) {
|
if (napps < MAXAPPS) {
|
||||||
(void) snprintf(apps[napps], sizeof apps[0], "%s\t%s",
|
(void) snprintf(apps[napps], sizeof apps[0], "%s\t%s",
|
||||||
cls, cmd);
|
cls, cmd);
|
||||||
|
|||||||
@@ -31,11 +31,11 @@ const Pane panes[] = {
|
|||||||
NULL, "language sprache locale region formats datum" },
|
NULL, "language sprache locale region formats datum" },
|
||||||
{ "dock", "Dock", CAT_PERSONAL, "Dtapps.m.pm", PANE_OWN, NULL,
|
{ "dock", "Dock", CAT_PERSONAL, "Dtapps.m.pm", PANE_OWN, NULL,
|
||||||
"dock leiste panel front panel programme programs" },
|
"dock leiste panel front panel programme programs" },
|
||||||
{ "security", "Security", CAT_PERSONAL, "McdeLock.pm", PANE_OWN, NULL,
|
{ "security", "Security", CAT_PERSONAL, "McdeLock.pm", PANE_OWN, NULL,
|
||||||
"security sicherheit firewall lock sperre password passwort "
|
"security sicherheit firewall lock sperre password passwort "
|
||||||
"encryption verschluesselung cgd swap virtual memory npf" },
|
"encryption verschluesselung cgd swap virtual memory npf" },
|
||||||
|
|
||||||
{ "defaults", "Default Programs", CAT_PERSONAL, "Dtmail.t.pm",
|
{ "defaults", "Default Programs", CAT_PERSONAL, "McdeFile.m.pm",
|
||||||
PANE_OWN, NULL, "default programs browser mail image video text "
|
PANE_OWN, NULL, "default programs browser mail image video text "
|
||||||
"standardprogramme" },
|
"standardprogramme" },
|
||||||
{ "sound", "Sound", CAT_HARDWARE, "Dtaudio.m.pm", PANE_OWN, NULL,
|
{ "sound", "Sound", CAT_HARDWARE, "Dtaudio.m.pm", PANE_OWN, NULL,
|
||||||
@@ -76,7 +76,7 @@ const Pane panes[] = {
|
|||||||
"accounts benutzer users password passwort" },
|
"accounts benutzer users password passwort" },
|
||||||
{ "update", "Software Update", CAT_SYSTEM, "Dtstyle.m.pm", PANE_OWN,
|
{ "update", "Software Update", CAT_SYSTEM, "Dtstyle.m.pm", PANE_OWN,
|
||||||
NULL, "update software aktualisierung pakete packages" },
|
NULL, "update software aktualisierung pakete packages" },
|
||||||
{ "backup", "Backup", CAT_SYSTEM, "DtSystem.m.pm", PANE_OWN, NULL,
|
{ "backup", "Backup", CAT_SYSTEM, "IrixDisk.m.pm", PANE_OWN, NULL,
|
||||||
"backup sicherung" },
|
"backup sicherung" },
|
||||||
{ "accessibility", "Accessibility", CAT_SYSTEM, "Dtmouse.m.pm",
|
{ "accessibility", "Accessibility", CAT_SYSTEM, "Dtmouse.m.pm",
|
||||||
PANE_LATER, NULL, "accessibility bedienungshilfen" },
|
PANE_LATER, NULL, "accessibility bedienungshilfen" },
|
||||||
|
|||||||
@@ -3,4 +3,4 @@ $
|
|||||||
$set 1
|
$set 1
|
||||||
|
|
||||||
1 dttoolchest
|
1 dttoolchest
|
||||||
2 No ToolChest menu
|
2 No dttoolchest menu
|
||||||
Reference in new issue
Block a user