Commit 10822e2f authored by Owen Taylor's avatar Owen Taylor Committed by Owen Taylor
Browse files

Fix reversed > that was causing Home to go to end of previous line.

Tue Nov 14 20:13:06 2000  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtktextlayout.c (gtk_text_layout_move_iter_to_line_end): Fix
	reversed > that was causing Home to go to end of previous line.

	* gtk/gtkimcontextsimple.c (gtk_im_context_simple_filter_keypress): Ignore
	modified-keypresses (leave for bindings.)

	* modules/input/Makefile.am: Remove useless -export-dynamic
	from module LDFLAGS.
parent 703944fd
Tue Nov 14 20:13:06 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtktextlayout.c (gtk_text_layout_move_iter_to_line_end): Fix
reversed > that was causing Home to go to end of previous line.
* gtk/gtkimcontextsimple.c (gtk_im_context_simple_filter_keypress): Ignore
modified-keypresses (leave for bindings.)
* modules/input/Makefile.am: Remove useless -export-dynamic
from module LDFLAGS.
2000-11-14 Havoc Pennington <hp@redhat.com>
* gdk/gdkpango.c (gdk_draw_layout_line): Draw underlines one pixel
......
Tue Nov 14 20:13:06 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtktextlayout.c (gtk_text_layout_move_iter_to_line_end): Fix
reversed > that was causing Home to go to end of previous line.
* gtk/gtkimcontextsimple.c (gtk_im_context_simple_filter_keypress): Ignore
modified-keypresses (leave for bindings.)
* modules/input/Makefile.am: Remove useless -export-dynamic
from module LDFLAGS.
2000-11-14 Havoc Pennington <hp@redhat.com>
* gdk/gdkpango.c (gdk_draw_layout_line): Draw underlines one pixel
......
Tue Nov 14 20:13:06 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtktextlayout.c (gtk_text_layout_move_iter_to_line_end): Fix
reversed > that was causing Home to go to end of previous line.
* gtk/gtkimcontextsimple.c (gtk_im_context_simple_filter_keypress): Ignore
modified-keypresses (leave for bindings.)
* modules/input/Makefile.am: Remove useless -export-dynamic
from module LDFLAGS.
2000-11-14 Havoc Pennington <hp@redhat.com>
* gdk/gdkpango.c (gdk_draw_layout_line): Draw underlines one pixel
......
Tue Nov 14 20:13:06 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtktextlayout.c (gtk_text_layout_move_iter_to_line_end): Fix
reversed > that was causing Home to go to end of previous line.
* gtk/gtkimcontextsimple.c (gtk_im_context_simple_filter_keypress): Ignore
modified-keypresses (leave for bindings.)
* modules/input/Makefile.am: Remove useless -export-dynamic
from module LDFLAGS.
2000-11-14 Havoc Pennington <hp@redhat.com>
* gdk/gdkpango.c (gdk_draw_layout_line): Draw underlines one pixel
......
Tue Nov 14 20:13:06 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtktextlayout.c (gtk_text_layout_move_iter_to_line_end): Fix
reversed > that was causing Home to go to end of previous line.
* gtk/gtkimcontextsimple.c (gtk_im_context_simple_filter_keypress): Ignore
modified-keypresses (leave for bindings.)
* modules/input/Makefile.am: Remove useless -export-dynamic
from module LDFLAGS.
2000-11-14 Havoc Pennington <hp@redhat.com>
* gdk/gdkpango.c (gdk_draw_layout_line): Draw underlines one pixel
......
Tue Nov 14 20:13:06 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtktextlayout.c (gtk_text_layout_move_iter_to_line_end): Fix
reversed > that was causing Home to go to end of previous line.
* gtk/gtkimcontextsimple.c (gtk_im_context_simple_filter_keypress): Ignore
modified-keypresses (leave for bindings.)
* modules/input/Makefile.am: Remove useless -export-dynamic
from module LDFLAGS.
2000-11-14 Havoc Pennington <hp@redhat.com>
* gdk/gdkpango.c (gdk_draw_layout_line): Draw underlines one pixel
......
Tue Nov 14 20:13:06 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtktextlayout.c (gtk_text_layout_move_iter_to_line_end): Fix
reversed > that was causing Home to go to end of previous line.
* gtk/gtkimcontextsimple.c (gtk_im_context_simple_filter_keypress): Ignore
modified-keypresses (leave for bindings.)
* modules/input/Makefile.am: Remove useless -export-dynamic
from module LDFLAGS.
2000-11-14 Havoc Pennington <hp@redhat.com>
* gdk/gdkpango.c (gdk_draw_layout_line): Draw underlines one pixel
......
......@@ -20,6 +20,7 @@
#include <stdlib.h>
#include <gdk/gdkkeysyms.h>
#include "gtkaccelgroup.h"
#include "gtksignal.h"
#include "gtkimcontextsimple.h"
......@@ -915,7 +916,6 @@ check_table (GtkIMContextSimple *context_simple,
return FALSE;
}
static gboolean
gtk_im_context_simple_filter_keypress (GtkIMContext *context,
GdkEventKey *event)
......@@ -927,11 +927,15 @@ gtk_im_context_simple_filter_keypress (GtkIMContext *context,
int n_compose = 0;
int i;
/* Ignore modifier key presses
/* Ignore modifier key presses, and any presses with modifiers set
*/
for (i=0; i < G_N_ELEMENTS (gtk_compose_ignore); i++)
if (event->keyval == gtk_compose_ignore[i])
return FALSE;
if (event->state &
(gtk_accelerator_get_default_mod_mask () & ~GDK_SHIFT_MASK))
return FALSE;
/* Then, check for compose sequences
*/
......
......@@ -2511,7 +2511,7 @@ gtk_text_layout_move_iter_to_line_end (GtkTextLayout *layout,
* to next line on a forced break not at whitespace. Real fix
* is to keep track of whether marks are at leading or trailing edge?
*/
if (direction < 0 && layout_line->length > 0)
if (direction > 0 && layout_line->length > 0)
gtk_text_iter_prev_char (iter);
break;
......
......@@ -35,16 +35,16 @@ LDADDS = @STRIP_BEGIN@ \
moduledir = $(libdir)/gtk-2.0/$(GTK_VERSION)/immodules
module_LTLIBRARIES = im-cyrillic-translit.la im-xim.la im-viqr.la im-thai-broken.la
im_cyrillic_translit_la_LDFLAGS = -rpath $(libdir) -export-dynamic -avoid-version -module
im_cyrillic_translit_la_LDFLAGS = -rpath $(libdir) -avoid-version -module
im_cyrillic_translit_la_SOURCES = imcyrillic-translit.c
im_thai_broken_la_LDFLAGS = -rpath $(libdir) -export-dynamic -avoid-version -module
im_thai_broken_la_LDFLAGS = -rpath $(libdir) -avoid-version -module
im_thai_broken_la_SOURCES = imthai-broken.c
im_viqr_la_LDFLAGS = -rpath $(libdir) -export-dynamic -avoid-version -module
im_viqr_la_LDFLAGS = -rpath $(libdir) -avoid-version -module
im_viqr_la_SOURCES = imviqr.c
im_xim_la_LDFLAGS = -rpath $(libdir) -export-dynamic -avoid-version -module
im_xim_la_LDFLAGS = -rpath $(libdir) -avoid-version -module
im_xim_la_SOURCES = \
gtkimcontextxim.c \
gtkimcontextxim.h \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment