[gnome-commander] Fixed problem #604558 (cursor lost/placed in wrong position)



commit 6eb8ae05a69bf0030e776844d8b17edb67ecbf4d
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Tue Dec 29 21:13:15 2009 +0100

    Fixed problem #604558 (cursor lost/placed in wrong position)

 NEWS                       |    1 +
 doc/C/gnome-commander.xml  |    3 +++
 src/gnome-cmd-file-list.cc |    2 +-
 3 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/NEWS b/NEWS
index c70934d..3acbc32 100644
--- a/NEWS
+++ b/NEWS
@@ -20,6 +20,7 @@ gnome-commander 1.2.8.5
 ---------------
 
 Bug fixes:
+ * Fixed problem #604558 (cursor lost/placed in wrong position)
  * Fixed problem #604904 (build error on OpenSolaris)
 
 
diff --git a/doc/C/gnome-commander.xml b/doc/C/gnome-commander.xml
index 17e34f6..8c3992b 100644
--- a/doc/C/gnome-commander.xml
+++ b/doc/C/gnome-commander.xml
@@ -6044,6 +6044,9 @@
                 <para>
                     <itemizedlist>
                         <listitem>
+                            <para>Fixed problem #604558 (cursor lost/placed in wrong position)</para>
+                        </listitem>
+                        <listitem>
                             <para>Fixed problem #604904 (build error on OpenSolaris)</para>
                         </listitem>
                     </itemizedlist>
diff --git a/src/gnome-cmd-file-list.cc b/src/gnome-cmd-file-list.cc
index 0796096..f9a0519 100644
--- a/src/gnome-cmd-file-list.cc
+++ b/src/gnome-cmd-file-list.cc
@@ -1795,7 +1795,7 @@ void GnomeCmdFileList::focus_file(const gchar *focus_file, gboolean scroll_to_fi
 
 void GnomeCmdFileList::select_row(gint row)
 {
-    focus_file_at_row (this, row==-1 ? priv->cur_file : row);
+    focus_file_at_row (this, row==-1 ? 0 : row);
 }
 
 



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