[gnome-commander] search: exit update_search_status_widgets() when pressed stop button



commit def31d4ba35f221f8f9266f0fb1793691c79d6b3
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Fri May 13 19:31:42 2011 +0200

    search: exit update_search_status_widgets() when pressed stop button

 src/gnome-cmd-search-dialog.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gnome-cmd-search-dialog.cc b/src/gnome-cmd-search-dialog.cc
index eed8e6f..ca7809f 100755
--- a/src/gnome-cmd-search-dialog.cc
+++ b/src/gnome-cmd-search-dialog.cc
@@ -379,7 +379,7 @@ static gboolean update_search_status_widgets (SearchData *data)
         gnome_cmd_file_list_free (files);
     }
 
-    if (!data->search_done || data->pdata.files)
+    if (!data->search_done && !data->stopped || data->pdata.files)
         return TRUE;
 
     if (!data->dialog_destroyed)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]