added a default spacing of two pixels between the entry end the menu.
2003-06-06 Michael Natterer <mitch@gimp.org> * libgimpwidgets/gimpmemsizeentry.c: added a default spacing of two pixels between the entry end the menu. Random cleanups.
This commit is contained in:

committed by
Michael Natterer

parent
f783da0b40
commit
5abd43b81e
@ -1,3 +1,8 @@
|
|||||||
|
2003-06-06 Michael Natterer <mitch@gimp.org>
|
||||||
|
|
||||||
|
* libgimpwidgets/gimpmemsizeentry.c: added a default spacing of
|
||||||
|
two pixels between the entry end the menu. Random cleanups.
|
||||||
|
|
||||||
2003-06-06 Michael Natterer <mitch@gimp.org>
|
2003-06-06 Michael Natterer <mitch@gimp.org>
|
||||||
|
|
||||||
* app/widgets/Makefile.am
|
* app/widgets/Makefile.am
|
||||||
|
@ -105,6 +105,8 @@ gimp_memsize_entry_class_init (GimpMemsizeEntryClass *klass)
|
|||||||
static void
|
static void
|
||||||
gimp_memsize_entry_init (GimpMemsizeEntry *entry)
|
gimp_memsize_entry_init (GimpMemsizeEntry *entry)
|
||||||
{
|
{
|
||||||
|
gtk_box_set_spacing (GTK_BOX (entry), 2);
|
||||||
|
|
||||||
entry->value = 0;
|
entry->value = 0;
|
||||||
entry->lower = 0;
|
entry->lower = 0;
|
||||||
entry->upper = 0;
|
entry->upper = 0;
|
||||||
@ -148,7 +150,7 @@ gimp_memsize_entry_new (gulong value,
|
|||||||
|
|
||||||
g_return_val_if_fail (value >= lower && value <= upper, NULL);
|
g_return_val_if_fail (value >= lower && value <= upper, NULL);
|
||||||
|
|
||||||
entry = GIMP_MEMSIZE_ENTRY (g_object_new (GIMP_TYPE_MEMSIZE_ENTRY, NULL));
|
entry = g_object_new (GIMP_TYPE_MEMSIZE_ENTRY, NULL);
|
||||||
|
|
||||||
for (shift = 30; shift > 10; shift -= 10)
|
for (shift = 30; shift > 10; shift -= 10)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user