Bug#374640: gedit bug and its fix confirmed

Osamu Aoki osamu at debian.org
Sat Nov 25 16:10:47 UTC 2006


Yes.  The third patch posted in upstream fixed both funny SCIM
(Chinese) and frozed UIM problem.  Just to be sure about which patch, I
attached the patch used here by me for testing.  (There was some offset)

Please upload fixed packege soonish.

>  I still believe Gdk has some serious problems if it lets applications
>  send crap to X11, but that's obviously harder to fix.  :-/

Oh well. It is written in C :-)

Osamu

-------------- next part --------------
--- gedit-window.c.orig	2006-08-27 00:06:00.000000000 +0900
+++ gedit-window.c	2006-11-21 03:54:36.000000000 +0900
@@ -255,7 +255,10 @@
 	if (handled)
 		return TRUE;
 	else
-		return GTK_WIDGET_CLASS (gedit_window_parent_class)->key_press_event (widget, event);
+		if (focused_widget)
+			return gtk_window_activate_key (GTK_WINDOW (widget), event);
+		else
+			return GTK_WIDGET_CLASS (gedit_window_parent_class)->key_press_event (widget, event);
 }
 
 static void


More information about the pkg-gnome-maintainers mailing list