aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk
diff options
context:
space:
mode:
authorUli Heilmeier <uh@heilmeier.eu>2016-05-09 07:14:38 +0200
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2016-05-15 13:51:12 +0000
commit92cce488308c839aa4949de7cb8bfb0f9a3ac5e2 (patch)
tree35c4ace839ba97fe7cb3df32785d06f9e5aaf786 /ui/gtk
parentc38f4e1391cc914271e168606cc1e8adcc973bd8 (diff)
GUI: Add shortcut for packet and capture comment
Added "Ctrl+Alt+C" as shortcut for packet comment. Added "Ctrl+Alt+Shift+C" as shortcut for capture comment (GTK) resp. for Capture File Properties (QT) Bug: 12410 Change-Id: I1ba61a38829c35f3bb166a94cda4bec3901c7ef1 Reviewed-on: https://code.wireshark.org/review/15300 Reviewed-by: Michael Mann <mmann78@netscape.net> Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Diffstat (limited to 'ui/gtk')
-rw-r--r--ui/gtk/main_menubar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/gtk/main_menubar.c b/ui/gtk/main_menubar.c
index 751b7db862..9eaeb71655 100644
--- a/ui/gtk/main_menubar.c
+++ b/ui/gtk/main_menubar.c
@@ -1371,8 +1371,8 @@ static const GtkActionEntry main_menu_bar_entries[] = {
#ifdef WANT_PACKET_EDITOR
{ "/Edit/EditPacket", NULL, "_Edit Packet", NULL, NULL, G_CALLBACK(edit_window_cb) },
#endif
- { "/Edit/AddEditPktComment", WIRESHARK_STOCK_EDIT, "Packet Comment...", NULL, NULL, G_CALLBACK(edit_packet_comment_dlg) },
- { "/Edit/AddEditCaptureComment", NULL, "Capture Comment...", NULL, NULL, G_CALLBACK(edit_capture_comment_dlg_launch) },
+ { "/Edit/AddEditPktComment", WIRESHARK_STOCK_EDIT, "Packet Comment...", "<alt><control>C", NULL, G_CALLBACK(edit_packet_comment_dlg) },
+ { "/Edit/AddEditCaptureComment", NULL, "Capture Comment...", "<shift><alt><control>C", NULL, G_CALLBACK(edit_capture_comment_dlg_launch) },
{ "/View/TimeDisplayFormat", NULL, "_Time Display Format", NULL, NULL, NULL },