Change default for justify to GTK_JUSTIFY_LEFT. Assuming that multiline

Mon Nov 19 14:08:18 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtklabel.c (gtk_label_init): Change default for
	justify to GTK_JUSTIFY_LEFT. Assuming that multiline
	labels are most often wrapped labels, this gives better
	compatibility with GTK+-1.2, where justification was
	ignored for wrapped labesl and is a more sensible
	default in any case. (#64489)

	* gtk/gtklabel.c (gtk_label_class_init): Fix default
	for wrap property to FALSE.
This commit is contained in:
Owen Taylor 2001-11-19 19:20:21 +00:00 committed by Owen Taylor
parent c059e8564c
commit 96e6febed8
8 changed files with 86 additions and 2 deletions

View File

@ -1,3 +1,15 @@
Mon Nov 19 14:08:18 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtklabel.c (gtk_label_init): Change default for
justify to GTK_JUSTIFY_LEFT. Assuming that multiline
labels are most often wrapped labels, this gives better
compatibility with GTK+-1.2, where justification was
ignored for wrapped labesl and is a more sensible
default in any case. (#64489)
* gtk/gtklabel.c (gtk_label_class_init): Fix default
for wrap property to FALSE.
2001-11-19 jacob berkman <jacob@ximian.com> 2001-11-19 jacob berkman <jacob@ximian.com>
* gtk/Makefile.am (gtk_extra_sources): add gtkmarshal.list * gtk/Makefile.am (gtk_extra_sources): add gtkmarshal.list

View File

@ -1,3 +1,15 @@
Mon Nov 19 14:08:18 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtklabel.c (gtk_label_init): Change default for
justify to GTK_JUSTIFY_LEFT. Assuming that multiline
labels are most often wrapped labels, this gives better
compatibility with GTK+-1.2, where justification was
ignored for wrapped labesl and is a more sensible
default in any case. (#64489)
* gtk/gtklabel.c (gtk_label_class_init): Fix default
for wrap property to FALSE.
2001-11-19 jacob berkman <jacob@ximian.com> 2001-11-19 jacob berkman <jacob@ximian.com>
* gtk/Makefile.am (gtk_extra_sources): add gtkmarshal.list * gtk/Makefile.am (gtk_extra_sources): add gtkmarshal.list

View File

@ -1,3 +1,15 @@
Mon Nov 19 14:08:18 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtklabel.c (gtk_label_init): Change default for
justify to GTK_JUSTIFY_LEFT. Assuming that multiline
labels are most often wrapped labels, this gives better
compatibility with GTK+-1.2, where justification was
ignored for wrapped labesl and is a more sensible
default in any case. (#64489)
* gtk/gtklabel.c (gtk_label_class_init): Fix default
for wrap property to FALSE.
2001-11-19 jacob berkman <jacob@ximian.com> 2001-11-19 jacob berkman <jacob@ximian.com>
* gtk/Makefile.am (gtk_extra_sources): add gtkmarshal.list * gtk/Makefile.am (gtk_extra_sources): add gtkmarshal.list

View File

@ -1,3 +1,15 @@
Mon Nov 19 14:08:18 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtklabel.c (gtk_label_init): Change default for
justify to GTK_JUSTIFY_LEFT. Assuming that multiline
labels are most often wrapped labels, this gives better
compatibility with GTK+-1.2, where justification was
ignored for wrapped labesl and is a more sensible
default in any case. (#64489)
* gtk/gtklabel.c (gtk_label_class_init): Fix default
for wrap property to FALSE.
2001-11-19 jacob berkman <jacob@ximian.com> 2001-11-19 jacob berkman <jacob@ximian.com>
* gtk/Makefile.am (gtk_extra_sources): add gtkmarshal.list * gtk/Makefile.am (gtk_extra_sources): add gtkmarshal.list

View File

@ -1,3 +1,15 @@
Mon Nov 19 14:08:18 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtklabel.c (gtk_label_init): Change default for
justify to GTK_JUSTIFY_LEFT. Assuming that multiline
labels are most often wrapped labels, this gives better
compatibility with GTK+-1.2, where justification was
ignored for wrapped labesl and is a more sensible
default in any case. (#64489)
* gtk/gtklabel.c (gtk_label_class_init): Fix default
for wrap property to FALSE.
2001-11-19 jacob berkman <jacob@ximian.com> 2001-11-19 jacob berkman <jacob@ximian.com>
* gtk/Makefile.am (gtk_extra_sources): add gtkmarshal.list * gtk/Makefile.am (gtk_extra_sources): add gtkmarshal.list

View File

@ -1,3 +1,15 @@
Mon Nov 19 14:08:18 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtklabel.c (gtk_label_init): Change default for
justify to GTK_JUSTIFY_LEFT. Assuming that multiline
labels are most often wrapped labels, this gives better
compatibility with GTK+-1.2, where justification was
ignored for wrapped labesl and is a more sensible
default in any case. (#64489)
* gtk/gtklabel.c (gtk_label_class_init): Fix default
for wrap property to FALSE.
2001-11-19 jacob berkman <jacob@ximian.com> 2001-11-19 jacob berkman <jacob@ximian.com>
* gtk/Makefile.am (gtk_extra_sources): add gtkmarshal.list * gtk/Makefile.am (gtk_extra_sources): add gtkmarshal.list

View File

@ -1,3 +1,15 @@
Mon Nov 19 14:08:18 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtklabel.c (gtk_label_init): Change default for
justify to GTK_JUSTIFY_LEFT. Assuming that multiline
labels are most often wrapped labels, this gives better
compatibility with GTK+-1.2, where justification was
ignored for wrapped labesl and is a more sensible
default in any case. (#64489)
* gtk/gtklabel.c (gtk_label_class_init): Fix default
for wrap property to FALSE.
2001-11-19 jacob berkman <jacob@ximian.com> 2001-11-19 jacob berkman <jacob@ximian.com>
* gtk/Makefile.am (gtk_extra_sources): add gtkmarshal.list * gtk/Makefile.am (gtk_extra_sources): add gtkmarshal.list

View File

@ -327,7 +327,7 @@ gtk_label_class_init (GtkLabelClass *class)
g_param_spec_boolean ("wrap", g_param_spec_boolean ("wrap",
_("Line wrap"), _("Line wrap"),
_("If set, wrap lines if the text becomes too wide."), _("If set, wrap lines if the text becomes too wide."),
TRUE, FALSE,
G_PARAM_READWRITE)); G_PARAM_READWRITE));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_SELECTABLE, PROP_SELECTABLE,
@ -579,7 +579,7 @@ gtk_label_init (GtkLabel *label)
label->label = NULL; label->label = NULL;
label->jtype = GTK_JUSTIFY_CENTER; label->jtype = GTK_JUSTIFY_LEFT;
label->wrap = FALSE; label->wrap = FALSE;
label->use_underline = FALSE; label->use_underline = FALSE;