Skip to content

Commit

Permalink
add alt-L toggle lemma
Browse files Browse the repository at this point in the history
  • Loading branch information
karlkleinpaste committed Jun 25, 2017
1 parent ee4ee4d commit e605785
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
@@ -1,3 +1,7 @@
2017-06-25 karl <charcoal@users.sf.net>

* add Alt-L toggle lemma.

2017-04-23 karl <charcoal@users.sf.net>

* 4.0.5 release.
Expand Down
3 changes: 3 additions & 0 deletions help/C/interface.xml
Expand Up @@ -775,6 +775,9 @@
<listitem>
<para><guibutton>Alt-M</guibutton>: Toggle morphology display.</para>
</listitem>
<listitem>
<para><guibutton>Alt-L</guibutton>: Toggle lemma display.</para>
</listitem>
<listitem>
<para><guibutton>Alt-R</guibutton>: Toggle "red words of Christ" display.</para>
</listitem>
Expand Down
4 changes: 4 additions & 0 deletions src/gnome2/main_window.c
Expand Up @@ -684,6 +684,10 @@ static gboolean on_vbox1_key_press_event(GtkWidget *widget, GdkEventKey *event,
case XK_L:
if (state == GDK_CONTROL_MASK) // Ctrl-L verse entry
gtk_widget_grab_focus(navbar_versekey.lookup_entry);
else if (state == GDK_MOD1_MASK) // Alt-L lemma
kbd_toggle_option((main_check_for_global_option(sM, "ThMLLemma") ||
main_check_for_global_option(sM, "OSISLemma")),
"Lemmas");
break;

case XK_m:
Expand Down

0 comments on commit e605785

Please sign in to comment.