Commit fd27ca73 authored by Emmanuele Bassi's avatar Emmanuele Bassi

Mark property strings for translation

Both the nick and the blurb fields should be translatable, for UI
builders and other introspection-based tools.
parent 8be43b52
...@@ -157,8 +157,8 @@ clutter_actor_meta_class_init (ClutterActorMetaClass *klass) ...@@ -157,8 +157,8 @@ clutter_actor_meta_class_init (ClutterActorMetaClass *klass)
* Since: 1.4 * Since: 1.4
*/ */
pspec = g_param_spec_object ("actor", pspec = g_param_spec_object ("actor",
"Actor", P_("Actor"),
"The actor attached to the meta", P_("The actor attached to the meta"),
CLUTTER_TYPE_ACTOR, CLUTTER_TYPE_ACTOR,
CLUTTER_PARAM_READABLE); CLUTTER_PARAM_READABLE);
g_object_class_install_property (gobject_class, PROP_ACTOR, pspec); g_object_class_install_property (gobject_class, PROP_ACTOR, pspec);
...@@ -171,8 +171,8 @@ clutter_actor_meta_class_init (ClutterActorMetaClass *klass) ...@@ -171,8 +171,8 @@ clutter_actor_meta_class_init (ClutterActorMetaClass *klass)
* Since: 1.4 * Since: 1.4
*/ */
pspec = g_param_spec_string ("name", pspec = g_param_spec_string ("name",
"Name", P_("Name"),
"The name of the meta", P_("The name of the meta"),
NULL, NULL,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_NAME, pspec); g_object_class_install_property (gobject_class, PROP_NAME, pspec);
...@@ -185,8 +185,8 @@ clutter_actor_meta_class_init (ClutterActorMetaClass *klass) ...@@ -185,8 +185,8 @@ clutter_actor_meta_class_init (ClutterActorMetaClass *klass)
* Since: 1.4 * Since: 1.4
*/ */
pspec = g_param_spec_boolean ("enabled", pspec = g_param_spec_boolean ("enabled",
"Enabled", P_("Enabled"),
"Whether the meta is enabled", P_("Whether the meta is enabled"),
TRUE, TRUE,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_ENABLED, pspec); g_object_class_install_property (gobject_class, PROP_ENABLED, pspec);
......
This diff is collapsed.
...@@ -206,8 +206,8 @@ clutter_align_constraint_class_init (ClutterAlignConstraintClass *klass) ...@@ -206,8 +206,8 @@ clutter_align_constraint_class_init (ClutterAlignConstraintClass *klass)
* Since: 1.4 * Since: 1.4
*/ */
pspec = g_param_spec_object ("source", pspec = g_param_spec_object ("source",
"Source", P_("Source"),
"The source of the alignment", P_("The source of the alignment"),
CLUTTER_TYPE_ACTOR, CLUTTER_TYPE_ACTOR,
CLUTTER_PARAM_READWRITE | CLUTTER_PARAM_READWRITE |
G_PARAM_CONSTRUCT); G_PARAM_CONSTRUCT);
...@@ -221,8 +221,8 @@ clutter_align_constraint_class_init (ClutterAlignConstraintClass *klass) ...@@ -221,8 +221,8 @@ clutter_align_constraint_class_init (ClutterAlignConstraintClass *klass)
* Since: 1.4 * Since: 1.4
*/ */
pspec = g_param_spec_enum ("align-axis", pspec = g_param_spec_enum ("align-axis",
"Align Axis", P_("Align Axis"),
"The axis to align the position to", P_("The axis to align the position to"),
CLUTTER_TYPE_ALIGN_AXIS, CLUTTER_TYPE_ALIGN_AXIS,
CLUTTER_ALIGN_X_AXIS, CLUTTER_ALIGN_X_AXIS,
CLUTTER_PARAM_READWRITE | CLUTTER_PARAM_READWRITE |
...@@ -242,8 +242,8 @@ clutter_align_constraint_class_init (ClutterAlignConstraintClass *klass) ...@@ -242,8 +242,8 @@ clutter_align_constraint_class_init (ClutterAlignConstraintClass *klass)
* Since: 1.4 * Since: 1.4
*/ */
pspec = g_param_spec_float ("factor", pspec = g_param_spec_float ("factor",
"Factor", P_("Factor"),
"The alignment factor, between 0.0 and 1.0", P_("The alignment factor, between 0.0 and 1.0"),
0.0, 1.0, 0.0, 1.0,
0.0, 0.0,
CLUTTER_PARAM_READWRITE | CLUTTER_PARAM_READWRITE |
......
...@@ -332,8 +332,8 @@ clutter_alpha_class_init (ClutterAlphaClass *klass) ...@@ -332,8 +332,8 @@ clutter_alpha_class_init (ClutterAlphaClass *klass)
* Since: 0.2 * Since: 0.2
*/ */
pspec = g_param_spec_object ("timeline", pspec = g_param_spec_object ("timeline",
"Timeline", P_("Timeline"),
"Timeline used by the alpha", P_("Timeline used by the alpha"),
CLUTTER_TYPE_TIMELINE, CLUTTER_TYPE_TIMELINE,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (object_class, PROP_TIMELINE, pspec); g_object_class_install_property (object_class, PROP_TIMELINE, pspec);
...@@ -348,8 +348,8 @@ clutter_alpha_class_init (ClutterAlphaClass *klass) ...@@ -348,8 +348,8 @@ clutter_alpha_class_init (ClutterAlphaClass *klass)
* Since: 0.2 * Since: 0.2
*/ */
pspec = g_param_spec_double ("alpha", pspec = g_param_spec_double ("alpha",
"Alpha value", P_("Alpha value"),
"Alpha value", P_("Alpha value as computed by the alpha"),
-1.0, 2.0, -1.0, 2.0,
0.0, 0.0,
CLUTTER_PARAM_READABLE); CLUTTER_PARAM_READABLE);
...@@ -369,8 +369,8 @@ clutter_alpha_class_init (ClutterAlphaClass *klass) ...@@ -369,8 +369,8 @@ clutter_alpha_class_init (ClutterAlphaClass *klass)
* Since: 1.0 * Since: 1.0
*/ */
pspec = g_param_spec_ulong ("mode", pspec = g_param_spec_ulong ("mode",
"Mode", P_("Mode"),
"Progress mode", P_("Progress mode"),
0, G_MAXULONG, 0, G_MAXULONG,
CLUTTER_CUSTOM_MODE, CLUTTER_CUSTOM_MODE,
G_PARAM_CONSTRUCT | CLUTTER_PARAM_READWRITE); G_PARAM_CONSTRUCT | CLUTTER_PARAM_READWRITE);
......
...@@ -458,8 +458,8 @@ clutter_animation_class_init (ClutterAnimationClass *klass) ...@@ -458,8 +458,8 @@ clutter_animation_class_init (ClutterAnimationClass *klass)
* Since: 1.0 * Since: 1.0
*/ */
pspec = g_param_spec_object ("object", pspec = g_param_spec_object ("object",
"Object", P_("Object"),
"Object to which the animation applies", P_("Object to which the animation applies"),
G_TYPE_OBJECT, G_TYPE_OBJECT,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_OBJECT, pspec); g_object_class_install_property (gobject_class, PROP_OBJECT, pspec);
...@@ -474,8 +474,8 @@ clutter_animation_class_init (ClutterAnimationClass *klass) ...@@ -474,8 +474,8 @@ clutter_animation_class_init (ClutterAnimationClass *klass)
* Since: 1.0 * Since: 1.0
*/ */
pspec = g_param_spec_ulong ("mode", pspec = g_param_spec_ulong ("mode",
"Mode", P_("Mode"),
"The mode of the animation", P_("The mode of the animation"),
0, G_MAXULONG, 0, G_MAXULONG,
CLUTTER_LINEAR, CLUTTER_LINEAR,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
...@@ -489,8 +489,8 @@ clutter_animation_class_init (ClutterAnimationClass *klass) ...@@ -489,8 +489,8 @@ clutter_animation_class_init (ClutterAnimationClass *klass)
* Since: 1.0 * Since: 1.0
*/ */
pspec = g_param_spec_uint ("duration", pspec = g_param_spec_uint ("duration",
"Duration", P_("Duration"),
"Duration of the animation, in milliseconds", P_("Duration of the animation, in milliseconds"),
0, G_MAXUINT, 0, 0, G_MAXUINT, 0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_DURATION, pspec); g_object_class_install_property (gobject_class, PROP_DURATION, pspec);
...@@ -503,8 +503,8 @@ clutter_animation_class_init (ClutterAnimationClass *klass) ...@@ -503,8 +503,8 @@ clutter_animation_class_init (ClutterAnimationClass *klass)
* Since: 1.0 * Since: 1.0
*/ */
pspec = g_param_spec_boolean ("loop", pspec = g_param_spec_boolean ("loop",
"Loop", P_("Loop"),
"Whether the animation should loop", P_("Whether the animation should loop"),
FALSE, FALSE,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_LOOP, pspec); g_object_class_install_property (gobject_class, PROP_LOOP, pspec);
...@@ -517,8 +517,8 @@ clutter_animation_class_init (ClutterAnimationClass *klass) ...@@ -517,8 +517,8 @@ clutter_animation_class_init (ClutterAnimationClass *klass)
* Since: 1.0 * Since: 1.0
*/ */
pspec = g_param_spec_object ("timeline", pspec = g_param_spec_object ("timeline",
"Timeline", P_("Timeline"),
"The timeline used by the animation", P_("The timeline used by the animation"),
CLUTTER_TYPE_TIMELINE, CLUTTER_TYPE_TIMELINE,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_TIMELINE, pspec); g_object_class_install_property (gobject_class, PROP_TIMELINE, pspec);
...@@ -531,8 +531,8 @@ clutter_animation_class_init (ClutterAnimationClass *klass) ...@@ -531,8 +531,8 @@ clutter_animation_class_init (ClutterAnimationClass *klass)
* Since: 1.0 * Since: 1.0
*/ */
pspec = g_param_spec_object ("alpha", pspec = g_param_spec_object ("alpha",
"Alpha", P_("Alpha"),
"The alpha used by the animation", P_("The alpha used by the animation"),
CLUTTER_TYPE_ALPHA, CLUTTER_TYPE_ALPHA,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_ALPHA, pspec); g_object_class_install_property (gobject_class, PROP_ALPHA, pspec);
......
...@@ -1783,8 +1783,8 @@ clutter_animator_class_init (ClutterAnimatorClass *klass) ...@@ -1783,8 +1783,8 @@ clutter_animator_class_init (ClutterAnimatorClass *klass)
* Since: 1.2 * Since: 1.2
*/ */
pspec = g_param_spec_uint ("duration", pspec = g_param_spec_uint ("duration",
"Duration", P_("Duration"),
"The duration of the animation", P_("The duration of the animation"),
0, G_MAXUINT, 0, G_MAXUINT,
2000, 2000,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
...@@ -1799,8 +1799,8 @@ clutter_animator_class_init (ClutterAnimatorClass *klass) ...@@ -1799,8 +1799,8 @@ clutter_animator_class_init (ClutterAnimatorClass *klass)
* Since: 1.2 * Since: 1.2
*/ */
pspec = g_param_spec_object ("timeline", pspec = g_param_spec_object ("timeline",
"Timeline", P_("Timeline"),
"The timeline of the animation", P_("The timeline of the animation"),
CLUTTER_TYPE_TIMELINE, CLUTTER_TYPE_TIMELINE,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_TIMELINE, pspec); g_object_class_install_property (gobject_class, PROP_TIMELINE, pspec);
......
...@@ -167,8 +167,8 @@ clutter_behaviour_depth_class_init (ClutterBehaviourDepthClass *klass) ...@@ -167,8 +167,8 @@ clutter_behaviour_depth_class_init (ClutterBehaviourDepthClass *klass)
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_DEPTH_START, PROP_DEPTH_START,
g_param_spec_int ("depth-start", g_param_spec_int ("depth-start",
"Start Depth", P_("Start Depth"),
"Initial depth to apply", P_("Initial depth to apply"),
G_MININT, G_MAXINT, 0, G_MININT, G_MAXINT, 0,
CLUTTER_PARAM_READWRITE)); CLUTTER_PARAM_READWRITE));
/** /**
...@@ -181,8 +181,8 @@ clutter_behaviour_depth_class_init (ClutterBehaviourDepthClass *klass) ...@@ -181,8 +181,8 @@ clutter_behaviour_depth_class_init (ClutterBehaviourDepthClass *klass)
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_DEPTH_END, PROP_DEPTH_END,
g_param_spec_int ("depth-end", g_param_spec_int ("depth-end",
"End Depth", P_("End Depth"),
"Final depth to apply", P_("Final depth to apply"),
G_MININT, G_MAXINT, 0, G_MININT, G_MAXINT, 0,
CLUTTER_PARAM_READWRITE)); CLUTTER_PARAM_READWRITE));
} }
......
...@@ -386,8 +386,8 @@ clutter_behaviour_ellipse_class_init (ClutterBehaviourEllipseClass *klass) ...@@ -386,8 +386,8 @@ clutter_behaviour_ellipse_class_init (ClutterBehaviourEllipseClass *klass)
* Since: 0.4 * Since: 0.4
*/ */
pspec = g_param_spec_double ("angle-start", pspec = g_param_spec_double ("angle-start",
"Start Angle", P_("Start Angle"),
"Initial angle", P_("Initial angle"),
0.0, 360.0, 0.0, 360.0,
0.0, 0.0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
...@@ -401,8 +401,8 @@ clutter_behaviour_ellipse_class_init (ClutterBehaviourEllipseClass *klass) ...@@ -401,8 +401,8 @@ clutter_behaviour_ellipse_class_init (ClutterBehaviourEllipseClass *klass)
* Since: 0.4 * Since: 0.4
*/ */
pspec = g_param_spec_double ("angle-end", pspec = g_param_spec_double ("angle-end",
"End Angle", P_("End Angle"),
"Final angle", P_("Final angle"),
0.0, 360.0, 0.0, 360.0,
0.0, 0.0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
...@@ -416,8 +416,8 @@ clutter_behaviour_ellipse_class_init (ClutterBehaviourEllipseClass *klass) ...@@ -416,8 +416,8 @@ clutter_behaviour_ellipse_class_init (ClutterBehaviourEllipseClass *klass)
* Since: 0.4 * Since: 0.4
*/ */
pspec = g_param_spec_double ("angle-tilt-x", pspec = g_param_spec_double ("angle-tilt-x",
"Angle x tilt", P_("Angle x tilt"),
"Tilt of the ellipse around x axis", P_("Tilt of the ellipse around x axis"),
0.0, 360.0, 0.0, 360.0,
360.0, 360.0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
...@@ -431,8 +431,8 @@ clutter_behaviour_ellipse_class_init (ClutterBehaviourEllipseClass *klass) ...@@ -431,8 +431,8 @@ clutter_behaviour_ellipse_class_init (ClutterBehaviourEllipseClass *klass)
* Since: 0.4 * Since: 0.4
*/ */
pspec = g_param_spec_double ("angle-tilt-y", pspec = g_param_spec_double ("angle-tilt-y",
"Angle y tilt", P_("Angle y tilt"),
"Tilt of the ellipse around y axis", P_("Tilt of the ellipse around y axis"),
0.0, 360.0, 0.0, 360.0,
360.0, 360.0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
...@@ -446,8 +446,8 @@ clutter_behaviour_ellipse_class_init (ClutterBehaviourEllipseClass *klass) ...@@ -446,8 +446,8 @@ clutter_behaviour_ellipse_class_init (ClutterBehaviourEllipseClass *klass)
* Since: 0.4 * Since: 0.4
*/ */
pspec = g_param_spec_double ("angle-tilt-z", pspec = g_param_spec_double ("angle-tilt-z",
"Angle z tilt", P_("Angle z tilt"),
"Tilt of the ellipse around z axis", P_("Tilt of the ellipse around z axis"),
0.0, 360.0, 0.0, 360.0,
360.0, 360.0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
...@@ -461,8 +461,8 @@ clutter_behaviour_ellipse_class_init (ClutterBehaviourEllipseClass *klass) ...@@ -461,8 +461,8 @@ clutter_behaviour_ellipse_class_init (ClutterBehaviourEllipseClass *klass)
* Since: 0.4 * Since: 0.4
*/ */
pspec = g_param_spec_int ("width", pspec = g_param_spec_int ("width",
"Width", P_("Width"),
"Width of the ellipse", P_("Width of the ellipse"),
0, G_MAXINT, 0, G_MAXINT,
100, 100,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
...@@ -476,8 +476,8 @@ clutter_behaviour_ellipse_class_init (ClutterBehaviourEllipseClass *klass) ...@@ -476,8 +476,8 @@ clutter_behaviour_ellipse_class_init (ClutterBehaviourEllipseClass *klass)
* Since: 0.4 * Since: 0.4
*/ */
pspec = g_param_spec_int ("height", pspec = g_param_spec_int ("height",
"Height", P_("Height"),
"Height of ellipse", P_("Height of ellipse"),
0, G_MAXINT, 0, G_MAXINT,
50, 50,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
...@@ -491,8 +491,8 @@ clutter_behaviour_ellipse_class_init (ClutterBehaviourEllipseClass *klass) ...@@ -491,8 +491,8 @@ clutter_behaviour_ellipse_class_init (ClutterBehaviourEllipseClass *klass)
* Since: 0.4 * Since: 0.4
*/ */
pspec = g_param_spec_boxed ("center", pspec = g_param_spec_boxed ("center",
"Center", P_("Center"),
"Center of ellipse", P_("Center of ellipse"),
CLUTTER_TYPE_KNOT, CLUTTER_TYPE_KNOT,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (object_class, PROP_CENTER, pspec); g_object_class_install_property (object_class, PROP_CENTER, pspec);
...@@ -505,8 +505,8 @@ clutter_behaviour_ellipse_class_init (ClutterBehaviourEllipseClass *klass) ...@@ -505,8 +505,8 @@ clutter_behaviour_ellipse_class_init (ClutterBehaviourEllipseClass *klass)
* Since: 0.4 * Since: 0.4
*/ */
pspec = g_param_spec_enum ("direction", pspec = g_param_spec_enum ("direction",
"Direction", P_("Direction"),
"Direction of rotation", P_("Direction of rotation"),
CLUTTER_TYPE_ROTATE_DIRECTION, CLUTTER_TYPE_ROTATE_DIRECTION,
CLUTTER_ROTATE_CW, CLUTTER_ROTATE_CW,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
......
...@@ -177,8 +177,8 @@ clutter_behaviour_opacity_class_init (ClutterBehaviourOpacityClass *klass) ...@@ -177,8 +177,8 @@ clutter_behaviour_opacity_class_init (ClutterBehaviourOpacityClass *klass)
* Since: 0.2 * Since: 0.2
*/ */
pspec = g_param_spec_uint ("opacity-start", pspec = g_param_spec_uint ("opacity-start",
"Opacity Start", P_("Opacity Start"),
"Initial opacity level", P_("Initial opacity level"),
0, 255, 0, 255,
0, 0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
...@@ -192,8 +192,8 @@ clutter_behaviour_opacity_class_init (ClutterBehaviourOpacityClass *klass) ...@@ -192,8 +192,8 @@ clutter_behaviour_opacity_class_init (ClutterBehaviourOpacityClass *klass)
* Since: 0.2 * Since: 0.2
*/ */
pspec = g_param_spec_uint ("opacity-end", pspec = g_param_spec_uint ("opacity-end",
"Opacity End", P_("Opacity End"),
"Final opacity level", P_("Final opacity level"),
0, 255, 0, 255,
0, 0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
......
...@@ -210,9 +210,9 @@ clutter_behaviour_path_class_init (ClutterBehaviourPathClass *klass) ...@@ -210,9 +210,9 @@ clutter_behaviour_path_class_init (ClutterBehaviourPathClass *klass)
gobject_class->dispose = clutter_behaviour_path_dispose; gobject_class->dispose = clutter_behaviour_path_dispose;
pspec = g_param_spec_object ("path", pspec = g_param_spec_object ("path",
"Path", P_("Path"),
"The ClutterPath object representing the path " P_("The ClutterPath object representing the path "
"to animate along", "to animate along"),
CLUTTER_TYPE_PATH, CLUTTER_TYPE_PATH,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_PATH, pspec); g_object_class_install_property (gobject_class, PROP_PATH, pspec);
......
...@@ -270,8 +270,8 @@ clutter_behaviour_rotate_class_init (ClutterBehaviourRotateClass *klass) ...@@ -270,8 +270,8 @@ clutter_behaviour_rotate_class_init (ClutterBehaviourRotateClass *klass)
* Since: 0.4 * Since: 0.4
*/ */
pspec = g_param_spec_double ("angle-start", pspec = g_param_spec_double ("angle-start",
"Angle Begin", P_("Angle Begin"),
"Initial angle", P_("Initial angle"),
0.0, 360.0, 0.0, 360.0,
0.0, 0.0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
...@@ -287,8 +287,8 @@ clutter_behaviour_rotate_class_init (ClutterBehaviourRotateClass *klass) ...@@ -287,8 +287,8 @@ clutter_behaviour_rotate_class_init (ClutterBehaviourRotateClass *klass)
* Since: 0.4 * Since: 0.4
*/ */
pspec = g_param_spec_double ("angle-end", pspec = g_param_spec_double ("angle-end",
"Angle End", P_("Angle End"),
"Final angle", P_("Final angle"),
0.0, 360.0, 0.0, 360.0,
0.0, 0.0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
...@@ -304,8 +304,8 @@ clutter_behaviour_rotate_class_init (ClutterBehaviourRotateClass *klass) ...@@ -304,8 +304,8 @@ clutter_behaviour_rotate_class_init (ClutterBehaviourRotateClass *klass)
* Since: 0.4 * Since: 0.4
*/ */
pspec = g_param_spec_enum ("axis", pspec = g_param_spec_enum ("axis",
"Axis", P_("Axis"),
"Axis of rotation", P_("Axis of rotation"),
CLUTTER_TYPE_ROTATE_AXIS, CLUTTER_TYPE_ROTATE_AXIS,
CLUTTER_Z_AXIS, CLUTTER_Z_AXIS,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
...@@ -321,8 +321,8 @@ clutter_behaviour_rotate_class_init (ClutterBehaviourRotateClass *klass) ...@@ -321,8 +321,8 @@ clutter_behaviour_rotate_class_init (ClutterBehaviourRotateClass *klass)
* Since: 0.4 * Since: 0.4
*/ */
pspec = g_param_spec_enum ("direction", pspec = g_param_spec_enum ("direction",
"Direction", P_("Direction"),
"Direction of rotation", P_("Direction of rotation"),
CLUTTER_TYPE_ROTATE_DIRECTION, CLUTTER_TYPE_ROTATE_DIRECTION,
CLUTTER_ROTATE_CW, CLUTTER_ROTATE_CW,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
...@@ -338,8 +338,8 @@ clutter_behaviour_rotate_class_init (ClutterBehaviourRotateClass *klass) ...@@ -338,8 +338,8 @@ clutter_behaviour_rotate_class_init (ClutterBehaviourRotateClass *klass)
* Since: 0.4 * Since: 0.4
*/ */
pspec = g_param_spec_int ("center-x", pspec = g_param_spec_int ("center-x",
"Center-X", P_("Center X"),
"X center of rotation", P_("X coordinate of the center of rotation"),
-G_MAXINT, G_MAXINT, -G_MAXINT, G_MAXINT,
0, 0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
...@@ -355,8 +355,8 @@ clutter_behaviour_rotate_class_init (ClutterBehaviourRotateClass *klass) ...@@ -355,8 +355,8 @@ clutter_behaviour_rotate_class_init (ClutterBehaviourRotateClass *klass)
* Since: 0.4 * Since: 0.4
*/ */
pspec = g_param_spec_int ("center-y", pspec = g_param_spec_int ("center-y",
"Center-Y", P_("Center Y"),
"Y center of rotation", P_("Y coordinate of the center of rotation"),
-G_MAXINT, G_MAXINT, -G_MAXINT, G_MAXINT,
0, 0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
...@@ -372,8 +372,8 @@ clutter_behaviour_rotate_class_init (ClutterBehaviourRotateClass *klass) ...@@ -372,8 +372,8 @@ clutter_behaviour_rotate_class_init (ClutterBehaviourRotateClass *klass)
* Since: 0.4 * Since: 0.4
*/ */
pspec = g_param_spec_int ("center-z", pspec = g_param_spec_int ("center-z",
"Center-Z", P_("Center Z"),
"Z center of rotation", P_("Z coordinate of the center of rotation"),
-G_MAXINT, G_MAXINT, -G_MAXINT, G_MAXINT,
0, 0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
......
...@@ -209,8 +209,8 @@ clutter_behaviour_scale_class_init (ClutterBehaviourScaleClass *klass) ...@@ -209,8 +209,8 @@ clutter_behaviour_scale_class_init (ClutterBehaviourScaleClass *klass)
* Since: 0.6 * Since: 0.6
*/ */
pspec = g_param_spec_double ("x-scale-start", pspec = g_param_spec_double ("x-scale-start",
"X Start Scale", P_("X Start Scale"),
"Initial scale on the X axis", P_("Initial scale on the X axis"),
0.0, G_MAXDOUBLE, 0.0, G_MAXDOUBLE,
1.0, 1.0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
...@@ -225,8 +225,8 @@ clutter_behaviour_scale_class_init (ClutterBehaviourScaleClass *klass) ...@@ -225,8 +225,8 @@ clutter_behaviour_scale_class_init (ClutterBehaviourScaleClass *klass)
* Since: 0.6 * Since: 0.6
*/ */
pspec = g_param_spec_double ("x-scale-end", pspec = g_param_spec_double ("x-scale-end",
"X End Scale", P_("X End Scale"),
"Final scale on the X axis", P_("Final scale on the X axis"),
0.0, G_MAXDOUBLE, 0.0, G_MAXDOUBLE,
1.0, 1.0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
...@@ -241,8 +241,8 @@ clutter_behaviour_scale_class_init (ClutterBehaviourScaleClass *klass) ...@@ -241,8 +241,8 @@ clutter_behaviour_scale_class_init (ClutterBehaviourScaleClass *klass)
* Since: 0.6 * Since: 0.6
*/ */
pspec = g_param_spec_double ("y-scale-start", pspec = g_param_spec_double ("y-scale-start",
"Y Start Scale", P_("Y Start Scale"),
"Initial scale on the Y axis", P_("Initial scale on the Y axis"),
0.0, G_MAXDOUBLE, 0.0, G_MAXDOUBLE,
1.0, 1.0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
...@@ -257,8 +257,8 @@ clutter_behaviour_scale_class_init (ClutterBehaviourScaleClass *klass) ...@@ -257,8 +257,8 @@ clutter_behaviour_scale_class_init (ClutterBehaviourScaleClass *klass)
* Since: 0.6 * Since: 0.6
*/ */
pspec = g_param_spec_double ("y-scale-end", pspec = g_param_spec_double ("y-scale-end",
"Y End Scale", P_("Y End Scale"),
"Final scale on the Y axis", P_("Final scale on the Y axis"),
0.0, G_MAXDOUBLE, 0.0, G_MAXDOUBLE,
1.0, 1.0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
......
...@@ -284,6 +284,7 @@ static void ...@@ -284,6 +284,7 @@ static void
clutter_behaviour_class_init (ClutterBehaviourClass *klass) clutter_behaviour_class_init (ClutterBehaviourClass *klass)
{ {
GObjectClass *object_class = G_OBJECT_CLASS (klass); GObjectClass *object_class = G_OBJECT_CLASS (klass);
GParamSpec *pspec;
object_class->dispose = clutter_behaviour_dispose; object_class->dispose = clutter_behaviour_dispose;
object_class->set_property = clutter_behaviour_set_property; object_class->set_property = clutter_behaviour_set_property;
...@@ -299,13 +300,12 @@ clutter_behaviour_class_init (ClutterBehaviourClass *klass) ...@@ -299,13 +300,12 @@ clutter_behaviour_class_init (ClutterBehaviourClass *klass)
* *
* Since: 0.2 * Since: 0.2
*/ */
g_object_class_install_property (object_class, pspec = g_param_spec_object ("alpha",
PROP_ALPHA, P_("Alpha"),
g_param_spec_object ("alpha", P_("Alpha Object to drive the behaviour"),
"Alpha", CLUTTER_TYPE_ALPHA,
"Alpha Object to drive the behaviour", CLUTTER_PARAM_READWRITE);
CLUTTER_TYPE_ALPHA, g_object_class_install_property (object_class, PROP_ALPHA, pspec);
CLUTTER_PARAM_READWRITE));
klass->alpha_notify = clutter_behaviour_alpha_notify_unimplemented; klass->alpha_notify = clutter_behaviour_alpha_notify_unimplemented;
......
...@@ -251,9 +251,9 @@ clutter_bin_layer_class_init (ClutterBinLayerClass *klass) ...@@ -251,9 +251,9 @@ clutter_bin_layer_class_init (ClutterBinLayerClass *klass)
gobject_class->get_property = clutter_bin_layer_get_property; gobject_class->get_property = clutter_bin_layer_get_property;
pspec = g_param_spec_enum ("x-align", pspec = g_param_spec_enum ("x-align",
"Horizontal Alignment", P_("Horizontal Alignment"),
"Horizontal alignment for the actor " P_("Horizontal alignment for the actor "
"inside the layer", "inside the layer"),
CLUTTER_TYPE_BIN_ALIGNMENT, CLUTTER_TYPE_BIN_ALIGNMENT,
CLUTTER_BIN_ALIGNMENT_CENTER, CLUTTER_BIN_ALIGNMENT_CENTER,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
...@@ -262,9 +262,9 @@ clutter_bin_layer_class_init (ClutterBinLayerClass *klass) ...@@ -262,9 +262,9 @@ clutter_bin_layer_class_init (ClutterBinLayerClass *klass)
pspec); pspec);
pspec = g_param_spec_enum ("y-align", pspec = g_param_spec_enum ("y-align",
"Vertical Alignment", P_("Vertical Alignment"),
"Vertical alignment for the actor " P_("Vertical alignment for the actor "
"inside the layer manager", "inside the layer manager"),
CLUTTER_TYPE_BIN_ALIGNMENT, CLUTTER_TYPE_BIN_ALIGNMENT,
CLUTTER_BIN_ALIGNMENT_CENTER, CLUTTER_BIN_ALIGNMENT_CENTER,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
...@@ -640,9 +640,9 @@ clutter_bin_layout_class_init (ClutterBinLayoutClass *klass) ...@@ -640,9 +640,9 @@ clutter_bin_layout_class_init (ClutterBinLayoutClass *klass)
* Since: 1.2