From d872565a6d2ff4f3aee40371dcff632abeff5ca7 Mon Sep 17 00:00:00 2001 From: Sven Neumann Date: Thu, 16 Oct 2003 00:08:05 +0000 Subject: [PATCH] increased default undo-size to 4 MB. 2003-10-16 Sven Neumann * app/config/gimpcoreconfig.c: increased default undo-size to 4 MB. * app/config/gimprc-blurbs.h (UNDO_SIZE_BLURB): attempt to improve the description of the undo-size setting. * app/gui/image-menu.c (image_menu_entries): changed the default shortcut for Redo from the unergonmic Shift-Ctrl-Z to Ctrl-Y. --- ChangeLog | 10 ++++++++++ app/config/gimpcoreconfig.c | 2 +- app/config/gimprc-blurbs.h | 3 ++- app/gui/image-menu.c | 2 +- app/menus/image-menu.c | 2 +- 5 files changed, 15 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index fc81ad6b18..07b32ac226 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2003-10-16 Sven Neumann + + * app/config/gimpcoreconfig.c: increased default undo-size to 4 MB. + + * app/config/gimprc-blurbs.h (UNDO_SIZE_BLURB): attempt to improve + the description of the undo-size setting. + + * app/gui/image-menu.c (image_menu_entries): changed the default + shortcut for Redo from the unergonmic Shift-Ctrl-Z to Ctrl-Y. + 2003-10-15 Michael Natterer * app/tools/gimpmoveoptions.c (gimp_move_options_gui): changed diff --git a/app/config/gimpcoreconfig.c b/app/config/gimpcoreconfig.c index 0a320dd60e..7f9ba90fe2 100644 --- a/app/config/gimpcoreconfig.c +++ b/app/config/gimpcoreconfig.c @@ -222,7 +222,7 @@ gimp_core_config_class_init (GimpCoreConfigClass *klass) GIMP_PARAM_CONFIRM); GIMP_CONFIG_INSTALL_PROP_MEMSIZE (object_class, PROP_UNDO_SIZE, "undo-size", UNDO_SIZE_BLURB, - 0, G_MAXULONG, 1 << 20, + 0, G_MAXULONG, 1 << 22, GIMP_PARAM_CONFIRM); GIMP_CONFIG_INSTALL_PROP_PATH (object_class, PROP_PLUGINRC_PATH, diff --git a/app/config/gimprc-blurbs.h b/app/config/gimprc-blurbs.h index b555a1dba1..2089d806a7 100644 --- a/app/config/gimprc-blurbs.h +++ b/app/config/gimprc-blurbs.h @@ -330,7 +330,8 @@ N_("Sets the minimal number of operations that can be undone. More undo " \ #define UNDO_SIZE_BLURB \ N_("Sets an upper limit to the memory that is used per image to keep " \ - "operations on the undo stack.") + "operations on the undo stack. Regardless of this setting, at least " \ + "as many undo-levels as configured can be undone.") #define USE_HELP_BLURB \ N_("When enabled, pressing F1 will open the help browser.") diff --git a/app/gui/image-menu.c b/app/gui/image-menu.c index 790e1a0fa7..1d217ddf34 100644 --- a/app/gui/image-menu.c +++ b/app/gui/image-menu.c @@ -160,7 +160,7 @@ GimpItemFactoryEntry image_menu_entries[] = "", GTK_STOCK_UNDO }, NULL, GIMP_HELP_EDIT_UNDO, NULL }, - { { N_("/Edit/_Redo"), "Z", + { { N_("/Edit/_Redo"), "Y", edit_redo_cmd_callback, 0, "", GTK_STOCK_REDO }, NULL, diff --git a/app/menus/image-menu.c b/app/menus/image-menu.c index 790e1a0fa7..1d217ddf34 100644 --- a/app/menus/image-menu.c +++ b/app/menus/image-menu.c @@ -160,7 +160,7 @@ GimpItemFactoryEntry image_menu_entries[] = "", GTK_STOCK_UNDO }, NULL, GIMP_HELP_EDIT_UNDO, NULL }, - { { N_("/Edit/_Redo"), "Z", + { { N_("/Edit/_Redo"), "Y", edit_redo_cmd_callback, 0, "", GTK_STOCK_REDO }, NULL,