Commit 95607cce authored byBrowse files
new function which works on all widgets in the dialog except the cancel
2004-08-10 Michael Natterer <email@example.com> * app/widgets/gimpfiledialog.[ch] (gimp_file_dialog_set_sensitive): new function which works on all widgets in the dialog except the cancel button. Remember if the active progress is cancelable and added two booleans "busy" and "canceled". Added GtkDialog::response() implementation which, if the dialog is busy, cancels the active progress and sets the dialog's "canceled" state. Moved the progress bar right above the action area so it is next to the cancel button and in the same place for both open and save dialogs. * app/gui/file-open-dialog.c * app/gui/file-save-dialog.c: use the new API to make image loading and saving cancelable again. * app/widgets/gimpthumbbox.c: use the same stuff to make thumbnailing cancelable. Increased the minimum height a bit so it doesn't resize when the progress bars are shown.
Showing with 244 additions and 126 deletions