fix nasty bug in efreet where running an update of desktops (or icons)

could be delayed by minutes.



SVN revision: 77133
This commit is contained in:
Carsten Haitzler 2012-09-27 08:22:24 +00:00
parent 0f1366f323
commit 3593470069
3 changed files with 16 additions and 7 deletions

View File

@ -134,3 +134,8 @@
2012-08-30 Carsten Haitzler (The Rasterman)
1.7.0 release
2012-09-27 Carsten Haitzler (The Rasterman)
* Fix long lurking bug where desktop/icon cache updates get
delayed by silly long amounts of time.

View File

@ -1,4 +1,10 @@
Efreet 1.7.0
Efreet 1.8.0
Changes since Efreet 1.7.0:
---------------------------
Fixes:
* Fix insane delay added to desktop/icon updates.
Changes since Efreet 1.2.0:
---------------------------

View File

@ -947,8 +947,7 @@ efreet_cache_desktop_update(void)
if (!efreet_cache_update) return;
if (desktop_cache_timer)
ecore_timer_delay(desktop_cache_timer, 0.2);
else
ecore_timer_del(desktop_cache_timer);
desktop_cache_timer = ecore_timer_add(0.2, desktop_cache_update_cache_cb, NULL);
}
@ -994,8 +993,7 @@ efreet_cache_icon_update(void)
if (!efreet_cache_update) return;
if (icon_cache_timer)
ecore_timer_delay(icon_cache_timer, 0.2);
else
ecore_timer_del(icon_cache_timer);
icon_cache_timer = ecore_timer_add(0.2, icon_cache_update_cache_cb, NULL);
}