[Pidgin] #1104: Smiley Shortcut (ctrl+#) missing
Pidgin
trac at pidgin.im
Sun May 20 14:58:52 EDT 2007
#1104: Smiley Shortcut (ctrl+#) missing
---------------------------+------------------------------------------------
Reporter: flash804 | Owner: lschiere
Type: enhancement | Status: closed
Priority: minor | Milestone:
Component: pidgin (gtk) | Version: 2.0
Resolution: invalid | Keywords:
Pending: 0 |
---------------------------+------------------------------------------------
Comment (by rekkanoryo):
The gtkrc can do this, similarly to the enter-inserts-newline stuff:
{{{
binding "my-bindings"
{
bind "<ctrl>1" { "insert-at-cursor" (":-)") }
bind "<ctrl>2" { "insert-at-cursor" (":-(") }
}
widget "*pidgin_conv_entry" binding "my-bindings"
}}}
and so on. We have been in the habit of not doing things in the UI that
GTK can handle more simply or more flexibly. In this case, it happens to
be a "more flexibly" argument that wins, as you can define arbitrary
emoticons to whatever shortcuts you want. This theoretically could be
added to the Theme Control plugin (or a similarly-intended plugin), I
imagine.
--
Ticket URL: <http://developer.pidgin.im/ticket/1104#comment:6>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list