diff --git a/ChangeLog b/ChangeLog index 10f54482f2f32f7d36afeaa106fe998ca27d8292..83c4ebaace23339dbec60514649993ae12655505 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-01-14 Benedikt Meurer <benny@xfce.org> + + * thunar/thunar-path-entry.c(thunar_path_entry_init): The property + "popup-single-match" was introduced in Gtk+ 2.8. Thanks to Erik + for the pointer. + 2006-01-11 Benedikt Meurer <benny@xfce.org> * thunar/thunar-text-renderer.c(thunar_text_renderer_render): Render diff --git a/thunar/thunar-path-entry.c b/thunar/thunar-path-entry.c index 22dd8a078ee5330efbaa0422ab91c38bcd5a12e9..e8b55e9eb2fffc071269132089bf73f4c5129270 100644 --- a/thunar/thunar-path-entry.c +++ b/thunar/thunar-path-entry.c @@ -277,7 +277,9 @@ thunar_path_entry_init (ThunarPathEntry *path_entry) /* allocate a new entry completion for the given model */ completion = gtk_entry_completion_new (); +#if GTK_CHECK_VERSION(2,8,0) gtk_entry_completion_set_popup_single_match (completion, FALSE); +#endif gtk_entry_completion_set_match_func (completion, thunar_path_entry_match_func, path_entry, NULL); g_signal_connect (G_OBJECT (completion), "match-selected", G_CALLBACK (thunar_path_entry_match_selected), path_entry);