From: Paweł Forysiuk Date: Wed, 25 Jul 2012 21:21:05 +0000 (+0200) Subject: Move token to the front in Manage Search Engines X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de4ea9b3bf88987d1eed7e84eefdfca3d56cf1c9;p=midori Move token to the front in Manage Search Engines --- diff --git a/midori/midori-searchaction.c b/midori/midori-searchaction.c index da4f9bd6..6164d33b 100644 --- a/midori/midori-searchaction.c +++ b/midori/midori-searchaction.c @@ -1380,6 +1380,11 @@ midori_search_action_get_dialog (MidoriSearchAction* search_action) gtk_tree_view_column_set_cell_data_func (column, renderer_pixbuf, (GtkTreeCellDataFunc)midori_search_action_dialog_render_tick_cb, treeview, NULL); + renderer_text = gtk_cell_renderer_text_new (); + gtk_tree_view_column_pack_start (column, renderer_text, FALSE); + gtk_tree_view_column_set_cell_data_func (column, renderer_text, + (GtkTreeCellDataFunc)midori_search_action_dialog_render_token, + treeview, NULL); renderer_pixbuf = gtk_cell_renderer_pixbuf_new (); gtk_tree_view_column_pack_start (column, renderer_pixbuf, FALSE); gtk_tree_view_column_set_cell_data_func (column, renderer_pixbuf, @@ -1390,11 +1395,6 @@ midori_search_action_get_dialog (MidoriSearchAction* search_action) gtk_tree_view_column_set_cell_data_func (column, renderer_text, (GtkTreeCellDataFunc)midori_search_action_dialog_render_text, treeview, NULL); - renderer_text = gtk_cell_renderer_text_new (); - gtk_tree_view_column_pack_start (column, renderer_text, TRUE); - gtk_tree_view_column_set_cell_data_func (column, renderer_text, - (GtkTreeCellDataFunc)midori_search_action_dialog_render_token, - treeview, NULL); gtk_tree_view_append_column (GTK_TREE_VIEW (treeview), column); scrolled = gtk_scrolled_window_new (NULL, NULL); gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolled),