gnome-commander r1532 - in trunk: . src



Author: epiotr
Date: Fri Jan 18 22:10:22 2008
New Revision: 1532
URL: http://svn.gnome.org/viewvc/gnome-commander?rev=1532&view=rev

Log:
Point to the focused file properly

Modified:
   trunk/ChangeLog
   trunk/src/gnome-cmd-file-list.cc

Modified: trunk/src/gnome-cmd-file-list.cc
==============================================================================
--- trunk/src/gnome-cmd-file-list.cc	(original)
+++ trunk/src/gnome-cmd-file-list.cc	Fri Jan 18 22:10:22 2008
@@ -204,8 +204,8 @@
     g_return_if_fail (GNOME_CMD_IS_FILE_LIST (fl));
 
     GTK_CLIST (fl)->focus_row = row;
-    fl->priv->cur_file = row;
     gtk_clist_select_row (GTK_CLIST (fl), row, 0);
+    fl->priv->cur_file = GTK_CLIST (fl)->focus_row;
 }
 
 



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