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
This commit is contained in:
Enrico Tröger 2010-05-22 19:38:49 +00:00
parent eaa90a7852
commit 9fec7e064e
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,9 @@
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>
* plugins/classbuilder.c:

View File

@ -673,6 +673,7 @@ gboolean document_remove_page(guint page_num)
/*on_notebook1_switch_page(GTK_NOTEBOOK(main_widgets.notebook), NULL, 0, NULL);*/
ui_set_window_title(NULL);
ui_save_buttons_toggle(FALSE);
ui_update_popup_reundo_items(NULL);
ui_document_buttons_update();
build_menu_update(NULL);
}