aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-06-21 14:19:58 +0800
committerChris Lahey <clahey@src.gnome.org>2000-06-21 14:19:58 +0800
commit3eed16a6cd5c50cd21e558a677cd329443b1a4b7 (patch)
tree6eff1e559c641902a95cc5bc018cab54aac5b9d9
parent56b15f58e0a3cd3bc8bc4103dcab403b49cda7b1 (diff)
downloadgsoc2013-evolution-3eed16a6cd5c50cd21e558a677cd329443b1a4b7.tar.gz
gsoc2013-evolution-3eed16a6cd5c50cd21e558a677cd329443b1a4b7.tar.zst
gsoc2013-evolution-3eed16a6cd5c50cd21e558a677cd329443b1a4b7.zip
Fix a bug with intial vertical scroll.
2000-06-21 Christopher James Lahey <clahey@helixcode.com> * widgets/e-text/e-text.c: Fix a bug with intial vertical scroll. svn path=/trunk/; revision=3672
-rw-r--r--ChangeLog8
-rw-r--r--widgets/e-text/e-text.c1
-rw-r--r--widgets/text/e-text.c1
3 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 2aeef9ad86..dd96e6fc65 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,12 +1,16 @@
2000-06-21 Christopher James Lahey <clahey@helixcode.com>
- * widgets/e-text/e-text.c, widgets/e-text/e-text.h: Removed the
- "x" and "y" arguments to EText. Added vertical scrolling.
+ * widgets/e-text/e-text.c: Fix a bug with intial vertical scroll.
+
+2000-06-21 Christopher James Lahey <clahey@helixcode.com>
* notes/e-note.c, widgets/meeting-time-sel/e-meeting-time-sel.c,
widgets/shortcut-bar/e-icon-bar.c: Removed the usage of "x" and
"y" arguments to EText.
+ * widgets/e-text/e-text.c, widgets/e-text/e-text.h: Removed the
+ "x" and "y" arguments to EText. Added vertical scrolling.
+
2000-06-20 Damon Chaplin <damon@helixcode.com>
* widgets/meeting-time-sel/e-meeting-time-sel-item.c:
diff --git a/widgets/e-text/e-text.c b/widgets/e-text/e-text.c
index 70174749f8..614c87af97 100644
--- a/widgets/e-text/e-text.c
+++ b/widgets/e-text/e-text.c
@@ -2857,6 +2857,7 @@ e_text_command(ETextEventProcessor *tep, ETextEventProcessorCommand *command, gp
}
}
lines --;
+ i --;
x = gdk_text_width(text->font,
lines->text,
text->selection_end - (lines->text - text->text));
diff --git a/widgets/text/e-text.c b/widgets/text/e-text.c
index 70174749f8..614c87af97 100644
--- a/widgets/text/e-text.c
+++ b/widgets/text/e-text.c
@@ -2857,6 +2857,7 @@ e_text_command(ETextEventProcessor *tep, ETextEventProcessorCommand *command, gp
}
}
lines --;
+ i --;
x = gdk_text_width(text->font,
lines->text,
text->selection_end - (lines->text - text->text));
17:52:31 +0800'>2011-01-061-1/+1 * - add missing dependeciesdinoex2011-01-043-3/+33 * LICENSE GPLv2dinoex2010-06-041-0/+1 * Bounce PORTREVISION for gettext-related ports. Have fun, ya'll.ade2010-05-311-1/+1 * - update to 1.4.1dinoex2010-03-281-1/+1 * - update to jpeg-8dinoex2010-02-051-0/+1 * - fix option WITH_NLSdinoex2009-12-261-0/+2 * - update to 2.2dinoex2009-12-267-69/+51 * - bump all port that indirectly depends on libjpeg and have not yet been bump...dinoex2009-07-311-0/+1 * - add LICENSE:dinoex2009-02-161-0/+2 * - update to 2.1dinoex2008-12-213-79/+23 * - update to 2.0dinoex2008-07-293-8/+30 * Bump portrevision due to upgrade of devel/gettext.edwin2008-06-061-1/+1 * - use gtk20 and make it defaultdinoex2008-05-051-1/+3 * - use gtk20 and make it defaultdinoex2008-05-051-7/+13 * - Remove unneeded dependency from gtk12/gtk20 [1]miwi2008-04-201-1/+0 * - clean X11BASEdinoex2008-03-291-2/+2 * - set USE_XORGdinoex2008-03-181-3/+5 * - Chase devel/sdl12 shlib version bumpmiwi2008-03-131-0/+1 * Remove always-false/true conditions based on OSVERSION 500000edwin2007-10-041-5/+0 * - update to 1.22dinoex2007-08-159-103/+35 * - fix display problems with xorg7dinoex2007-06-122-1/+23 * - Welcome X.org 7.2 \o/.flz2007-05-201-0/+1 * - add locale/hudinoex2007-03-171-0/+1 * - update to 1.21dinoex2007-03-135-13/+14 * - Add support for joysticksdinoex2007-03-044-1/+34 * - Remove support for xfree86-3pav2007-02-031-4/+1 * - Update devel/sdl12 to version 1.2.11. Now we employ stock SDL directorystas2006-09-201-0/+1 * - upodate to 1.20dinoex2006-09-08