]> spindle.queued.net Git - midori/commitdiff
Remove search engines in completion preference
authorChristian Dywan <christian@twotoasts.de>
Sun, 13 Feb 2011 17:05:20 +0000 (18:05 +0100)
committerChristian Dywan <christian@twotoasts.de>
Sun, 13 Feb 2011 17:35:47 +0000 (18:35 +0100)
Display up to 5 engines, to not make it annoying when there
are too many in total.

midori/midori-locationaction.c
midori/midori-preferences.c

index df29dd2cdf249482dcbe2c827e7c327d737e288c..bee072570f5f772d073e18cb10a384ce6ad41c9b 100644 (file)
@@ -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;
     }
index 8bbabc741c6b697334d0f4c5fd706a9b4c1c9fe6..405edfc1387acc6bc94ee1c6841bbcb95c101479 100644 (file)
@@ -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");