Fix the default values of draw-value and value-pos to be the values we

2005-05-18  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkscale.c (gtk_scale_class_init): Fix the default
	values of draw-value and value-pos to be the values we
	actually use in _init. (#304547, Mikael Hallendal)
This commit is contained in:
Matthias Clasen 2005-05-18 13:18:17 +00:00 committed by Matthias Clasen
parent 9fe4bffd4f
commit ab81bf2b2c
4 changed files with 14 additions and 2 deletions

View File

@ -1,5 +1,9 @@
2005-05-18 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkscale.c (gtk_scale_class_init): Fix the default
values of draw-value and value-pos to be the values we
actually use in _init. (#304547, Mikael Hallendal)
* gtk/gtkcellrendererpixbuf.c: Support named icons in
cells by adding a icon-name property. (#165777, Anders
Carlsson)

View File

@ -1,5 +1,9 @@
2005-05-18 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkscale.c (gtk_scale_class_init): Fix the default
values of draw-value and value-pos to be the values we
actually use in _init. (#304547, Mikael Hallendal)
* gtk/gtkcellrendererpixbuf.c: Support named icons in
cells by adding a icon-name property. (#165777, Anders
Carlsson)

View File

@ -1,5 +1,9 @@
2005-05-18 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkscale.c (gtk_scale_class_init): Fix the default
values of draw-value and value-pos to be the values we
actually use in _init. (#304547, Mikael Hallendal)
* gtk/gtkcellrendererpixbuf.c: Support named icons in
cells by adding a icon-name property. (#165777, Anders
Carlsson)

View File

@ -182,7 +182,7 @@ gtk_scale_class_init (GtkScaleClass *class)
g_param_spec_boolean ("draw-value",
P_("Draw Value"),
P_("Whether the current value is displayed as a string next to the slider"),
FALSE,
TRUE,
GTK_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
@ -191,7 +191,7 @@ gtk_scale_class_init (GtkScaleClass *class)
P_("Value Position"),
P_("The position in which the current value is displayed"),
GTK_TYPE_POSITION_TYPE,
GTK_POS_LEFT,
GTK_POS_TOP,
GTK_PARAM_READWRITE));
gtk_widget_class_install_style_property (widget_class,