diff options
author | Owen Taylor <otaylor@redhat.com> | 2002-02-09 00:19:29 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2002-02-09 00:19:29 +0000 |
commit | 7b79dfbef85c458a1d4d89b3092312b9c09245ba (patch) | |
tree | d9d374082c85fb6324e9a59c2d270c810b070fec /gtk/gtkbindings.h | |
parent | 6c07eadbbebbb97a104f20834c0c89c2800c46ad (diff) | |
download | gtk+-7b79dfbef85c458a1d4d89b3092312b9c09245ba.tar.gz |
Add a function to delete all bindings add by gtk_binding_parse_binding()
Fri Feb 8 18:46:13 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkbindings.[ch] (_gtk_binding_reset_parsed): Add
a function to delete all bindings add by
gtk_binding_parse_binding() when rereading RC files.
* gtk/gtkrc.c (gtk_rc_reparse_all_for_settings): Reset
binding set content as well as RC content.
* gtk/gtkbindings.c (binding_compose_params): Fix
various GValue handling problems.
* gtk/gtkentry.c (gtk_entry_class_init): Remove bindings
for C-b, C-f, M-b, M-f, C-a, C-e, C-w, C-y, M-space, C-u,
C-k, M-\, M-d, C-d.
* gtk/gtktextview.c (gtk_text_view_class_init): Remove
same bindings as GtkEntry, plus C-n, C-p, C-space
* gtk/gtkrc.key.default gtk/gtkrc.key.emacs gtk/Makefile.am:
Add Emacs and Default key themes.
Diffstat (limited to 'gtk/gtkbindings.h')
-rw-r--r-- | gtk/gtkbindings.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk/gtkbindings.h b/gtk/gtkbindings.h index 93bd46e230..c92f0b5d6e 100644 --- a/gtk/gtkbindings.h +++ b/gtk/gtkbindings.h @@ -58,6 +58,7 @@ struct _GtkBindingSet GSList *class_branch_pspecs; GtkBindingEntry *entries; GtkBindingEntry *current; + guint parsed : 1; /* From RC content */ }; struct _GtkBindingEntry @@ -135,8 +136,6 @@ void gtk_binding_entry_add_signall (GtkBindingSet *binding_set, guint gtk_binding_parse_binding (GScanner *scanner); - - #ifdef __cplusplus } #endif /* __cplusplus */ |