gnome-commander r1533 - in branches/gcmd-1-3: . src



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

Log:
Point to the focused file properly

Modified:
   branches/gcmd-1-3/ChangeLog
   branches/gcmd-1-3/src/gnome-cmd-file-list.cc

Modified: branches/gcmd-1-3/src/gnome-cmd-file-list.cc
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-file-list.cc	(original)
+++ branches/gcmd-1-3/src/gnome-cmd-file-list.cc	Fri Jan 18 22:10:48 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]