[gnome-commander] noop: code cleanup



commit cd8dec77e2785c5626c99aa5c152fa9ca9816477
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Mon May 2 11:37:43 2011 +0200

    noop: code cleanup

 src/gnome-cmd-search-dialog.cc |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/gnome-cmd-search-dialog.cc b/src/gnome-cmd-search-dialog.cc
index 08c022a..e9f5c78 100755
--- a/src/gnome-cmd-search-dialog.cc
+++ b/src/gnome-cmd-search-dialog.cc
@@ -491,6 +491,7 @@ static gboolean start_generic_search (GnomeCmdSearchDialog *dialog)
     data->content_search = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (dialog->priv->find_text_check));
     data->content_regex = NULL;
     data->match_dirs = NULL;
+    data->search_done = FALSE;
     data->stopped = FALSE;
     data->dialog_destroyed = FALSE;
     data->recurse = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (dialog->priv->recurse_check));
@@ -532,8 +533,6 @@ static gboolean start_generic_search (GnomeCmdSearchDialog *dialog)
     data->start_dir = gnome_cmd_dir_new (dialog->priv->con, path);
     gnome_cmd_dir_ref (data->start_dir);
 
-    data->search_done = FALSE;
-
     if (!data->pdata.mutex)
         data->pdata.mutex = g_mutex_new ();
 



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