This commit is contained in:
Michael Natterer 2005-06-20 19:38:07 +00:00
parent 66b7fe24ba
commit 213deb5bf1
2 changed files with 4 additions and 0 deletions

View File

@ -2,6 +2,7 @@
* app/actions/documents-actions.c * app/actions/documents-actions.c
* app/actions/documents-commands.[ch] * app/actions/documents-commands.[ch]
* app/widgets/gimpdocumentview.c
* app/widgets/gimphelp-ids.h * app/widgets/gimphelp-ids.h
* menus/documents-menu.xml: added "Clear document history" action, * menus/documents-menu.xml: added "Clear document history" action,
button, menu item and confirm dialog (bug #140001). button, menu item and confirm dialog (bug #140001).

View File

@ -145,6 +145,9 @@ gimp_document_view_new (GimpViewType view_type,
GTK_BUTTON (document_view->remove_button), GTK_BUTTON (document_view->remove_button),
GIMP_TYPE_IMAGEFILE); GIMP_TYPE_IMAGEFILE);
gimp_editor_add_action_button (GIMP_EDITOR (editor->view), "documents",
"documents-clear", NULL);
document_view->refresh_button = document_view->refresh_button =
gimp_editor_add_action_button (GIMP_EDITOR (editor->view), "documents", gimp_editor_add_action_button (GIMP_EDITOR (editor->view), "documents",
"documents-recreate-preview", "documents-recreate-preview",