1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-20 04:48:06 +01:00

- Fixed issues with crashing dialog not working

- Keep menu and title text at 12px since there is not constrained by width
- Removed some obsoleted options from wconfig.h
- Added a lighter image for the switch panel
This commit is contained in:
dan
2004-10-25 02:23:41 +00:00
parent 12b8b8ba58
commit 0d9b73cd74
9 changed files with 70 additions and 57 deletions

View File

@@ -561,7 +561,7 @@ keyPressHandler(XEvent *event, void *data)
KeySym ksym;
int iidx;
int didx;
int item;
int item = 0;
WMList *list = NULL;
if (event->type == KeyRelease)
@@ -862,8 +862,8 @@ typedef struct {
#define COPYRIGHT_TEXT \
"Copyright \xc2\xa9 1997-2004 Alfredo K. Kojima <kojima@windowmaker.org>\n"\
"Copyright \xc2\xa9 1998-2004 Dan Pascu <dan@windowmaker.org>"
"Copyright \xc2\xa9 1997-2004 Alfredo K. Kojima\n"\
"Copyright \xc2\xa9 1998-2004 Dan Pascu"
@@ -1647,6 +1647,7 @@ setCrashAction(void *self, void *clientData)
}
/* Make this read the logo from a compiled in pixmap -Dan */
static WMPixmap*
getWindowMakerIconImage(WMScreen *scr)
{
@@ -1654,6 +1655,9 @@ getWindowMakerIconImage(WMScreen *scr)
WMPixmap *pix=NULL;
char *path;
if (!WDWindowAttributes || !WDWindowAttributes->dictionary)
return NULL;
WMPLSetCaseSensitive(True);
key = WMCreatePLString("Logo.WMPanel");
@@ -1732,10 +1736,10 @@ wShowCrashingDialogPanel(int whatSig)
}
panel->nameL = WMCreateLabel(panel->win);
WMResizeWidget(panel->nameL, 190, 18);
WMMoveWidget(panel->nameL, 80, 35);
WMResizeWidget(panel->nameL, 200, 30);
WMMoveWidget(panel->nameL, 80, 25);
WMSetLabelTextAlignment(panel->nameL, WALeft);
font = WMBoldSystemFontOfSize(scr, 18);
font = WMBoldSystemFontOfSize(scr, 24);
WMSetLabelFont(panel->nameL, font);
WMReleaseFont(font);
WMSetLabelText(panel->nameL, _("Fatal error"));