clamp luncher icon size to 8x8
This commit is contained in:
parent
175c614838
commit
84a58aa004
|
@ -1014,7 +1014,7 @@ _bar_icon_file_set(Icon *ic, Efreet_Desktop *desktop, E_Client *non_desktop_clie
|
|||
path = NULL;
|
||||
else if (strncmp(desktop->icon, "/", 1) && !ecore_file_exists(desktop->icon))
|
||||
{
|
||||
clamp = (4 * round((double)ic->inst->size/4));
|
||||
clamp = MAX((4 * round((double)ic->inst->size/4)), 8);
|
||||
path = efreet_icon_path_find(e_config->icon_theme, desktop->icon, clamp);
|
||||
if (!path)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue