make emacs the default key theme. this will make the standard ^U, ^A, ^E

etc emacs commands work by default for gtk+2 apps. orig from pvalchev@.

okay marcm@
This commit is contained in:
kurt 2005-09-07 20:51:14 +00:00
parent 2a408b7cee
commit 3b24ddf582
2 changed files with 15 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.25 2005/09/06 16:51:46 marcm Exp $
# $OpenBSD: Makefile,v 1.26 2005/09/07 20:51:14 kurt Exp $
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
@ -7,8 +7,8 @@ COMMENT-docs= "gtk+-2 documentation"
VERSION= 2.6.10
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

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-gtk_gtksettings_c,v 1.1 2005/09/07 20:51:14 kurt Exp $
--- 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);