Update the Document menu when Line Breaking/Wrapping were toggled by a keybinding.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3273 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
Enrico Tröger 2008-11-23 16:24:16 +00:00
parent 6f64f53eeb
commit a23e534086
2 changed files with 5 additions and 0 deletions

View File

@ -5,6 +5,9 @@
* src/notebook.c:
Add previously removed tab close icon sizing code for non-Windows
systems.
* src/keybindings.c:
Update the Document menu when Line Breaking/Wrapping were toggled
by a keybinding.
2008-11-22 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>

View File

@ -1686,9 +1686,11 @@ static void cb_func_document_action(guint key_id)
break;
case GEANY_KEYS_DOCUMENT_LINEBREAK:
on_line_breaking1_activate(NULL, NULL);
ui_document_show_hide(doc);
break;
case GEANY_KEYS_DOCUMENT_LINEWRAP:
on_line_wrapping1_toggled(NULL, NULL);
ui_document_show_hide(doc);
break;
case GEANY_KEYS_DOCUMENT_RELOADTAGLIST:
document_update_tag_list(doc, TRUE);