From ede2b62efc5abfa70e7bf95b8aba1c53817161ec Mon Sep 17 00:00:00 2001 From: Mike Kestner Date: Tue, 18 Mar 2003 17:33:02 +0000 Subject: mimic Gtk's sort arrows (ethi_start_drag): mimic Gtk's sort arrows 2003-03-18 Mike Kestner * e-table-header-item.c (ethi_draw): mimic Gtk's sort arrows (ethi_start_drag): mimic Gtk's sort arrows svn path=/trunk/; revision=20340 --- widgets/table/e-table-header-item.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'widgets/table') diff --git a/widgets/table/e-table-header-item.c b/widgets/table/e-table-header-item.c index 31c5386566..3735011dc8 100644 --- a/widgets/table/e-table-header-item.c +++ b/widgets/table/e-table-header-item.c @@ -975,8 +975,8 @@ ethi_draw (GnomeCanvasItem *item, GdkDrawable *drawable, int x, int y, int width g_hash_table_insert (arrows, GINT_TO_POINTER (column.column), GINT_TO_POINTER (column.ascending ? - E_TABLE_COL_ARROW_UP : - E_TABLE_COL_ARROW_DOWN)); + E_TABLE_COL_ARROW_DOWN : + E_TABLE_COL_ARROW_UP)); } length = e_table_sort_info_sorting_get_count(ethi->sort_info); for (i = 0; i < length; i++) { @@ -984,8 +984,8 @@ ethi_draw (GnomeCanvasItem *item, GdkDrawable *drawable, int x, int y, int width g_hash_table_insert (arrows, GINT_TO_POINTER (column.column), GINT_TO_POINTER (column.ascending ? - E_TABLE_COL_ARROW_UP : - E_TABLE_COL_ARROW_DOWN)); + E_TABLE_COL_ARROW_DOWN : + E_TABLE_COL_ARROW_UP)); } } @@ -1171,8 +1171,8 @@ ethi_start_drag (ETableHeaderItem *ethi, GdkEvent *event) arrows, GINT_TO_POINTER (column.column), GINT_TO_POINTER (column.ascending ? - E_TABLE_COL_ARROW_UP : - E_TABLE_COL_ARROW_DOWN)); + E_TABLE_COL_ARROW_DOWN : + E_TABLE_COL_ARROW_UP)); } length = e_table_sort_info_sorting_get_count(ethi->sort_info); for (i = 0; i < length; i++) { @@ -1184,8 +1184,8 @@ ethi_start_drag (ETableHeaderItem *ethi, GdkEvent *event) arrows, GINT_TO_POINTER (column.column), GINT_TO_POINTER (column.ascending ? - E_TABLE_COL_ARROW_UP : - E_TABLE_COL_ARROW_DOWN)); + E_TABLE_COL_ARROW_DOWN : + E_TABLE_COL_ARROW_UP)); } } -- cgit v1.2.3