Re: default label properties
- From: Owen Taylor <otaylor redhat com>
- To: jacob berkman <jacob ximian com>
- Cc: gtk-devel-list gnome org
- Subject: Re: default label properties
- Date: 09 Nov 2001 17:54:39 -0500
jacob berkman <jacob ximian com> writes:
> this patch makes GtkLabel actually default to what the properties say it
> should default to.
>
> i've noticed things like this in the past - it begs for GObject to set
> the defaults itself somehow.
You need to fix what the property reports, not change the defaults.
Regards,
Owen
> Index: gtklabel.c
> ===================================================================
> RCS file: /cvs/gnome/gtk+/gtk/gtklabel.c,v
> retrieving revision 1.108
> diff -u -r1.108 gtklabel.c
> --- gtklabel.c 2001/11/08 18:56:23 1.108
> +++ gtklabel.c 2001/11/09 22:05:13
> @@ -580,8 +580,8 @@
>
> label->label = NULL;
>
> - label->jtype = GTK_JUSTIFY_CENTER;
> - label->wrap = FALSE;
> + label->jtype = GTK_JUSTIFY_LEFT;
> + label->wrap = TRUE;
>
> label->use_underline = FALSE;
> label->use_markup = FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]