diff src/view_dir_list.c @ 442:4b2d7f9af171

Big whitespaces cleanup: - drop whitespaces at end of lines - convert eight spaces to tab at start of lines - drop spurious spaces mixed with tabs - remove empty lines at end of files
author zas_
date Sun, 20 Apr 2008 13:04:57 +0000
parents 8e6f5bbe7843
children a73cc0fa14d0
line wrap: on
line diff
--- a/src/view_dir_list.c	Sun Apr 20 10:05:27 2008 +0000
+++ b/src/view_dir_list.c	Sun Apr 20 13:04:57 2008 +0000
@@ -117,7 +117,7 @@
  *-----------------------------------------------------------------------------
  * main
  *-----------------------------------------------------------------------------
- */ 
+ */
 
 void vdlist_select_row(ViewDir *vd, FileData *fd)
 {
@@ -228,15 +228,15 @@
 
 	if (strcmp(vd->path, "/") != 0)
 		{
-		filepath = g_strconcat(vd->path, "/", "..", NULL); 
+		filepath = g_strconcat(vd->path, "/", "..", NULL);
 		fd = file_data_new_simple(filepath);
 		VDLIST_INFO(vd, list) = g_list_prepend(VDLIST_INFO(vd, list), fd);
 		g_free(filepath);
 		}
-	
+
 	if (options->file_filter.show_dot_directory)
 		{
-		filepath = g_strconcat(vd->path, "/", ".", NULL); 
+		filepath = g_strconcat(vd->path, "/", ".", NULL);
 		fd = file_data_new_simple(filepath);
 		VDLIST_INFO(vd, list) = g_list_prepend(VDLIST_INFO(vd, list), fd);
 		g_free(filepath);
@@ -286,7 +286,7 @@
 {
 	ViewDir *vd = data;
 	GtkTreePath *tpath;
-	
+
 	if (event->keyval != GDK_Menu) return FALSE;
 
 	gtk_tree_view_get_cursor(GTK_TREE_VIEW(vd->view), &tpath, NULL);
@@ -298,7 +298,7 @@
 		store = gtk_tree_view_get_model(GTK_TREE_VIEW(widget));
 		gtk_tree_model_get_iter(store, &iter, tpath);
 		gtk_tree_model_get(store, &iter, DIR_COLUMN_POINTER, &vd->click_fd, -1);
-		
+
 		gtk_tree_path_free(tpath);
 		}
 	else