From 8fd6272d612a5eedbff15c4c4b84abcc4a7d93f3 Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Mon, 6 Jan 2003 15:45:17 +0000 Subject: [PATCH] give an example (commented out) how to change the F1 help binding. Fixes 2003-01-06 Michael Natterer * etc/gtkrc_user: give an example (commented out) how to change the F1 help binding. Fixes bug #6920. --- ChangeLog | 5 +++++ etc/gtkrc_user | 15 ++++++++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 8fd1e724b6..eaa665921e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-01-06 Michael Natterer + + * etc/gtkrc_user: give an example (commented out) how to change + the F1 help binding. Fixes bug #6920. + 2003-01-06 Sven Neumann Michael Natterer diff --git a/etc/gtkrc_user b/etc/gtkrc_user index 88cdb7cc8c..74b1ad3e0f 100644 --- a/etc/gtkrc_user +++ b/etc/gtkrc_user @@ -35,7 +35,20 @@ style "gimp-small-style" GimpEditor::button_icon_size = menu } -# class "GtkWidget" style "gimp-small-style" +# Example keybinding remapping F2 -> help + +binding "gimp-help-binding" +{ + bind "F2" { "show-help" (255) } + bind "KP_F2" { "show-help" (255) } + bind "F2" { "show-help" (whats-this) } + bind "KP_F2" { "show-help" (whats-this) } + bind "F2" { "show-help" (tooltip) } + bind "KP_F2" { "show-help" (tooltip) } +} + +# class "GtkWidget" style "gimp-small-style" +# class "GtkWidget" binding "gimp-help-binding" # The dock separator is configurable using it's name: