Mercurial > geeqie.yaz
changeset 1625:922d7508febd
Change the order of columns for editors dialogue
author | mow |
---|---|
date | Thu, 04 Jun 2009 16:07:16 +0000 |
parents | b70603e03eb6 |
children | 94e4a47ccaff |
files | src/desktop_file.c |
diffstat | 1 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/desktop_file.c Sun May 31 13:32:09 2009 +0000 +++ b/src/desktop_file.c Thu Jun 04 16:07:16 2009 +0000 @@ -485,13 +485,13 @@ gtk_tree_view_set_enable_search(GTK_TREE_VIEW(ewl->view), FALSE); column = gtk_tree_view_column_new(); - gtk_tree_view_column_set_title(column, _("Name")); + gtk_tree_view_column_set_title(column, _("Desktop file")); gtk_tree_view_column_set_resizable(column, TRUE); renderer = gtk_cell_renderer_text_new(); gtk_tree_view_column_pack_start(column, renderer, FALSE); - gtk_tree_view_column_add_attribute(column, renderer, "text", DESKTOP_FILE_COLUMN_NAME); + gtk_tree_view_column_add_attribute(column, renderer, "text", DESKTOP_FILE_COLUMN_KEY); gtk_tree_view_append_column(GTK_TREE_VIEW(ewl->view), column); - gtk_tree_view_column_set_sort_column_id(column, DESKTOP_FILE_COLUMN_NAME); + gtk_tree_view_column_set_sort_column_id(column, DESKTOP_FILE_COLUMN_KEY); column = gtk_tree_view_column_new(); gtk_tree_view_column_set_title(column, _("Hidden")); @@ -508,13 +508,13 @@ gtk_tree_view_column_set_alignment(column, 0.5); column = gtk_tree_view_column_new(); - gtk_tree_view_column_set_title(column, _("Desktop file")); + gtk_tree_view_column_set_title(column, _("Name")); gtk_tree_view_column_set_resizable(column, TRUE); renderer = gtk_cell_renderer_text_new(); gtk_tree_view_column_pack_start(column, renderer, FALSE); - gtk_tree_view_column_add_attribute(column, renderer, "text", DESKTOP_FILE_COLUMN_KEY); + gtk_tree_view_column_add_attribute(column, renderer, "text", DESKTOP_FILE_COLUMN_NAME); gtk_tree_view_append_column(GTK_TREE_VIEW(ewl->view), column); - gtk_tree_view_column_set_sort_column_id(column, DESKTOP_FILE_COLUMN_KEY); + gtk_tree_view_column_set_sort_column_id(column, DESKTOP_FILE_COLUMN_NAME); column = gtk_tree_view_column_new(); gtk_tree_view_column_set_title(column, _("Path"));