Trim trailing white spaces on empty lines.
[geeqie.git] / src / search.c
index 9d3f8aa..c4f1146 100644 (file)
@@ -286,7 +286,7 @@ static void search_status_update(SearchData *sd)
 
        t = search_result_count(sd, &t_bytes);
        s = search_result_selection_count(sd, &s_bytes);
-       
+
        tt = text_from_size_abrev(t_bytes);
 
        if (s > 0)
@@ -1258,12 +1258,6 @@ static gboolean search_result_keypress_cb(GtkWidget *widget, GdkEventKey *event,
                                stop_signal = FALSE;
                                break;
                        }
-#if 0
-               if (edit_val >= 0)
-                       {
-                       search_result_edit_selected(sd, edit_val);
-                       }
-#endif
                }
        else
                {
@@ -1401,11 +1395,6 @@ static void search_dnd_init(SearchData *sd)
                         G_CALLBACK(search_dnd_data_set), sd);
        g_signal_connect(G_OBJECT(sd->result_view), "drag_begin",
                         G_CALLBACK(search_dnd_begin), sd);
-#if 0
-       g_signal_connect(G_OBJECT(sd->result_view), "drag_end",
-                        G_CALLBACK(search_dnd_end), sd);
-#endif
-
 }
 
 /*
@@ -2590,7 +2579,7 @@ void search_new(FileData *dir_fd, FileData *example_file)
        sd->match_name_enable = TRUE;
 
        sd->search_similarity = 95;
-       
+
        if (example_file)
                {
                sd->search_similarity_path = g_strdup(example_file->path);
@@ -2796,10 +2785,6 @@ void search_new(FileData *dir_fd, FileData *example_file)
        gtk_tree_view_set_headers_visible(GTK_TREE_VIEW(sd->result_view), TRUE);
        gtk_tree_view_set_enable_search(GTK_TREE_VIEW(sd->result_view), FALSE);
 
-#if 0
-       gtk_tree_view_set_search_column(GTK_TREE_VIEW(sd->result_view), SEARCH_COLUMN_NAME);
-#endif
-
        search_result_add_column(sd, SEARCH_COLUMN_RANK, _("Rank"), FALSE, FALSE);
        search_result_add_column(sd, SEARCH_COLUMN_THUMB, "", TRUE, FALSE);
        search_result_add_column(sd, SEARCH_COLUMN_NAME, _("Name"), FALSE, FALSE);
@@ -2904,7 +2889,7 @@ static void search_notify_cb(FileData *fd, NotifyType type, gpointer data)
        if (!(type & NOTIFY_CHANGE) || !fd->change) return;
 
        DEBUG_1("Notify search: %s %04x", fd->path, type);
-       
+
        switch (fd->change->type)
                {
                case FILEDATA_CHANGE_MOVE: