nautilus r15072 - trunk/eel



Author: alexl
Date: Mon Mar  9 11:18:46 2009
New Revision: 15072
URL: http://svn.gnome.org/viewvc/nautilus?rev=15072&view=rev

Log:
2009-03-09  Alexander Larsson  <alexl redhat com>

        * eel-editable-label.c:
        (eel_editable_label_move_cursor):
	Revert wrong cursor move change.



Modified:
   trunk/eel/ChangeLog
   trunk/eel/eel-editable-label.c

Modified: trunk/eel/eel-editable-label.c
==============================================================================
--- trunk/eel/eel-editable-label.c	(original)
+++ trunk/eel/eel-editable-label.c	Mon Mar  9 11:18:46 2009
@@ -2897,11 +2897,11 @@
     }
 
   if (extend_selection)
-    gtk_editable_select_region (GTK_EDITABLE (label),
-				label->selection_anchor,
- 				new_pos);
+    eel_editable_label_select_region_index (label,
+					    label->selection_anchor,
+					    new_pos);
   else
-    gtk_editable_set_position (GTK_EDITABLE (label), new_pos);
+    eel_editable_label_select_region_index (label, new_pos, new_pos);
 }
 
 static void



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