Now that mozilla has been switched to gtk+2 a lot of people will get
bitten by the fact that for some bizarre reason the emacs mode is no
longer default in the gtk+2 settings as someone pointed out on this
list a few weeks ago.  This means that the standard ^U, ^A, ^E etc.
emacs commands will no longer work - I mean, those even work on IE
on a windows box!!  I think this should definitely be made default.

This patch appears to fix that, so please give it some testing
and/or provide your opinion on it.

Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/gtk+2/Makefile,v
retrieving revision 1.23
diff -u -r1.23 Makefile
--- Makefile    5 Aug 2005 17:15:09 -0000       1.23
+++ Makefile    11 Aug 2005 23:39:44 -0000
@@ -7,8 +7,8 @@
 
 VERSION=                       2.6.9
 DISTNAME=                      gtk+-${VERSION}
-PKGNAME=                       gtk+2-${VERSION}
-PKGNAME-docs=                  gtk+2-docs-${VERSION}
+PKGNAME=                       gtk+2-${VERSION}p0
+PKGNAME-docs=                  gtk+2-docs-${VERSION}p0
 CATEGORIES=                    x11 devel
 
 HOMEPAGE=                      http://www.gtk.org
Index: patches/patch-gtk_gtksettings_c
===================================================================
RCS file: patches/patch-gtk_gtksettings_c
diff -N patches/patch-gtk_gtksettings_c
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-gtk_gtksettings_c     11 Aug 2005 23:38:40 -0000
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- gtk/gtksettings.c.orig     Thu Aug 11 17:38:18 2005
++++ gtk/gtksettings.c  Thu Aug 11 17:38:25 2005
+@@ -326,7 +326,7 @@ gtk_settings_class_init (GtkSettingsClas
+                                              g_param_spec_string 
("gtk-key-theme-name",
+                                                                 P_("Key Theme 
Name"),
+                                                                 P_("Name of 
key theme RC file to load"),
+-                                                                NULL,
++                                                                "Emacs",
+                                                                 
G_PARAM_READWRITE),
+                                              NULL);
+   g_assert (result == PROP_KEY_THEME_NAME);    

Reply via email to