diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2003-04-21 15:15:32 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2003-04-21 15:15:32 +0800 |
commit | 084dd5bc56c73216339521a787684b38e1e10380 (patch) | |
tree | c7264cdca68b7d60ecb08695dc77b8a75b61c79f /www | |
parent | 0fbec17556cb6530adea6e41dd1fac318e7b31b4 (diff) | |
download | marcuscom-ports-084dd5bc56c73216339521a787684b38e1e10380.tar marcuscom-ports-084dd5bc56c73216339521a787684b38e1e10380.tar.gz marcuscom-ports-084dd5bc56c73216339521a787684b38e1e10380.tar.bz2 marcuscom-ports-084dd5bc56c73216339521a787684b38e1e10380.tar.lz marcuscom-ports-084dd5bc56c73216339521a787684b38e1e10380.tar.xz marcuscom-ports-084dd5bc56c73216339521a787684b38e1e10380.tar.zst marcuscom-ports-084dd5bc56c73216339521a787684b38e1e10380.zip |
Fix a bug where the cursor would jump to the top of the page after hitting
return inline.
See http://bugzilla.ximian.com/show_bug.cgi?id=41481 for more details.
Obtained from: GtkHTML CVS
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@679 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'www')
-rw-r--r-- | www/gtkhtml3/Makefile | 1 | ||||
-rw-r--r-- | www/gtkhtml3/files/patch-src_htmlengine.c | 18 | ||||
-rw-r--r-- | www/gtkhtml38/Makefile | 1 | ||||
-rw-r--r-- | www/gtkhtml38/files/patch-src_htmlengine.c | 18 |
4 files changed, 38 insertions, 0 deletions
diff --git a/www/gtkhtml3/Makefile b/www/gtkhtml3/Makefile index c75813dc3..b1de7361c 100644 --- a/www/gtkhtml3/Makefile +++ b/www/gtkhtml3/Makefile @@ -7,6 +7,7 @@ PORTNAME= gtkhtml3 PORTVERSION= 3.0.2 +PORTREVISION= 1 CATEGORIES= www gnome MASTER_SITES= ftp://ftp.ximian.com/pub/ximian-evolution-beta/source/ \ ${MASTER_SITE_GNOME} diff --git a/www/gtkhtml3/files/patch-src_htmlengine.c b/www/gtkhtml3/files/patch-src_htmlengine.c new file mode 100644 index 000000000..440053862 --- /dev/null +++ b/www/gtkhtml3/files/patch-src_htmlengine.c @@ -0,0 +1,18 @@ +--- src/htmlengine.c.orig Mon Apr 21 03:08:19 2003 ++++ src/htmlengine.c Mon Apr 21 03:08:50 2003 +@@ -4142,6 +4142,7 @@ + if (e->editable) { + html_engine_ensure_editable (e); + html_cursor_home (e->cursor, e); ++ e->newPage = FALSE; + } + + g_signal_emit (e, signals [LOAD_DONE], 0); +@@ -4577,6 +4578,7 @@ + if (editable) { + html_engine_ensure_editable (e); + html_cursor_home (e->cursor, e); ++ e->newPage = FALSE; + + if (e->have_focus) + html_engine_setup_blinking_cursor (e); diff --git a/www/gtkhtml38/Makefile b/www/gtkhtml38/Makefile index c75813dc3..b1de7361c 100644 --- a/www/gtkhtml38/Makefile +++ b/www/gtkhtml38/Makefile @@ -7,6 +7,7 @@ PORTNAME= gtkhtml3 PORTVERSION= 3.0.2 +PORTREVISION= 1 CATEGORIES= www gnome MASTER_SITES= ftp://ftp.ximian.com/pub/ximian-evolution-beta/source/ \ ${MASTER_SITE_GNOME} diff --git a/www/gtkhtml38/files/patch-src_htmlengine.c b/www/gtkhtml38/files/patch-src_htmlengine.c new file mode 100644 index 000000000..440053862 --- /dev/null +++ b/www/gtkhtml38/files/patch-src_htmlengine.c @@ -0,0 +1,18 @@ +--- src/htmlengine.c.orig Mon Apr 21 03:08:19 2003 ++++ src/htmlengine.c Mon Apr 21 03:08:50 2003 +@@ -4142,6 +4142,7 @@ + if (e->editable) { + html_engine_ensure_editable (e); + html_cursor_home (e->cursor, e); ++ e->newPage = FALSE; + } + + g_signal_emit (e, signals [LOAD_DONE], 0); +@@ -4577,6 +4578,7 @@ + if (editable) { + html_engine_ensure_editable (e); + html_cursor_home (e->cursor, e); ++ e->newPage = FALSE; + + if (e->have_focus) + html_engine_setup_blinking_cursor (e); |