[1mdiff --git a/src/ui/keys.h b/src/ui/keys.h[m
[1mindex cc56f8d1..8bcd4f53 100644[m
[1m--- a/src/ui/keys.h[m
[1m+++ b/src/ui/keys.h[m
[36m@@ -36,6 +36,7 @@[m [mSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */[m
[32m+[m[32m# define rightSidebar_KeyModifier KMOD_CTRL[m
#else[m
[36m@@ -47,6 +48,7 @@[m [mSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */[m
[32m+[m[32m# define rightSidebar_KeyModifier KMOD_SHIFT | KMOD_CTRL[m
#endif[m
[m
[1mdiff --git a/src/ui/sidebarwidget.c b/src/ui/sidebarwidget.c[m
[1mindex 121e9a7c..ca4404d5 100644[m
[1m--- a/src/ui/sidebarwidget.c[m
[1m+++ b/src/ui/sidebarwidget.c[m
[36m@@ -580,7 +580,8 @@[m [mvoid setWidth_SidebarWidget(iSidebarWidget *d, int width) {[m
[m
iBool handleBookmarkEditorCommands_SidebarWidget_(iWidget *editor, const char *cmd) {[m
if (equal_Command(cmd, "bmed.accept") || equal_Command(cmd, "cancel")) {[m
[31m- iSidebarWidget *d = findWidget_App("sidebar");[m
[32m+[m[32m iAssert(startsWith_String(id_Widget(editor), "bmed."));[m
[32m+[m[32m iSidebarWidget d = findWidget_App(cstr_String(id_Widget(editor)) + 5); / bmed.sidebar */[m
if (equal_Command(cmd, "bmed.accept")) {[m
const iString *title = text_InputWidget(findChild_Widget(editor, "bmed.title"));[m
const iString *url = text_InputWidget(findChild_Widget(editor, "bmed.url"));[m
[36m@@ -719,6 +720,7 @@[m [mstatic iBool processEvent_SidebarWidget_(iSidebarWidget *d, const SDL_Event *ev)[m
if (d->mode == bookmarks_SidebarMode && item) {[m
setFlags_Widget(w, disabled_WidgetFlag, iTrue);[m
iWidget *dlg = makeBookmarkEditor_Widget();[m
[32m+[m[32m setId_Widget(dlg, format_CStr("bmed.%s", cstr_String(id_Widget(w))));[m
iBookmark *bm = get_Bookmarks(bookmarks_App(), item->id);[m
setText_InputWidget(findChild_Widget(dlg, "bmed.title"), &bm->title);[m
setText_InputWidget(findChild_Widget(dlg, "bmed.url"), &bm->url);[m
[36m@@ -800,6 +802,7 @@[m [mstatic iBool processEvent_SidebarWidget_(iSidebarWidget *d, const SDL_Event *ev)[m
if (isCommand_Widget(w, ev, "feed.entry.edit")) {[m
setFlags_Widget(w, disabled_WidgetFlag, iTrue);[m
iWidget *dlg = makeBookmarkEditor_Widget();[m
[32m+[m[32m setId_Widget(dlg, format_CStr("bmed.%s", cstr_String(id_Widget(w))));[m
setText_InputWidget(findChild_Widget(dlg, "bmed.title"), &feedBookmark->title);[m
setText_InputWidget(findChild_Widget(dlg, "bmed.url"), &feedBookmark->url);[m
setText_InputWidget(findChild_Widget(dlg, "bmed.tags"), &feedBookmark->tags);[m
[1mdiff --git a/src/ui/window.c b/src/ui/window.c[m
[1mindex 53300d24..6441a2e3 100644[m
[1m--- a/src/ui/window.c[m
[1m+++ b/src/ui/window.c[m
[36m@@ -511,6 +511,11 @@[m [mstatic void setupUserInterface_Window(iWindow *d) {[m
addAction_Widget(d->root, '3', KMOD_PRIMARY, "sidebar.mode arg:2 toggle:1");[m
addAction_Widget(d->root, '4', KMOD_PRIMARY, "sidebar.mode arg:3 toggle:1");[m
addAction_Widget(d->root, '5', KMOD_PRIMARY, "sidebar.mode arg:4 toggle:1");[m
[32m+[m[32m addAction_Widget(d->root, '1', rightSidebar_KeyModifier, "sidebar2.mode arg:0 toggle:1");[m
[32m+[m[32m addAction_Widget(d->root, '2', rightSidebar_KeyModifier, "sidebar2.mode arg:1 toggle:1");[m
[32m+[m[32m addAction_Widget(d->root, '3', rightSidebar_KeyModifier, "sidebar2.mode arg:2 toggle:1");[m
[32m+[m[32m addAction_Widget(d->root, '4', rightSidebar_KeyModifier, "sidebar2.mode arg:3 toggle:1");[m
[32m+[m[32m addAction_Widget(d->root, '5', rightSidebar_KeyModifier, "sidebar2.mode arg:4 toggle:1");[m
}[m
}[m
[m
text/plain
This content has been proxied by September (ba2dc).