From 05ea2b9420f1e238e43fdbde79db6c0861af3e1e Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Fri, 27 Nov 2015 01:52:04 +0300 Subject: [PATCH] .gtkrc: update for Pidgin Use key to edit text in Pidgin, use key to send. --- .gtkrc-2.0 | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.gtkrc-2.0 b/.gtkrc-2.0 index 28bc74e..f690556 100644 --- a/.gtkrc-2.0 +++ b/.gtkrc-2.0 @@ -96,13 +96,15 @@ gtk-key-theme-name = "Default" #to let you edit your gaim key bindings #gtk-can-change-accels = 1 -# In Gaim 2.0.0 and later, you can set custom keybindings in your theme. Here +# In Pidgin you can set custom keybindings in your theme. Here # is an example to follow -#binding "my-bindings" -#{ +binding "my-bindings" +{ # enter inserts a newline -# bind "Return" { "insert-at-cursor" ("\n") } + bind "Return" { "insert-at-cursor" ("\n") } +# ctrl-enter sends message + bind "Return" { "message_send" () } # ctrl-s sends message # bind "s" { "message_send" () } # shift-f1 toggles bold @@ -113,8 +115,8 @@ gtk-key-theme-name = "Default" # bind "F3" { "format_function_toggle" (4) } # Ctrl-f1 resets the formatting # bind "F1" { "format_function_clear" () } -#} -#widget "*gaim_gtkconv_entry" binding "my-bindings" +} +widget "*pidgin_conv_entry" binding "my-bindings" ############################# #misc -- 2.39.2