Function get_name_for_icon splitted
commitf8291de919fd3f1ac708680712aba13c7c1737ff
authorRodolfo García Peñas (kix) <kix@kix.es>
Sat, 9 Jun 2012 22:59:17 +0000 (10 00:59 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Sat, 9 Jun 2012 23:30:14 +0000 (10 00:30 +0100)
tree77e9824e68cc65fa5c5666026978599df566b860
parent7ef416f8acf7c3952c6c8eb89c06632c619cd93c
Function get_name_for_icon splitted

The function get_name_for_icon returns now the name of the icon,
without the full icon path and without extension (.xpm). Now is
not static.

The full path, including the folder creation, is done now by
wmkdirhier() (WINGs). This function is much better, because
supports "infinite" folders, not like the old get_name_for_icon
which could only create the specific folder for Cache Icons.

Using this functions, wIconStore() do the same work, but in a better
way, more clear.
src/icon.c