]> spindle.queued.net Git - midori/commitdiff
Fix the order of search engines in the completion
authorChristian Dywan <christian@twotoasts.de>
Sat, 30 Jan 2010 16:39:32 +0000 (17:39 +0100)
committerChristian Dywan <christian@twotoasts.de>
Sat, 30 Jan 2010 16:39:32 +0000 (17:39 +0100)
midori/midori-locationaction.c

index bc47d38aaf8d696060f9c9de6d15ceb8f26824a7..59b8d3c30f3df4d811954a42d6259cc290f7cc37 100644 (file)
@@ -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);