mirror of https://github.com/GNOME/gimp.git
lower the upper limit for "undo-levels", mainly for getting a smaller
2007-10-18 Sven Neumann <sven@gimp.org> * app/config/gimpcoreconfig.c: lower the upper limit for "undo-levels", mainly for getting a smaller entry in the Preferences dialog. * libgimpwidgets/gimpmemsizeentry.c (gimp_memsize_entry_new): seven digits are enough for a memsize entry. svn path=/trunk/; revision=23869
This commit is contained in:
parent
331de72411
commit
511579f4ce
|
@ -1,3 +1,8 @@
|
|||
2007-10-18 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* libgimpwidgets/gimpmemsizeentry.c (gimp_memsize_entry_new):
|
||||
seven digits are enough for a memsize entry.
|
||||
|
||||
2007-10-18 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* libgimpwidgets/gimppropwidgets.c (gimp_prop_size_entry_new):
|
||||
|
|
|
@ -286,7 +286,7 @@ gimp_core_config_class_init (GimpCoreConfigClass *klass)
|
|||
GIMP_CONFIG_PARAM_AGGREGATE);
|
||||
GIMP_CONFIG_INSTALL_PROP_INT (object_class, PROP_UNDO_LEVELS,
|
||||
"undo-levels", UNDO_LEVELS_BLURB,
|
||||
0, G_MAXINT, 5,
|
||||
0, 1 << 20, 5,
|
||||
GIMP_PARAM_STATIC_STRINGS |
|
||||
GIMP_CONFIG_PARAM_CONFIRM);
|
||||
GIMP_CONFIG_INSTALL_PROP_MEMSIZE (object_class, PROP_UNDO_SIZE,
|
||||
|
|
|
@ -193,7 +193,7 @@ gimp_memsize_entry_new (guint64 value,
|
|||
entry->adjustment = GTK_ADJUSTMENT (adj);
|
||||
g_object_ref_sink (entry->adjustment);
|
||||
|
||||
gtk_entry_set_width_chars (GTK_ENTRY (entry->spinbutton), 10);
|
||||
gtk_entry_set_width_chars (GTK_ENTRY (entry->spinbutton), 7);
|
||||
gtk_box_pack_start (GTK_BOX (entry), entry->spinbutton, FALSE, FALSE, 0);
|
||||
gtk_widget_show (entry->spinbutton);
|
||||
|
||||
|
|
Loading…
Reference in New Issue