Updating branch refs/heads/master
to 9bebcf32ccebcdebfe83c0bdf20230695255d176 (commit)
from 75a1d90233ed7084c1bc0a69f33339729484915b (commit)
commit 9bebcf32ccebcdebfe83c0bdf20230695255d176
Author: Christian Dywan <[email protected]>
Date: Sun Feb 13 18:05:20 2011 +0100
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 df29dd2..bee0725 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 8bbabc7..405edfc 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");
_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits