aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorMike Kestner <mkestner@ximian.com>2003-03-19 01:33:02 +0800
committerMike Kestner <mkestner@src.gnome.org>2003-03-19 01:33:02 +0800
commitede2b62efc5abfa70e7bf95b8aba1c53817161ec (patch)
treee0008a00e55ad9e7b89112b2edcc41b170b590cc /widgets
parentaa46ddf8069bea0cad7d3b647216fd07c9d10bf4 (diff)
downloadgsoc2013-evolution-ede2b62efc5abfa70e7bf95b8aba1c53817161ec.tar
gsoc2013-evolution-ede2b62efc5abfa70e7bf95b8aba1c53817161ec.tar.gz
gsoc2013-evolution-ede2b62efc5abfa70e7bf95b8aba1c53817161ec.tar.bz2
gsoc2013-evolution-ede2b62efc5abfa70e7bf95b8aba1c53817161ec.tar.lz
gsoc2013-evolution-ede2b62efc5abfa70e7bf95b8aba1c53817161ec.tar.xz
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')
-rw-r--r--widgets/table/e-table-header-item.c16
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));
}
}