summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-09-27 00:00:24 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-09-27 00:00:24 (EDT)
commit035b78ca77835a239497421ea49f89915f65c508 (patch)
treedda6e3b17b04576b11924ce70b2456ba18529c67
parent5ab96c54f328fcfd17b755b70baee2e88b143eb3 (diff)
downloadmarquee-035b78ca77835a239497421ea49f89915f65c508.zip
marquee-035b78ca77835a239497421ea49f89915f65c508.tar.gz
marquee-035b78ca77835a239497421ea49f89915f65c508.tar.bz2
MqTabBody: Add menu item mnemonics
-rw-r--r--src/tab-body.c40
1 files changed, 20 insertions, 20 deletions
diff --git a/src/tab-body.c b/src/tab-body.c
index 131ce98..3c8d4de 100644
--- a/src/tab-body.c
+++ b/src/tab-body.c
@@ -159,12 +159,12 @@ context_menu_link_cb(WebKitContextMenu *context_menu, MqTabBody *body)
{
ITEM_DECLS
- NEW_CUSTOM_ITEM(open_link, "Open Link");
- NEW_CUSTOM_ITEM(open_link_tab, "Open Link in New Tab");
- NEW_CUSTOM_ITEM(open_link_win, "Open Link in New Window");
+ NEW_CUSTOM_ITEM(open_link, "_Open Link");
+ NEW_CUSTOM_ITEM(open_link_tab, "Open Link in New _Tab");
+ NEW_CUSTOM_ITEM(open_link_win, "Open Link in New _Window");
NEW_SEPARATOR_ITEM(); /* --- */
- NEW_STOCK_ITEM(DOWNLOAD_LINK_TO_DISK); /* Download Linked File */
- NEW_STOCK_ITEM(COPY_LINK_TO_CLIPBOARD); /* Copy Link Location */
+ NEW_STOCK_ITEM(DOWNLOAD_LINK_TO_DISK); /* _Download Linked File */
+ NEW_STOCK_ITEM(COPY_LINK_TO_CLIPBOARD); /* Copy Link Loc_ation */
}
static void
@@ -172,13 +172,13 @@ context_menu_image_cb(WebKitContextMenu *context_menu, MqTabBody *body)
{
ITEM_DECLS
- NEW_CUSTOM_ITEM(open_image, "Open Image");
+ NEW_CUSTOM_ITEM(open_image, "Open _Image");
NEW_CUSTOM_ITEM(open_image_tab, "Open Image in New Tab");
NEW_CUSTOM_ITEM(open_image_win, "Open Image in New Window");
NEW_SEPARATOR_ITEM(); /* --- */
- NEW_STOCK_ITEM(DOWNLOAD_IMAGE_TO_DISK); /* Save Image As */
- NEW_STOCK_ITEM(COPY_IMAGE_TO_CLIPBOARD); /* Copy Image */
- NEW_STOCK_ITEM(COPY_IMAGE_URL_TO_CLIPBOARD); /* Copy Image Address */
+ NEW_STOCK_ITEM(DOWNLOAD_IMAGE_TO_DISK); /* Sa_ve Image As */
+ NEW_STOCK_ITEM(COPY_IMAGE_TO_CLIPBOARD); /* Cop_y Image */
+ NEW_STOCK_ITEM(COPY_IMAGE_URL_TO_CLIPBOARD); /* Copy Image _Address */
}
static void
@@ -187,27 +187,27 @@ context_menu_media_cb(WebKitContextMenu *context_menu, GList *media_ctrl_items,
{
ITEM_DECLS
- /* Play/Pause, Mute */
+ /* _Play/_Pause, _Mute */
RESTORE_ITEMS(media_ctrl_items);
- /* Toggle Media Controls, Toggle Media Loop Playback, Switch Video to
- * Fullscreen */
+ /* _Toggle Media Controls, Toggle Media _Loop Playback, Switch Video to
+ * _Fullscreen */
RESTORE_ITEMS(media_toggle_items);
NEW_SEPARATOR_ITEM(); /* --- */
if (is_video) {
- NEW_CUSTOM_ITEM(open_video, "Open Video");
+ NEW_CUSTOM_ITEM(open_video, "_Open Video");
NEW_CUSTOM_ITEM(open_video_tab, "Open Video in New Tab");
NEW_CUSTOM_ITEM(open_video_win, "Open Video in New Window");
NEW_SEPARATOR_ITEM(); /* --- */
- NEW_STOCK_ITEM(DOWNLOAD_VIDEO_TO_DISK); /* Download Video */
- /* Copy Video Link Location */
+ NEW_STOCK_ITEM(DOWNLOAD_VIDEO_TO_DISK); /* Download _Video */
+ /* Cop_y Video Link Location */
NEW_STOCK_ITEM(COPY_VIDEO_LINK_TO_CLIPBOARD);
} else {
- NEW_CUSTOM_ITEM(open_audio, "Open Audio");
+ NEW_CUSTOM_ITEM(open_audio, "_Open Audio");
NEW_CUSTOM_ITEM(open_audio_tab, "Open Audio in New Tab");
NEW_CUSTOM_ITEM(open_audio_win, "Open Audio in New Window");
NEW_SEPARATOR_ITEM(); /* --- */
- NEW_STOCK_ITEM(DOWNLOAD_AUDIO_TO_DISK); /* Download Audio */
- /* Copy Audio Link Location */
+ NEW_STOCK_ITEM(DOWNLOAD_AUDIO_TO_DISK); /* Download _Audio */
+ /* Cop_y Audio Link Location */
NEW_STOCK_ITEM(COPY_AUDIO_LINK_TO_CLIPBOARD);
}
}
@@ -218,9 +218,9 @@ context_menu_document_cb(WebKitContextMenu *context_menu, GList *nav_items,
{
ITEM_DECLS_NO_CUSTOM
- RESTORE_ITEMS(nav_items); /* Back, Forward, Stop, Reload */
+ RESTORE_ITEMS(nav_items); /* _Back, _Forward, _Stop, _Reload */
NEW_SEPARATOR_ITEM(); /* --- */
- NEW_STOCK_ITEM(SELECT_ALL); /* Select All */
+ NEW_STOCK_ITEM(SELECT_ALL); /* Select _All */
NEW_SEPARATOR_ITEM(); /* --- */
/* View Page Source */
}