Remove search engines in completion preference

Display up to 5 engines, to not make it annoying when there
are too many in total.
This commit is contained in:
Christian Dywan 2011-02-13 18:05:20 +01:00
parent 75a1d90233
commit 9bebcf32cc
2 changed files with 2 additions and 2 deletions

View file

@ -505,6 +505,8 @@ midori_location_action_popup_timeout_cb (gpointer data)
g_free (uri); g_free (uri);
g_free (title); g_free (title);
i++; i++;
if (i > 4)
break;
} }
searches += i; searches += i;
} }

View file

@ -449,8 +449,6 @@ midori_preferences_set_settings (MidoriPreferences* preferences,
SPANNED_ADD (button); SPANNED_ADD (button);
button = katze_property_proxy (settings, "progress-in-location", NULL); button = katze_property_proxy (settings, "progress-in-location", NULL);
INDENTED_ADD (button); INDENTED_ADD (button);
button = katze_property_proxy (settings, "search-engines-in-completion", NULL);
SPANNED_ADD (button);
#endif #endif
FRAME_NEW (_("Browsing")); FRAME_NEW (_("Browsing"));
label = katze_property_label (settings, "open-new-pages-in"); label = katze_property_label (settings, "open-new-pages-in");