mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 12:28:22 +01:00
WPrefs: Make Dock preferences pane less busy and fix up some strings
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
This commit is contained in:
committed by
Carlos R. Mafra
parent
6d5ffca076
commit
3a24237a8d
@@ -120,7 +120,7 @@ static void resistanceCallback(WMWidget * w, void *data)
|
||||
i = WMGetSliderValue(panel->resS);
|
||||
|
||||
if (i == 0)
|
||||
WMSetLabelText(panel->resL, "OFF");
|
||||
WMSetLabelText(panel->resL, _("OFF"));
|
||||
else {
|
||||
sprintf(buffer, "%i", i);
|
||||
WMSetLabelText(panel->resL, buffer);
|
||||
@@ -139,7 +139,7 @@ static void resizeCallback(WMWidget * w, void *data)
|
||||
i = WMGetSliderValue(panel->resizeS);
|
||||
|
||||
if (i == 0)
|
||||
WMSetLabelText(panel->resizeL, "OFF");
|
||||
WMSetLabelText(panel->resizeL, _("OFF"));
|
||||
else {
|
||||
sprintf(buffer, "%i", i);
|
||||
WMSetLabelText(panel->resizeL, buffer);
|
||||
@@ -450,7 +450,7 @@ static void createPanel(Panel * p)
|
||||
WMMoveWidget(panel->resizeL, 60, 74);
|
||||
|
||||
panel->resizeTextL = WMCreateLabel(panel->maxiF);
|
||||
WMSetLabelText(panel->resizeTextL, "Mod+Wheel\nresize increment");
|
||||
WMSetLabelText(panel->resizeTextL, _("Mod+Wheel\nresize increment"));
|
||||
WMResizeWidget(panel->resizeTextL, 110, 30);
|
||||
WMMoveWidget(panel->resizeTextL, 90, 66);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user