summaryrefslogtreecommitdiff
path: root/thunar/thunar-path-entry.c
diff options
context:
space:
mode:
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);
}