gimp/app/actions
Michael Natterer 4f97f7a5f9 Made the file open and save dialogs use the last used folder instead of
2005-01-13  Michael Natterer  <mitch@gimp.org>

	Made the file open and save dialogs use the last used folder
	instead of defaulting to current directory. Fixes bug #162385.

	* app/widgets/gimpfiledialog.[ch] (gimp_file_dialog_set_uri):
	removed this function because it had no functionality except
	creating usability problems.

	* app/actions/file-commands.c: use gtk_file_chooser_set_uri()
	instead but *only* if we already have an uri from an alread open
	image or the document hinstory.

	* app/widgets/gimpfiledialog.c (gimp_file_dialog_set_image): set
	the file chooser's uri only if we have an uri from the image
	itself. Leave the current folder untouched otherwise and just set
	the current name (e.g. "Untitled").

	* app/dialogs/file-save-dialog.c (file_save_dialog_save_image): on
	successful save, remember the used uri by attaching it to the
	"gimp" instance.

	(file_save_dialog_new): set the last saved uri's folder on the
	newly created file save dialog.
2005-01-13 17:41:48 +00:00
..
.cvsignore More GtkAction stuff (still unused): 2004-04-19 14:54:24 +00:00
Makefile.am Don't use deprecated GtkToolbar API in GimpTextEditor: 2004-11-04 14:24:32 +00:00
actions-types.h configure.in added new directory app/dialogs and link libappdialogs.c into 2004-09-13 15:15:23 +00:00
actions.c get gimp, display or image from a context only if it isn't NULL. Fixes 2004-12-16 13:26:35 +00:00
actions.h removed enum GimpContextSelectType. 2004-06-23 00:23:25 +00:00
brushes-actions.c Action code review and pre-release consistency cleanup: 2004-10-18 11:29:58 +00:00
brushes-actions.h app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
buffers-actions.c Action code review and pre-release consistency cleanup: 2004-10-18 11:29:58 +00:00
buffers-actions.h app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
buffers-commands.c app/actions/buffers-commands.c app/actions/file-commands.c 2004-09-20 14:43:46 +00:00
buffers-commands.h Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
channels-actions.c added boolean property "value-variable" which specifies if the 2004-11-18 16:04:41 +00:00
channels-actions.h app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
channels-commands.c app/actions/channels-commands.c app/core/gimpchannel-select.c 2004-10-26 14:45:25 +00:00
channels-commands.h When there are variants of actions with and without dialog, let the 2004-10-23 00:53:48 +00:00
colormap-actions.c added boolean property "value-variable" which specifies if the 2004-11-18 16:04:41 +00:00
colormap-actions.h app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
colormap-commands.c removed the "Edit Color" dialog callbacks and use 2004-10-24 18:32:24 +00:00
colormap-commands.h Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
colormap-editor-actions.c added boolean property "value-variable" which specifies if the 2004-11-18 16:04:41 +00:00
colormap-editor-actions.h app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
colormap-editor-commands.c removed the "Edit Color" dialog callbacks and use 2004-10-24 18:32:24 +00:00
colormap-editor-commands.h Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
context-actions.c added boolean property "value-variable" which specifies if the 2004-11-18 16:04:41 +00:00
context-actions.h app/actions/Makefile.am app/actions/context-actions.[ch] added new action 2004-06-15 15:42:50 +00:00
context-commands.c app/actions/context-actions.c applied a heavily modified patch from David 2004-09-07 12:47:35 +00:00
context-commands.h app/actions/context-actions.c applied a heavily modified patch from David 2004-09-07 12:47:35 +00:00
data-commands.c app/actions/plug-in-commands.c app/actions/templates-commands.c ported 2004-10-13 15:48:44 +00:00
data-commands.h app/actions/brushes-actions.c app/actions/gradients-actions.c 2004-09-27 10:45:49 +00:00
debug-actions.c updated app/actions/makefile.msc app/menus/makefile.msc : (new files) 2004-07-11 21:53:17 +00:00
debug-actions.h app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
debug-commands.c configure.in app/Makefile.am app/menus/.cvsignore app/menus/Makefile.am 2004-05-06 07:41:53 +00:00
debug-commands.h app/actions/debug-actions.c app/actions/debug-commands.[ch] added action & 2004-05-05 15:54:42 +00:00
dialogs-actions.c app/actions/colormap-editor-actions.c app/actions/dialogs-actions.c 2004-10-22 14:43:43 +00:00
dialogs-actions.h app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
dialogs-commands.c purely cosmetic. 2004-10-14 14:12:40 +00:00
dialogs-commands.h Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
dockable-actions.c changed menu label from "Show Image Menu" to "Show Image Selection". 2004-10-27 15:59:52 +00:00
dockable-actions.h app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
dockable-commands.c Fix a bunch of warnings from Sparse: 2004-11-14 02:50:33 +00:00
dockable-commands.h Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
documents-actions.c Action code review and pre-release consistency cleanup: 2004-10-18 11:29:58 +00:00
documents-actions.h app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
documents-commands.c Bill Skaggs <weskaggs@primate.ucdavis.edu> 2004-12-26 17:11:31 +00:00
documents-commands.h Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
drawable-actions.c added boolean property "value-variable" which specifies if the 2004-11-18 16:04:41 +00:00
drawable-actions.h app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
drawable-commands.c renamed *levels-auto to *levels-stretch 2004-11-01 16:05:19 +00:00
drawable-commands.h renamed *levels-auto to *levels-stretch 2004-11-01 16:05:19 +00:00
edit-actions.c added new function copy_region_nocow() as a workaround for the fact that 2004-12-12 14:01:08 +00:00
edit-actions.h app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
edit-commands.c added new function copy_region_nocow() as a workaround for the fact that 2004-12-12 14:01:08 +00:00
edit-commands.h added new function copy_region_nocow() as a workaround for the fact that 2004-12-12 14:01:08 +00:00
error-console-actions.c added boolean property "value-variable" which specifies if the 2004-11-18 16:04:41 +00:00
error-console-actions.h app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
error-console-commands.c added gimp_text_buffer_save() which saves a GtkTextBuffer's contents to a 2004-10-24 22:26:11 +00:00
error-console-commands.h added gimp_text_buffer_save() which saves a GtkTextBuffer's contents to a 2004-10-24 22:26:11 +00:00
file-actions.c don't forget to initialize the "value_variable" boolean of 2004-12-02 18:29:56 +00:00
file-actions.h app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
file-commands.c Made the file open and save dialogs use the last used folder instead of 2005-01-13 17:41:48 +00:00
file-commands.h For the sake of completeness, added a GUI for the hidden "Open as Layer" 2004-09-21 12:08:30 +00:00
fonts-actions.c Action code review and pre-release consistency cleanup: 2004-10-18 11:29:58 +00:00
fonts-actions.h app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
fonts-commands.c added action_data_get_context() and macro return_if_no_context(). 2004-05-11 16:05:21 +00:00
fonts-commands.h Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
gradient-editor-actions.c if the dialog is insensitive, disable all actions which modify the 2004-12-21 00:01:47 +00:00
gradient-editor-actions.h app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
gradient-editor-commands.c if the dialog is insensitive, disable all actions which modify the 2004-12-21 00:01:47 +00:00
gradient-editor-commands.h app/widgets/gimpgradienteditor.[ch] added public APIs for zooming the 2004-10-24 20:38:35 +00:00
gradients-actions.c Action code review and pre-release consistency cleanup: 2004-10-18 11:29:58 +00:00
gradients-actions.h app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
gradients-commands.c Action code review and pre-release consistency cleanup: 2004-10-18 11:29:58 +00:00
gradients-commands.h Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
help-actions.c Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
help-actions.h app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
help-commands.c added some utility functions to get a Gimp, GimpImage, GimpDisplay and 2004-05-03 14:03:51 +00:00
help-commands.h Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
image-actions.c added boolean property "value-variable" which specifies if the 2004-11-18 16:04:41 +00:00
image-actions.h app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
image-commands.c converted error messages that should never appear to warnings. 2004-11-14 22:01:13 +00:00
image-commands.h app/dialogs/Makefile.am new files for the Print Size dialog that is still 2004-11-13 22:27:39 +00:00
images-actions.c Action code review and pre-release consistency cleanup: 2004-10-18 11:29:58 +00:00
images-actions.h app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
images-commands.c app/actions/images-commands.[ch] made some public functions private or 2004-10-15 15:13:53 +00:00
images-commands.h app/actions/images-commands.[ch] made some public functions private or 2004-10-15 15:13:53 +00:00
layers-actions.c added boolean property "value-variable" which specifies if the 2004-11-18 16:04:41 +00:00
layers-actions.h app/actions/layers-actions.[ch] app/actions/layers-commands.[ch] added 2004-08-20 22:32:14 +00:00
layers-commands.c do not set the "layers-mask-add" action insensitive if there's no alpha 2004-10-28 10:53:44 +00:00
layers-commands.h When there are variants of actions with and without dialog, let the 2004-10-23 00:53:48 +00:00
makefile.msc [new file] app/dialogs/Makefile.am : added to EXTRA_DIST 2004-11-21 14:22:45 +00:00
palette-editor-actions.c added boolean property "value-variable" which specifies if the 2004-11-18 16:04:41 +00:00
palette-editor-actions.h app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
palette-editor-commands.c removed the just added gimp_palette_insert_entry() and added a "gint 2004-12-31 17:27:57 +00:00
palette-editor-commands.h app/widgets/gimpgradienteditor.[ch] added public APIs for zooming the 2004-10-24 20:38:35 +00:00
palettes-actions.c Action code review and pre-release consistency cleanup: 2004-10-18 11:29:58 +00:00
palettes-actions.h app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
palettes-commands.c app/dialogs/Makefile.am one more dialog split out of actions/. 2004-10-19 14:08:44 +00:00
palettes-commands.h Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
patterns-actions.c Action code review and pre-release consistency cleanup: 2004-10-18 11:29:58 +00:00
patterns-actions.h app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
plug-in-actions.c use the orininal string if plug_in_actions_check_translation() fails 2004-12-31 18:17:57 +00:00
plug-in-actions.h The following fixes have no visible effect because nobody uses 2004-11-18 01:57:13 +00:00
plug-in-commands.c app/actions/plug-in-commands.c GIMP_PROGRESS(NULL) is perfectly valid, no 2005-01-07 19:36:43 +00:00
plug-in-commands.h new function which clears the whole list of data set by plug-ins. 2004-07-26 21:07:15 +00:00
qmask-actions.c Action code review and pre-release consistency cleanup: 2004-10-18 11:29:58 +00:00
qmask-actions.h app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
qmask-commands.c app/dialogs/Makefile.am new files implementing the channel options dialog 2004-10-19 09:17:37 +00:00
qmask-commands.h is a GtkRadioAction callback but behaved like a GtkToggleAction callback. 2004-09-19 21:43:43 +00:00
quick-mask-actions.c Action code review and pre-release consistency cleanup: 2004-10-18 11:29:58 +00:00
quick-mask-actions.h app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
quick-mask-commands.c app/dialogs/Makefile.am new files implementing the channel options dialog 2004-10-19 09:17:37 +00:00
quick-mask-commands.h is a GtkRadioAction callback but behaved like a GtkToggleAction callback. 2004-09-19 21:43:43 +00:00
select-actions.c When there are variants of actions with and without dialog, let the 2004-10-23 00:53:48 +00:00
select-actions.h app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
select-commands.c don't g_return_if_fail() if there is no active drawable, just silently 2004-10-23 19:13:17 +00:00
select-commands.h app/actions/select-actions.c app/actions/select-commands.[ch] 2004-10-20 23:14:24 +00:00
templates-actions.c Action code review and pre-release consistency cleanup: 2004-10-18 11:29:58 +00:00
templates-actions.h app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
templates-commands.c app/dialogs/Makefile.am the new/edit template dialog. 2004-10-22 18:13:46 +00:00
templates-commands.h app/actions/images-commands.[ch] made some public functions private or 2004-10-15 15:13:53 +00:00
text-editor-actions.c Don't use deprecated GtkToolbar API in GimpTextEditor: 2004-11-04 14:24:32 +00:00
text-editor-actions.h Don't use deprecated GtkToolbar API in GimpTextEditor: 2004-11-04 14:24:32 +00:00
text-editor-commands.c Don't use deprecated GtkToolbar API in GimpTextEditor: 2004-11-04 14:24:32 +00:00
text-editor-commands.h Don't use deprecated GtkToolbar API in GimpTextEditor: 2004-11-04 14:24:32 +00:00
tool-options-actions.c don't forget to initialize the "value_variable" boolean of 2004-12-02 18:29:56 +00:00
tool-options-actions.h app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
tool-options-commands.c app/dialogs/Makefile.am one more dialog split out of actions/. 2004-10-19 14:08:44 +00:00
tool-options-commands.h added signal "update" which is G_SIGNAL_RUN_LAST, so handlers can hook in 2004-04-30 15:29:11 +00:00
tools-actions.c app/actions/tools-actions.c app/actions/tools-commands.[ch] applied a 2004-12-31 13:29:39 +00:00
tools-actions.h app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
tools-commands.c app/actions/tools-actions.c app/actions/tools-commands.[ch] applied a 2004-12-31 13:29:39 +00:00
tools-commands.h app/actions/tools-actions.c app/actions/tools-commands.[ch] applied a 2004-12-31 13:29:39 +00:00
vectors-actions.c added boolean property "value-variable" which specifies if the 2004-11-18 16:04:41 +00:00
vectors-actions.h app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
vectors-commands.c app/actions/plug-in-commands.c GIMP_PROGRESS(NULL) is perfectly valid, no 2005-01-07 19:36:43 +00:00
vectors-commands.h When there are variants of actions with and without dialog, let the 2004-10-23 00:53:48 +00:00
view-actions.c app/actions/view-actions.c app/actions/view-commands.[ch] 2005-01-03 16:55:24 +00:00
view-actions.h app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
view-commands.c app/actions/view-actions.c app/actions/view-commands.[ch] 2005-01-03 16:55:24 +00:00
view-commands.h app/actions/view-actions.c app/actions/view-commands.[ch] 2005-01-03 16:55:24 +00:00