From 9bebcf32ccebcdebfe83c0bdf20230695255d176 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Sun, 13 Feb 2011 18:05:20 +0100 Subject: [PATCH] Remove search engines in completion preference Display up to 5 engines, to not make it annoying when there are too many in total. --- midori/midori-locationaction.c | 2 ++ midori/midori-preferences.c | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/midori/midori-locationaction.c b/midori/midori-locationaction.c index df29dd2c..bee07257 100644 --- a/midori/midori-locationaction.c +++ b/midori/midori-locationaction.c @@ -505,6 +505,8 @@ midori_location_action_popup_timeout_cb (gpointer data) g_free (uri); g_free (title); i++; + if (i > 4) + break; } searches += i; } diff --git a/midori/midori-preferences.c b/midori/midori-preferences.c index 8bbabc74..405edfc1 100644 --- a/midori/midori-preferences.c +++ b/midori/midori-preferences.c @@ -449,8 +449,6 @@ midori_preferences_set_settings (MidoriPreferences* preferences, SPANNED_ADD (button); button = katze_property_proxy (settings, "progress-in-location", NULL); INDENTED_ADD (button); - button = katze_property_proxy (settings, "search-engines-in-completion", NULL); - SPANNED_ADD (button); #endif FRAME_NEW (_("Browsing")); label = katze_property_label (settings, "open-new-pages-in");