summaryrefslogtreecommitdiff
path: root/src/nautilus-location-bar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nautilus-location-bar.c')
-rw-r--r--src/nautilus-location-bar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nautilus-location-bar.c b/src/nautilus-location-bar.c
index 8b9c9a542..ec9b13781 100644
--- a/src/nautilus-location-bar.c
+++ b/src/nautilus-location-bar.c
@@ -522,7 +522,7 @@ editable_key_press_callback (GtkObject *object,
* you can't move through the text a character at a
* time. Seems like a bad idea.
*/
- if (event->keyval == GDK_Right
+ if ((event->keyval == GDK_Right || event->keyval == GDK_End)
&& gtk_editable_get_selection_bounds (editable, NULL, NULL)) {
set_position_and_selection_to_end (editable);
}