diff options
author | Mike Kestner <mkestner@ximian.com> | 2003-03-19 01:33:02 +0800 |
---|---|---|
committer | Mike Kestner <mkestner@src.gnome.org> | 2003-03-19 01:33:02 +0800 |
commit | ede2b62efc5abfa70e7bf95b8aba1c53817161ec (patch) | |
tree | e0008a00e55ad9e7b89112b2edcc41b170b590cc /widgets/table | |
parent | aa46ddf8069bea0cad7d3b647216fd07c9d10bf4 (diff) | |
download | gsoc2013-evolution-ede2b62efc5abfa70e7bf95b8aba1c53817161ec.tar.gz gsoc2013-evolution-ede2b62efc5abfa70e7bf95b8aba1c53817161ec.tar.zst gsoc2013-evolution-ede2b62efc5abfa70e7bf95b8aba1c53817161ec.zip |
mimic Gtk's sort arrows (ethi_start_drag): mimic Gtk's sort arrows
2003-03-18 Mike Kestner <mkestner@ximian.com>
* 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
Diffstat (limited to 'widgets/table')
-rw-r--r-- | widgets/table/e-table-header-item.c | 16 |
1 files changed, 8 insertions, 8 deletions
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)); } } |