From: Christian Dywan Date: Sat, 30 Jan 2010 16:39:32 +0000 (+0100) Subject: Fix the order of search engines in the completion X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5472c5d5dfe327f610cc6eeec1b768147aca93ad;p=midori Fix the order of search engines in the completion --- diff --git a/midori/midori-locationaction.c b/midori/midori-locationaction.c index bc47d38a..59b8d3c3 100644 --- a/midori/midori-locationaction.c +++ b/midori/midori-locationaction.c @@ -466,7 +466,7 @@ midori_location_action_popup_timeout_cb (gpointer data) uri = sokoke_search_uri (katze_item_get_uri (item), action->key); title = g_strdup_printf (_("Search with %s"), katze_item_get_name (item)); style = gtk_widget_get_style (action->treeview); - gtk_list_store_insert_with_values (store, NULL, matches, + gtk_list_store_insert_with_values (store, NULL, matches + i, URI_COL, uri, TITLE_COL, title, YALIGN_COL, 0.25, BACKGROUND_COL, style ? &style->bg[GTK_STATE_NORMAL] : NULL, FAVICON_COL, NULL, -1);