mate-desktop/mate-file-manager — pull request #1 by benpicco (2012-01-15 05:59:04+00:00)
Title: list-view: make sure not to select the extension on rename list-view: make sure not to select the extension on rename 

Delay calling gtk_editable_select_region() until after
gtk_tree_view_set_cursor()

https://bugzilla.gnome.org/show_bug.cgi?id=627110
(cherry picked from commit 5e2edee2e8dc6b4eababdff993176d591cc2a6e6)

taken from http://git.gnome.org/browse/nautilus/commit/?h=gnome-2-32&id=0fa8f53c89b84a47fac33eb923a5fb196ca564ee