1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-22 14:08:06 +01:00

wmaker: update drag-nd-drop label related

This patch is updating the drag and drop labels
from docked app settings window. As i am not sure common users
are aware of what 'DND' means.
This commit is contained in:
David Maciejak
2014-08-16 23:52:05 +08:00
committed by Carlos R. Mafra
parent 3f306184bd
commit c92ea52271

View File

@@ -300,7 +300,7 @@ void ShowDockAppSettingsPanel(WAppIcon * aicon)
WMMapSubwidgets(panel->pasteCommandFrame); WMMapSubwidgets(panel->pasteCommandFrame);
panel->dndCommandFrame = WMCreateFrame(vbox); panel->dndCommandFrame = WMCreateFrame(vbox);
WMSetFrameTitle(panel->dndCommandFrame, _("Command for files dropped with DND")); WMSetFrameTitle(panel->dndCommandFrame, _("Command for dragged and dropped files"));
WMAddBoxSubview(vbox, WMWidgetView(panel->dndCommandFrame), False, True, 70, 70, 5); WMAddBoxSubview(vbox, WMWidgetView(panel->dndCommandFrame), False, True, 70, 70, 5);
panel->dndCommandField = WMCreateTextField(panel->dndCommandFrame); panel->dndCommandField = WMCreateTextField(panel->dndCommandFrame);
@@ -315,7 +315,7 @@ void ShowDockAppSettingsPanel(WAppIcon * aicon)
WMSetLabelText(panel->dndCommandLabel, _("%d will be replaced with the file name")); WMSetLabelText(panel->dndCommandLabel, _("%d will be replaced with the file name"));
#else #else
WMSetTextFieldEditable(panel->dndCommandField, False); WMSetTextFieldEditable(panel->dndCommandField, False);
WMSetLabelText(panel->dndCommandLabel, _("DND support was not compiled in")); WMSetLabelText(panel->dndCommandLabel, _("XDnD support was not compiled in"));
WMSetFrameTitleColor(panel->dndCommandFrame, WMDarkGrayColor(scr->wmscreen)); WMSetFrameTitleColor(panel->dndCommandFrame, WMDarkGrayColor(scr->wmscreen));
WMSetLabelTextColor(panel->dndCommandLabel, WMDarkGrayColor(scr->wmscreen)); WMSetLabelTextColor(panel->dndCommandLabel, WMDarkGrayColor(scr->wmscreen));