Kaydet (Commit) 9fec7e06 authored tarafından Enrico Tröger's avatar Enrico Tröger

Fix Undo/Redo button state after the last document has been closed.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4940 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst eaa90a78
2010-05-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/ui_utils.c:
Fix Undo/Redo button state after the last document has been closed.
2010-05-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de> 2010-05-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* plugins/classbuilder.c: * plugins/classbuilder.c:
......
...@@ -673,6 +673,7 @@ gboolean document_remove_page(guint page_num) ...@@ -673,6 +673,7 @@ gboolean document_remove_page(guint page_num)
/*on_notebook1_switch_page(GTK_NOTEBOOK(main_widgets.notebook), NULL, 0, NULL);*/ /*on_notebook1_switch_page(GTK_NOTEBOOK(main_widgets.notebook), NULL, 0, NULL);*/
ui_set_window_title(NULL); ui_set_window_title(NULL);
ui_save_buttons_toggle(FALSE); ui_save_buttons_toggle(FALSE);
ui_update_popup_reundo_items(NULL);
ui_document_buttons_update(); ui_document_buttons_update();
build_menu_update(NULL); build_menu_update(NULL);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment