changeset 813:7c12beef474a

run idle function just once
author nadvornik
date Mon, 09 Jun 2008 19:43:56 +0000
parents d29c2d191c58
children 721c2bbaceec
files src/view_file_list.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/view_file_list.c	Mon Jun 09 19:41:37 2008 +0000
+++ b/src/view_file_list.c	Mon Jun 09 19:43:56 2008 +0000
@@ -1926,7 +1926,7 @@
 			}
 		}
 	
-	if (refresh)
+	if (refresh && vf->refresh_idle_id == -1)
 		{
 		vf->refresh_idle_id = g_idle_add(vflist_refresh_idle_cb, vf);
 		}