1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-02-09 01:45:48 +01:00

- Fixed all // comments

- Final cleanups
This commit is contained in:
dan
2004-10-23 03:30:03 +00:00
parent b00076b32a
commit 193a63511d
18 changed files with 51 additions and 82 deletions

View File

@@ -408,7 +408,7 @@ createPanel(Panel *p)
"for actions like shading and closing a window.\n"
"You will need a module distributed separately\n"
"for this. You can get it at:\n"
"http://shadowmere.student.utwente.nl/"),
"http://largo.windowmaker.org/files.php#WSoundServer"),
WMWidgetView(panel->sfxB));
panel->noteL = WMCreateLabel(panel->animF);

View File

@@ -53,7 +53,6 @@ showData(_Panel *panel)
WMSetButtonSelected(panel->swi[3], GetBoolForKey("UseSaveUnders"));
WMSetButtonSelected(panel->swi[4], GetBoolForKey("DontConfirmKill"));
WMSetButtonSelected(panel->swi[5], GetBoolForKey("DisableBlinking"));
//if (WMHasAntialiasingSupport(WMWidgetScreen(panel->box)))
WMSetButtonSelected(panel->swi[6], GetBoolForKey("AntialiasedText"));
}
@@ -81,7 +80,6 @@ createPanel(Panel *p)
WMSetButtonText(panel->swi[5], _("Disable selection animation for selected icons."));
WMSetButtonText(panel->swi[6], _("Smooth font edges (needs restart)."));
//if (!WMHasAntialiasingSupport(WMWidgetScreen(panel->box)))
WMSetButtonEnabled(panel->swi[6], True);
WMRealizeWidget(panel->box);
@@ -104,7 +102,6 @@ storeDefaults(_Panel *panel)
SetBoolForKey(WMGetButtonSelected(panel->swi[3]), "UseSaveUnders");
SetBoolForKey(WMGetButtonSelected(panel->swi[4]), "DontConfirmKill");
SetBoolForKey(WMGetButtonSelected(panel->swi[5]), "DisableBlinking");
//if (WMHasAntialiasingSupport(WMWidgetScreen(panel->box)))
SetBoolForKey(WMGetButtonSelected(panel->swi[6]), "AntialiasedText");
}

View File

@@ -478,7 +478,7 @@ selectedOption(WMWidget *w, void *data)
name= "sans serif";
found= 0;
// select family
/* select family */
for (i= 0; i < WMGetListNumberOfRows(panel->familyL); i++)
{
WMListItem *item= WMGetListItem(panel->familyL, i);
@@ -496,7 +496,7 @@ selectedOption(WMWidget *w, void *data)
WMSelectListItem(panel->familyL, -1);
selectedFamily(panel->familyL, panel);
// select style
/* select style */
if (FcPatternGetInteger(pat, FC_WEIGHT, 0, &weight) != FcResultMatch)
weight= FC_WEIGHT_NORMAL;
if (FcPatternGetInteger(pat, FC_WIDTH, 0, &width) != FcResultMatch)
@@ -681,7 +681,7 @@ createPanel(Panel *p)
label = createListLabel(scr, vbox, _("Family"));
WMAddBoxSubview(vbox, WMWidgetView(label), False, True, 20, 0, 2);
// family
/* family */
panel->familyL = WMCreateList(vbox);
WMAddBoxSubview(vbox, WMWidgetView(panel->familyL), True, True, 0, 0, 0);
if (panel->fonts)