summaryrefslogtreecommitdiff
path: root/thunar/thunar-path-entry.c
diff options
context:
space:
mode:
authorBenedikt Meurer <benny@xfce.org>2006-05-01 14:43:25 +0000
committerBenedikt Meurer <benny@xfce.org>2006-05-01 14:43:25 +0000
commit144738a9bb1d1537d89709fc592bb663ab9f12e1 (patch)
treeecf7bd6f66226c528d9aeafd0c556418e2d9ae70 /thunar/thunar-path-entry.c
parentaab6aad7790daf71a4379344bab38928b86ebb66 (diff)
downloadthunar-144738a9bb1d1537d89709fc592bb663ab9f12e1.tar.gz
2006-05-01 Benedikt Meurer <benny@xfce.org>
* thunar/thunar-path-entry.c(thunar_path_entry_activate): Activate if only a single item matches. Bug #1747. (Old svn revision: 21423)
Diffstat (limited to 'thunar/thunar-path-entry.c')
-rw-r--r--thunar/thunar-path-entry.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/thunar/thunar-path-entry.c b/thunar/thunar-path-entry.c
index 79437d2d..5db41c55 100644
--- a/thunar/thunar-path-entry.c
+++ b/thunar/thunar-path-entry.c
@@ -766,11 +766,9 @@ thunar_path_entry_activate (GtkEntry *entry)
/* place cursor at the end of the text if we have completion set */
gtk_editable_set_position (GTK_EDITABLE (path_entry), -1);
}
- else
- {
- /* emit the "activate" signal */
- (*GTK_ENTRY_CLASS (thunar_path_entry_parent_class)->activate) (entry);
- }
+
+ /* emit the "activate" signal */
+ (*GTK_ENTRY_CLASS (thunar_path_entry_parent_class)->activate) (entry);
}