summaryrefslogtreecommitdiff
path: root/legacy/efreet
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2012-09-27 08:22:24 +0000
committerCarsten Haitzler <raster@rasterman.com>2012-09-27 08:22:24 +0000
commit35934700690aeebcc670a89c39aceb88422f8c31 (patch)
treeff224a1c7f96184cbeca2215c91d8febfb16bbc0 /legacy/efreet
parent0f1366f3234b857e88b66105ded10bb05bbc8f71 (diff)
fix nasty bug in efreet where running an update of desktops (or icons)
could be delayed by minutes. SVN revision: 77133
Diffstat (limited to 'legacy/efreet')
-rw-r--r--legacy/efreet/ChangeLog5
-rw-r--r--legacy/efreet/NEWS8
-rw-r--r--legacy/efreet/src/lib/efreet_cache.c10
3 files changed, 16 insertions, 7 deletions
diff --git a/legacy/efreet/ChangeLog b/legacy/efreet/ChangeLog
index da2b2a5bbd..2ac2f1bdb3 100644
--- a/legacy/efreet/ChangeLog
+++ b/legacy/efreet/ChangeLog
@@ -134,3 +134,8 @@
1342012-08-30 Carsten Haitzler (The Rasterman) 1342012-08-30 Carsten Haitzler (The Rasterman)
135 135
136 1.7.0 release 136 1.7.0 release
137
1382012-09-27 Carsten Haitzler (The Rasterman)
139
140 * Fix long lurking bug where desktop/icon cache updates get
141 delayed by silly long amounts of time.
diff --git a/legacy/efreet/NEWS b/legacy/efreet/NEWS
index 12d5666569..15ddc1a6b2 100644
--- a/legacy/efreet/NEWS
+++ b/legacy/efreet/NEWS
@@ -1,4 +1,10 @@
1Efreet 1.7.0 1Efreet 1.8.0
2
3Changes since Efreet 1.7.0:
4---------------------------
5
6Fixes:
7 * Fix insane delay added to desktop/icon updates.
2 8
3Changes since Efreet 1.2.0: 9Changes since Efreet 1.2.0:
4--------------------------- 10---------------------------
diff --git a/legacy/efreet/src/lib/efreet_cache.c b/legacy/efreet/src/lib/efreet_cache.c
index a53c8e1bab..b3b98553ac 100644
--- a/legacy/efreet/src/lib/efreet_cache.c
+++ b/legacy/efreet/src/lib/efreet_cache.c
@@ -947,9 +947,8 @@ efreet_cache_desktop_update(void)
947 if (!efreet_cache_update) return; 947 if (!efreet_cache_update) return;
948 948
949 if (desktop_cache_timer) 949 if (desktop_cache_timer)
950 ecore_timer_delay(desktop_cache_timer, 0.2); 950 ecore_timer_del(desktop_cache_timer);
951 else 951 desktop_cache_timer = ecore_timer_add(0.2, desktop_cache_update_cache_cb, NULL);
952 desktop_cache_timer = ecore_timer_add(0.2, desktop_cache_update_cache_cb, NULL);
953} 952}
954 953
955void 954void
@@ -994,9 +993,8 @@ efreet_cache_icon_update(void)
994 if (!efreet_cache_update) return; 993 if (!efreet_cache_update) return;
995 994
996 if (icon_cache_timer) 995 if (icon_cache_timer)
997 ecore_timer_delay(icon_cache_timer, 0.2); 996 ecore_timer_del(icon_cache_timer);
998 else 997 icon_cache_timer = ecore_timer_add(0.2, icon_cache_update_cache_cb, NULL);
999 icon_cache_timer = ecore_timer_add(0.2, icon_cache_update_cache_cb, NULL);
1000} 998}
1001 999
1002static Eina_Bool 1000static Eina_Bool