mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 13:11:13 +00:00
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:
parent
c059e8564c
commit
96e6febed8
12
ChangeLog
12
ChangeLog
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user