Summary: | Send message shortcut missing in the shortcut dialog | ||
---|---|---|---|
Product: | [Unmaintained] telepathy | Reporter: | Julius Schwartzenberg <julius.schwartzenberg> |
Component: | text-ui | Assignee: | Telepathy Bugs <kde-telepathy-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mklapetek, scarpino |
Priority: | NOR | Keywords: | junior-jobs |
Version: | 0.5.1 | ||
Target Milestone: | Future | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/telepathy-text-ui/baf176a92a7025f938731cc5814d934ee0a8a76e | Version Fixed In: | |
Sentry Crash Report: |
Description
Julius Schwartzenberg
2012-10-23 18:14:44 UTC
I'm marking this as a junior job. Adding the custom shortcut should be fairly easy with adding a KAction that will have a shortcut set on it plus setConfigurable(true). The KAction triggered() signal should be connected to the slot that is called from the current keyPressEvent. The tricky part is figuring out how to disable the enter key when there is a custom shortcut for this action. One possible solution could be checking if that KAction has a shortcut or not - if yes, don't send the message with enter key. Git commit baf176a92a7025f938731cc5814d934ee0a8a76e by Roman Nazarenko. Committed on 01/03/2013 at 15:13. Pushed by romann into branch 'master'. Send Message shortcut is now configurable REVIEW: 109202 M +12 -1 app/chat-window.cpp M +1 -0 app/chat-window.h M +35 -11 lib/chat-text-edit.cpp M +4 -0 lib/chat-text-edit.h http://commits.kde.org/telepathy-text-ui/baf176a92a7025f938731cc5814d934ee0a8a76e |