1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-23 14:42:29 +01:00

wmaker: fix src/dock.c code typo

This patch is renaming the colectIconsCallback name function.
This commit is contained in:
David Maciejak
2014-08-21 06:44:15 +07:00
committed by Carlos R. Mafra
parent 6b5e589d09
commit ef659ca1fb

View File

@@ -639,7 +639,7 @@ static void selectCallback(WMenu *menu, WMenuEntry *entry)
wMenuPaint(menu);
}
static void colectIconsCallback(WMenu *menu, WMenuEntry *entry)
static void attractIconsCallback(WMenu *menu, WMenuEntry *entry)
{
WAppIcon *clickedIcon = (WAppIcon *) entry->clientdata;
WDock *clip; /* clip... is a WM_CLIP or a WM_DRAWER */
@@ -1271,7 +1271,7 @@ static WMenu *dockMenuCreate(WScreen *scr, int type)
wfree(entry->text);
entry->text = _("Remove Icon"); /* can be: Remove Icons */
wMenuAddCallback(menu, _("Attract Icons"), colectIconsCallback, NULL);
wMenuAddCallback(menu, _("Attract Icons"), attractIconsCallback, NULL);
}
wMenuAddCallback(menu, _("Launch"), launchCallback, NULL);