mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-23 22:52:34 +01:00
wmaker: fix src/dock.c code typo
This patch is renaming the colectIconsCallback name function.
This commit is contained in:
committed by
Carlos R. Mafra
parent
6b5e589d09
commit
ef659ca1fb
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user