From 9b78286812e124bac89bb1b31a9e038e65df0da4 Mon Sep 17 00:00:00 2001 From: John Sullivan Date: Thu, 26 Apr 2001 22:37:56 +0000 Subject: [PATCH] Made the emblems column wider to fit the title "Emblems" (in English, in the default font). Made the emblems column in the search results view match the one in the standard list view. Pavel wants to implement images as column titles, but this is passable if that doesn't get done. * src/file-manager/fm-list-view.c: (real_get_column_specification): Widen the emblems column. * src/file-manager/fm-search-list-view.c: (real_get_emblems_column), (real_get_link_column): Swap positions of name/emblems columns. (real_get_column_specification): Widen the emblems column. --- ChangeLog | 17 +++++++++++++++++ src/file-manager/fm-list-view.c | 2 +- src/file-manager/fm-search-list-view.c | 16 ++++++++-------- 3 files changed, 26 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index 593b4563d..f74f8e219 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,20 @@ +2001-04-26 John Sullivan + + Made the emblems column wider to fit the title "Emblems" (in + English, in the default font). Made the emblems column in the + search results view match the one in the standard list view. + + Pavel wants to implement images as column titles, but this is + passable if that doesn't get done. + + * src/file-manager/fm-list-view.c: (real_get_column_specification): + Widen the emblems column. + + * src/file-manager/fm-search-list-view.c: + (real_get_emblems_column), + (real_get_link_column): Swap positions of name/emblems columns. + (real_get_column_specification): Widen the emblems column. + 2001-04-26 John Sullivan Search results view has been broken for awhile without anyone diff --git a/src/file-manager/fm-list-view.c b/src/file-manager/fm-list-view.c index 02174b812..257dfd538 100644 --- a/src/file-manager/fm-list-view.c +++ b/src/file-manager/fm-list-view.c @@ -2368,7 +2368,7 @@ real_get_column_specification (FMListView *view, fm_list_view_column_set (specification, "emblems", _("Emblems"), NAUTILUS_FILE_SORT_BY_EMBLEMS, - 20, 40, 300, FALSE); + 20, 52, 300, FALSE); break; case 3: fm_list_view_column_set (specification, diff --git a/src/file-manager/fm-search-list-view.c b/src/file-manager/fm-search-list-view.c index 67e7e0310..ff861a2f1 100644 --- a/src/file-manager/fm-search-list-view.c +++ b/src/file-manager/fm-search-list-view.c @@ -509,13 +509,13 @@ real_get_emblem_names_to_exclude (FMDirectoryView *view) static int real_get_emblems_column (FMListView *view) { - return 1; + return 2; } static int real_get_link_column (FMListView *view) { - return 2; + return 1; } static void @@ -531,17 +531,17 @@ real_get_column_specification (FMListView *view, 0, 0, 0, FALSE); break; case 1: - fm_list_view_column_set (specification, - "emblems", NULL, - NAUTILUS_FILE_SORT_BY_EMBLEMS, - 20, 20, 300, FALSE); - break; - case 2: fm_list_view_column_set (specification, "name", _("Name"), NAUTILUS_FILE_SORT_BY_NAME, 30, 150, 300, FALSE); break; + case 2: + fm_list_view_column_set (specification, + "emblems", _("Emblems"), + NAUTILUS_FILE_SORT_BY_EMBLEMS, + 20, 52, 300, FALSE); + break; case 3: fm_list_view_column_set (specification, "where", _("Where"),