aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/e-table
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-05-10 01:17:34 +0800
committerChris Lahey <clahey@src.gnome.org>2000-05-10 01:17:34 +0800
commitac7def3e9d77081212b6a0537fa86e2172701634 (patch)
treeafdd991f258bf9027536c301915fbf1957adaea6 /widgets/e-table
parente7996a7ab1879d9602cb03824b9bcfda9a92f43f (diff)
downloadgsoc2013-evolution-ac7def3e9d77081212b6a0537fa86e2172701634.tar.gz
gsoc2013-evolution-ac7def3e9d77081212b6a0537fa86e2172701634.tar.zst
gsoc2013-evolution-ac7def3e9d77081212b6a0537fa86e2172701634.zip
Fixed etssv_remove.
2000-05-09 Christopher James Lahey <clahey@helixcode.com> * e-table-subset-variable.c: Fixed etssv_remove. svn path=/trunk/; revision=2951
Diffstat (limited to 'widgets/e-table')
-rw-r--r--widgets/e-table/ChangeLog4
-rw-r--r--widgets/e-table/e-table-subset-variable.c13
2 files changed, 15 insertions, 2 deletions
diff --git a/widgets/e-table/ChangeLog b/widgets/e-table/ChangeLog
index 150496f4bf..2f0457a3ff 100644
--- a/widgets/e-table/ChangeLog
+++ b/widgets/e-table/ChangeLog
@@ -1,3 +1,7 @@
+2000-05-09 Christopher James Lahey <clahey@helixcode.com>
+
+ * e-table-subset-variable.c: Fixed etssv_remove.
+
2000-05-08 Christopher James Lahey <clahey@helixcode.com>
* e-cell-text.c: Make multi-line texts display properly. Fixed
diff --git a/widgets/e-table/e-table-subset-variable.c b/widgets/e-table/e-table-subset-variable.c
index c42d53842b..a8948c5e68 100644
--- a/widgets/e-table/e-table-subset-variable.c
+++ b/widgets/e-table/e-table-subset-variable.c
@@ -68,6 +68,7 @@ etssv_remove (ETableSubsetVariable *etssv,
ETableModel *etm = E_TABLE_MODEL(etssv);
ETableSubset *etss = E_TABLE_SUBSET(etssv);
int i;
+ int ret_val = FALSE;
for (i = 0; i < etss->n_map; i++){
if (etss->map_table[i] == row) {
@@ -75,10 +76,18 @@ etssv_remove (ETableSubsetVariable *etssv,
etss->n_map --;
if (!etm->frozen)
e_table_model_changed (etm);
- return TRUE;
+ ret_val = TRUE;
+ break;
}
}
- return FALSE;
+
+ for (i = 0; i < etss->n_map; i++){
+ if (etss->map_table[i] > row) {
+ etss->map_table[i] --;
+ }
+ }
+
+ return ret_val;
}
static void
mmit/audio/beast?h=gnome-3.24&id=6e502d51f3f34690037f4f33bb5cf0f0f50e2ca7'>Most commonly used build systems support silent builds, when theyamdmi32016-09-101-2/+1 | | | | | | | | | | | | | | | | | | | | | | | | | | | | hide actual commands executed and only show short summary line (like "CC foo.c"). CMake and ninja enable this by default, some autotools using ports do as well. This is unacceptable because we need complete build logs at any time, so we now switch to verbose build logs unconditionally. Note that this change deliberately affects ALL builds and not only package builds on cluster, because we need to be sure that user experiencing failure can always provide informative build log regardless of settings and without rerunning the build. Change summary: - Always do verbose builds for cmake, ninja and GNU configure (the latter includes check if --disable-silent-rules is actually supported by the configure script; there are isolated cases when it's not true) - Remove CMAKE_VERBOSE, NINJA_VERBOSE and CONFIGURE_ARGS=--disable-silent-rules from all ports which set them for this is no longer needed - Revert hacks for --disable-silent-rules support priorly committed to biology/ncbi-blast+ and net-p2p/mldonkey - no longer needed as well Submitted by: amdmi3 Reviewed by: mat Exp-run by: antoine Approved by: portmgr (mat, antoine) Differential Revision: D7534 * Cleanup patches, a* categories.mat2016-07-272-7/+7 | | | | | | | Rename them to follow the make makepatch naming, and regenerate them. With hat: portmgr Sponsored by: Absolight * Remove ${PORTSDIR}/ from dependencies, Mk and categories a, b, and c.mat2016-04-011-5/+5 | | | | | With hat: portmgr Sponsored by: Absolight * Update MASTER_SITES; still in the same domain.gerald2016-02-101-1/+1 | * audio/beast is not jobs safemarino2016-01-151-0/+2 | | | | It tries to use gxkmarshal.h before it's completely generated * mark some of the ports that don't build on powerpc64 for meswills2015-12-141-0/+2 | * - Convert to option helpers, provide better support and defaults for SSEdanfe2015-09-031-19/+11 | | | | | - Remove BROKEN on powerpc statement which is no longer true these days - Wrap overly long USES line and move OPTIONS block lower while I'm here * Part 1 of adding USE_GNOME=intltool to ports that require it.kwm2015-08-031-1/+1 | | | | | | | | The reason for this is that in the GNOME 3.16 update, USE_GNOME gtk20 and gtk30 don't pull intltool in anymore. PR: 201980 Exp-run by: antoine@ * MASTER_SITES cleanup.mat2015-05-141-2/+1 | | | | | | | | | | | | | | | | | | | - Replace ${MASTER_SITE_FOO} with FOO. - Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9% of the time.) - Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and no hint of what it should be was present. - Fix some logic. - And generally, make things more simple and easy to understand. While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and SAMBA macros. Also, replace some EXTRACT_SUFX occurences with USES=tar:*. Checked by: make fetch-urlall-list With hat: portmgr Sponsored by: Absolight * Remove redundant @exec (USES=shared-mime-info handles it already)bapt2015-01-201-2/+0 | * Require building with GCC 4.8 due to non-conforming C++ code.gerald2015-01-191-1/+2 | | | | PR: 196849, 196712 * Get rid of gnomehierbapt2014-12-211-2/+3 | * Replace USES=libtool:oldver with USES=libtool or USES=libtool:keepla intijl2014-12-091-1/+1 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the 32 ports that still use it. Bump PORTREVISION on their dependent ports except the ones that depend on these: audio/libogg audio/libvorbis devel/pcre ftp/curl graphics/jpeg graphics/libart_lgpl graphics/tiff textproc/expat2 textproc/libxslt In these cases the same trick as in the recent gettext update is used. The ports install a symlink with the old library version. When enough of their dependent ports have had regular updates the remaining ones can get a PORTREVISION bump and the links can be removed. Also remove the devel/pcre dependency from USE_GNOME=glib20. It causes over 2200 packages to depend on devel/pcre while less than 200 actually link with it. The glib20 package still depends on devel/pcre so this should not make a difference for ports with USE_GNOME=glib20. Also, libdata/pkgconfig/glib-2.0.pc lists pcre as a private library so USE_GNOME=glib20 should not propagate it. PR: 195724 Exp-run by: antoine Approved by: portmgr (antoine) * Allow building without /usr/bin/perl symlinkantoine2014-11-291-1/+2 | | | | PR: ports/195494 * Cleanup plistbapt2014-10-201-25/+0 | * Update the default version of GCC in the Ports Collection from GCC 4.7.4gerald2014-09-111-1/+1 | | | | | | | | | | to GCC 4.8.3. Part II, Bump PORTREVISIONs. PR: 192025 Tested by: antoine (-exp runs) Approved by: portmgr (implicit) * lang/guile:tijl2014-08-311-1/+1 | | | | | | | | | - Add USES=libtool and bump dependent ports - Replace Makefile.* patches with USES=pathfix - Replace config.h.in patch with USE_AUTOTOOLS=autoheader - Avoid automake by touching Makefile.in Approved by: portmgr (implicit, bump unstaged port) * - Add missing USES=libtool, drop .la filesamdmi32014-06-112-12/+6 | | | | - Add missing files to plist * - USE_(BZIP2|XZ) -> USES= tar:(bzip2|xz)ohauer2014-06-01