Commit 96e6febe authored by Owen Taylor's avatar Owen Taylor Committed by Owen Taylor

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.
parent c059e856
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
......
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
......
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
......
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
......
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
......
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
......
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
......
...@@ -327,7 +327,7 @@ gtk_label_class_init (GtkLabelClass *class) ...@@ -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) ...@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment