From d552415abe4e1359f55cc5543d162e95290cd9c2 Mon Sep 17 00:00:00 2001 From: TingPing Date: Sun, 29 Sep 2013 01:47:10 -0400 Subject: [PATCH] Add default keybindings for italics and underline --- src/fe-gtk/fkeys.c | 2 ++ src/fe-gtk/menu.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/fe-gtk/fkeys.c b/src/fe-gtk/fkeys.c index 054e919c..52f5d901 100644 --- a/src/fe-gtk/fkeys.c +++ b/src/fe-gtk/fkeys.c @@ -392,6 +392,8 @@ key_load_defaults () "C\no\nInsert in Buffer\nD1:\nD2!\n\n"\ "C\nb\nInsert in Buffer\nD1:\nD2!\n\n"\ "C\nk\nInsert in Buffer\nD1:\nD2!\n\n"\ + "C\ni\nInsert in Buffer\nD1:\nD2!\n\n"\ + "C\nu\nInsert in Buffer\nD1:\nD2!\n\n"\ "S\nNext\nChange Selected Nick\nD1!\nD2!\n\n"\ "S\nPrior\nChange Selected Nick\nD1:Up\nD2!\n\n"\ "None\nNext\nScroll Page\nD1:Down\nD2!\n\n"\ diff --git a/src/fe-gtk/menu.c b/src/fe-gtk/menu.c index feb80157..72ba6b50 100644 --- a/src/fe-gtk/menu.c +++ b/src/fe-gtk/menu.c @@ -1719,7 +1719,7 @@ static struct mymenu mymenu[] = { #endif {0, 0, 0, M_SEP, 0, 0, 0}, /* 11 */ #define DETACH_OFFSET (12) - {0, menu_detach, GTK_STOCK_REDO, M_MENUSTOCK, 0, 0, 1, GDK_KEY_i}, /* 12 */ + {0, menu_detach, GTK_STOCK_REDO, M_MENUSTOCK, 0, 0, 1}, /* 12 */ #define CLOSE_OFFSET (13) {0, menu_close, GTK_STOCK_CLOSE, M_MENUSTOCK, 0, 0, 1, GDK_KEY_w}, {0, 0, 0, M_SEP, 0, 0, 0},