aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-08-06 02:53:56 +0800
committerDan Winship <danw@src.gnome.org>2000-08-06 02:53:56 +0800
commit8a79e9aa2635cbcf0a719402ccac8d4497ad673f (patch)
tree18ac7f56abb4155ee10b3b944441eba34d60036d /widgets/table
parent51df4b80b2784ddedb81484bafc590ee1df32115 (diff)
downloadgsoc2013-evolution-8a79e9aa2635cbcf0a719402ccac8d4497ad673f.tar.gz
gsoc2013-evolution-8a79e9aa2635cbcf0a719402ccac8d4497ad673f.tar.zst
gsoc2013-evolution-8a79e9aa2635cbcf0a719402ccac8d4497ad673f.zip
fix
* e-table.c (e_table_get_{next,prev}_row_sorted): fix svn path=/trunk/; revision=4553
Diffstat (limited to 'widgets/table')
-rw-r--r--widgets/table/e-table.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/widgets/table/e-table.c b/widgets/table/e-table.c
index c56d4ff931..d9cbbc4779 100644
--- a/widgets/table/e-table.c
+++ b/widgets/table/e-table.c
@@ -932,9 +932,9 @@ e_table_get_next_row_sorted (ETable *e_table,
if (e_table->sorter) {
int i;
i = e_table_sorter_model_to_sorted(e_table->sorter, model_row);
- if (i < e_table_model_row_count(e_table->model)) {
+ if (i < e_table_model_row_count(e_table->model) - 1) {
i++;
- return e_table_sorter_sorted_to_model(e_table->sorter, model_row);
+ return e_table_sorter_sorted_to_model(e_table->sorter, i);
} else
return -1;
} else
@@ -953,7 +953,7 @@ e_table_get_prev_row_sorted (ETable *e_table,
i = e_table_sorter_model_to_sorted(e_table->sorter, model_row);
i--;
if (i >= 0)
- return e_table_sorter_sorted_to_model(e_table->sorter, model_row);
+ return e_table_sorter_sorted_to_model(e_table->sorter, i);
else
return -1;
} else
n title='2013-09-03 16:49:46 +0800'>2013-09-031-2/+1 * Add an explicit dependency on pkgconfbapt2013-09-0312-29/+15 * Add an explicit dependency on pkgconfbapt2013-09-032-11/+4 * Add an explicit dependency on pkgconfbapt2013-09-031-6/+2 * Add an explicit dependency on pkgconfbapt2013-09-033-8/+4 * Add an explicit dependency on pkgconfbapt2013-09-031-1/+1 * Add an explicit dependency on pkgconfbapt2013-09-031-5/+2 * Add an explicit dependency on pkgconfbapt2013-09-031-5/+2 * Add an explicit dependency on pkgconfbapt2013-09-021-5/+2 * Add an explicit dependency on pkgconfigbapt2013-09-021-1/+1 * Convert to USES=pkgconfigbapt2013-09-021-7/+2 * Convert USE_GNOME=pkgconfig to USES=pkgconfigbapt2013-09-021-7/+3 * Remove expired ports:rene2013-09-015-111/+0 * - update to 1.23rm2013-08-313-3/+11 * - Disconnect ports removed in r325546bdrewery2013-08-291-2/+0 * Update to latest GNUstep core libraries.theraven2013-08-2913-194/+10 * Update horde-kronolith to 4.1.3mm2013-08-282-3/+3 * Horde package update:mm2013-08-282-3/+3 * - Update to 1.8.004.20130819sunpoet2013-08-262-5/+5 * . USES+=iconv;bsam2013-08-241-4/+3 * - Update to version 1.4.6, which fixed a parallel build race conditiondanfe2013-08-215-44/+18 * Update to 0.21.mat2013-08-202-4/+3 * - Update to 1.8.004.20130816sunpoet2013-08-182-6/+7 * Replace USE_GCC=4.6+ and USE_GCC=4.4+ by USE_GCC=yes.gerald2013-08-181-1/+1 * - Remove MAKE_JOBS_SAFE variableak2013-08-1540-40/+0 * - Trim Makefile header down to two lines per recent agreementsdanfe2013-08-121-11/+11 * Update to new upstream RC2.mandree2013-08-123-8/+4 * deskutils/libopensync-plugin-vformat-devel: update to 0.39wg2013-08-083-20/+14 * - Update to 0.9.42madpilot2013-08-063-10/+21 * Update to 1.3.31kevlo2013-08-053-9/+46 * - Convert to new perl frameworkmat2013-08-033-5/+5 * - Convert to new perl frameworkmat2013-08-031-1/+2 * - Convert to new perl frameworkaz2013-08-031-1/+2 * Update deskutils/plamsa-applet-cwp to 1.8.1.dbn2013-08-022-3/+3 * deskutils/egroupware: update to 1.8.004.20130727wg2013-08-012-5/+5 * Update dosage to 2.5antoine2013-07-302-8/+4 * Fix my email address again, using proper @FreeBSD.org stylingfeld2013-07-291-2/+2 * Remove MAKE_JOBS_SAFE from all my ports.dbn2013-07-291-1/+0 * deskutils/tomboy: Not jobs safemarino2013-07-272-9/+6 * deskutils/metabar has gonebapt2013-07-271-1/+0 * KDE3 and QT3 expired on 2013-07-01, remove these ports.rene2013-07-27121-4833/+0 * Fix build with linker that does not copy the dt_need from libraries it linksbapt2013-07-261-9/+3 * - Update to version 1.3.0pawel2013-07-254-25/+11 * Update my email address throughout the treefeld2013-07-251-2/+2 * Remove MAKE_JOBS_SAFE which is now default.ehaupt2013-07-244-4/+0 * - Update to 2.4.1miwi2013-07-222-17/+25 * - Update to 3.0.5miwi2013-07-223-21/+8 * - Changed my emailvg2013-07-226-7/+7 * Don't touch $HOME/.config during build stagemakc2013-07-222-0/+2 * Fix plistmakc2013-07-221-1/+0 * - convert desktopfileutils to USESrm2013-07-181-5/+2 * - attempt to fix fetch from third-partyjgh2013-07-181-1/+4 * Horde package update:mm2013-07-178-12/+12 * Looking at http://pointyhat-west.isc.freebsd.org/errorlogs/amd64-errorlogs/e....obrien2013-07-121-1/+1 * - Update to 7.31.0sunpoet2013-07-1210-13/+16 * Use ${OPT}_DISTFILES for additional distfilepawel2013-07-111-4/+1 * Convert my ports to current standardspawel2013-07-112-18/+7 * Convert from USE_MOTIF to USES=motifbapt2013-07-104-14/+8 * - Drop all my portspav2013-07-103-3/+3 * Remove useless USE_DISPLAYbapt2013-07-091-3/+1 * - Convert USE_GMAKE to USES=gmakeehaupt2013-07-093-4/+3 * deskutils/py-send2trash: add missing PKGNAMEPREFIXwg2013-07-091-1/+2 * deskutils/py-send2trash: small package that sends files to the Trashwg2013-07-095-0/+56 * Reconvert USE_ICONV to USES=iconvbapt2013-07-071-2/+1 * - convert USE_GMAKE to USES=gmakejgh2013-07-064-6/+4 * - Fix COMMENTmartymac2013-07-052-11/+3 * Update the KDE Software Compilation to 4.10.5.rakuco2013-07-0511-114/+19 * Update to 1.0 RC1. Changes:mandree2013-07-043-22/+40 * - Fix 100% CPU usage at startup [1]martymac2013-07-042-8/+20 * - update to 1.1.0 and bump shared libraries in respective portsjgh2013-07-031-1/+2 * - Fix sound playbacklme2013-07-032-5/+30 * Update to KDE SC 4.10.4, proudly presented by the KDE on FreeBSD team.rakuco2013-07-0311-15/+60 * - Update to 0.9.37madpilot2013-07-024-8/+95 * Update deskutils/plasma-applet-cwp to 1.8.0.dbn2013-06-292-4/+3 * - Update to 1.7.2ak2013-06-292-3/+3 * deskutils/cairo-dock-plugins: update to 3.2.1wg2013-06-2923-506/+224 * deskutils/cairo-dock: update to 3.2.1wg2013-06-2915-340/+346 * Convert to USES=imakebapt2013-06-297-42/+14 * New USES imake to handle the dependency on imake.bapt2013-06-282-8/+4 * Update dosage to 2.4antoine2013-06-262-3/+3 * Update multimedia/ffmpeg1 to 1.2.1mm2013-06-251-0/+1 * deskutils/egroupware: update to 20130620wg2013-06-232-5/+5 * Set MASTER_SITES to FreeBSD's mirror.rakuco2013-06-231-1/+2 * - Update to 0.5.6olivierd2013-06-212-5/+3 * Horde package update:mm2013-06-192-3/+3 * - Trim Makefile headeramdmi32013-06-171-5/+1 * - Update to 6.2miwi2013-06-172-4/+4 * - Remove www/libxul19, is has been vulnerable and unsupported upstream forflo2013-06-152-2/+7 * - Trim Makefile headerantoine2013-06-142-5/+5 * . fix build with clang (CPPFLAGS+=-Wno-return-type);bsam2013-06-141-8/+6 * Remove expired port:rene2013-06-13