Commit 263bce44 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

x

2005-03-08  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktextbuffer.c (gtk_text_buffer_class_init):
	* gtk/gtkrange.c (gtk_range_class_init):
	* gtk/gtkscrolledwindow.c (gtk_scrolled_window_class_init):
	* gtk/gtktexttag.c (gtk_text_tag_class_init):
	* gtk/gtktextview.c (gtk_text_view_class_init):
	* gtk/gtkscrollbar.c (gtk_scrollbar_class_init):
	* gtk/gtknotebook.c (gtk_notebook_class_init):
	* gtk/gtkentry.c (gtk_entry_class_init):
	* gtk/gtkexpander.c (gtk_expander_class_init):
	* gtk/gtkarrow.c (gtk_arrow_class_init):
	* gtk/gtkalignment.c (gtk_alignment_class_init):
	* gtk/gtkbutton.c (gtk_button_class_init):
	* gtk/gtklabel.c (gtk_label_class_init):
	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_class_init):
	* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init): x
	* gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init):
	* gtk/gtktreeview.c (gtk_tree_view_class_init):
	* gtk/gtkbox.c (gtk_box_class_init):
	* gtk/gtkwindow.c (gtk_window_class_init, gtk_window_class_init):
	* gtk/gtkcontainer.c (gtk_container_class_init):
	* gtk/gtkwidget.c (gtk_widget_class_init):
	* gtk/gtkobject.c (gtk_object_class_init): Use canonical names
	when registering param specs.
parent c8ce95ab
2005-03-08 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktextbuffer.c (gtk_text_buffer_class_init):
* gtk/gtkrange.c (gtk_range_class_init):
* gtk/gtkscrolledwindow.c (gtk_scrolled_window_class_init):
* gtk/gtktexttag.c (gtk_text_tag_class_init):
* gtk/gtktextview.c (gtk_text_view_class_init):
* gtk/gtkscrollbar.c (gtk_scrollbar_class_init):
* gtk/gtknotebook.c (gtk_notebook_class_init):
* gtk/gtkentry.c (gtk_entry_class_init):
* gtk/gtkexpander.c (gtk_expander_class_init):
* gtk/gtkarrow.c (gtk_arrow_class_init):
* gtk/gtkalignment.c (gtk_alignment_class_init):
* gtk/gtkbutton.c (gtk_button_class_init):
* gtk/gtklabel.c (gtk_label_class_init):
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_class_init):
* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init): x
* gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init):
* gtk/gtktreeview.c (gtk_tree_view_class_init):
* gtk/gtkbox.c (gtk_box_class_init):
* gtk/gtkwindow.c (gtk_window_class_init, gtk_window_class_init):
* gtk/gtkcontainer.c (gtk_container_class_init):
* gtk/gtkwidget.c (gtk_widget_class_init):
* gtk/gtkobject.c (gtk_object_class_init): Use canonical names
when registering param specs.
* demos/gtk-demo/editable_cells.c: Use GtkCellRendererCombo
(#169607, Mark McLoughlin)
......
2005-03-08 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktextbuffer.c (gtk_text_buffer_class_init):
* gtk/gtkrange.c (gtk_range_class_init):
* gtk/gtkscrolledwindow.c (gtk_scrolled_window_class_init):
* gtk/gtktexttag.c (gtk_text_tag_class_init):
* gtk/gtktextview.c (gtk_text_view_class_init):
* gtk/gtkscrollbar.c (gtk_scrollbar_class_init):
* gtk/gtknotebook.c (gtk_notebook_class_init):
* gtk/gtkentry.c (gtk_entry_class_init):
* gtk/gtkexpander.c (gtk_expander_class_init):
* gtk/gtkarrow.c (gtk_arrow_class_init):
* gtk/gtkalignment.c (gtk_alignment_class_init):
* gtk/gtkbutton.c (gtk_button_class_init):
* gtk/gtklabel.c (gtk_label_class_init):
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_class_init):
* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init): x
* gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init):
* gtk/gtktreeview.c (gtk_tree_view_class_init):
* gtk/gtkbox.c (gtk_box_class_init):
* gtk/gtkwindow.c (gtk_window_class_init, gtk_window_class_init):
* gtk/gtkcontainer.c (gtk_container_class_init):
* gtk/gtkwidget.c (gtk_widget_class_init):
* gtk/gtkobject.c (gtk_object_class_init): Use canonical names
when registering param specs.
* demos/gtk-demo/editable_cells.c: Use GtkCellRendererCombo
(#169607, Mark McLoughlin)
......
2005-03-08 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktextbuffer.c (gtk_text_buffer_class_init):
* gtk/gtkrange.c (gtk_range_class_init):
* gtk/gtkscrolledwindow.c (gtk_scrolled_window_class_init):
* gtk/gtktexttag.c (gtk_text_tag_class_init):
* gtk/gtktextview.c (gtk_text_view_class_init):
* gtk/gtkscrollbar.c (gtk_scrollbar_class_init):
* gtk/gtknotebook.c (gtk_notebook_class_init):
* gtk/gtkentry.c (gtk_entry_class_init):
* gtk/gtkexpander.c (gtk_expander_class_init):
* gtk/gtkarrow.c (gtk_arrow_class_init):
* gtk/gtkalignment.c (gtk_alignment_class_init):
* gtk/gtkbutton.c (gtk_button_class_init):
* gtk/gtklabel.c (gtk_label_class_init):
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_class_init):
* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init): x
* gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init):
* gtk/gtktreeview.c (gtk_tree_view_class_init):
* gtk/gtkbox.c (gtk_box_class_init):
* gtk/gtkwindow.c (gtk_window_class_init, gtk_window_class_init):
* gtk/gtkcontainer.c (gtk_container_class_init):
* gtk/gtkwidget.c (gtk_widget_class_init):
* gtk/gtkobject.c (gtk_object_class_init): Use canonical names
when registering param specs.
* demos/gtk-demo/editable_cells.c: Use GtkCellRendererCombo
(#169607, Mark McLoughlin)
......
......@@ -160,7 +160,7 @@ gtk_alignment_class_init (GtkAlignmentClass *class)
*/
g_object_class_install_property (gobject_class,
PROP_TOP_PADDING,
g_param_spec_uint("top_padding",
g_param_spec_uint("top-padding",
P_("Top Padding"),
P_("The padding to insert at the top of the widget."),
0,
......@@ -177,7 +177,7 @@ gtk_alignment_class_init (GtkAlignmentClass *class)
*/
g_object_class_install_property (gobject_class,
PROP_BOTTOM_PADDING,
g_param_spec_uint("bottom_padding",
g_param_spec_uint("bottom-padding",
P_("Bottom Padding"),
P_("The padding to insert at the bottom of the widget."),
0,
......@@ -194,7 +194,7 @@ gtk_alignment_class_init (GtkAlignmentClass *class)
*/
g_object_class_install_property (gobject_class,
PROP_LEFT_PADDING,
g_param_spec_uint("left_padding",
g_param_spec_uint("left-padding",
P_("Left Padding"),
P_("The padding to insert at the left of the widget."),
0,
......@@ -211,7 +211,7 @@ gtk_alignment_class_init (GtkAlignmentClass *class)
*/
g_object_class_install_property (gobject_class,
PROP_RIGHT_PADDING,
g_param_spec_uint("right_padding",
g_param_spec_uint("right-padding",
P_("Right Padding"),
P_("The padding to insert at the right of the widget."),
0,
......
......@@ -96,7 +96,7 @@ gtk_arrow_class_init (GtkArrowClass *class)
g_object_class_install_property (gobject_class,
PROP_ARROW_TYPE,
g_param_spec_enum ("arrow_type",
g_param_spec_enum ("arrow-type",
P_("Arrow direction"),
P_("The direction the arrow should point"),
GTK_TYPE_ARROW_TYPE,
......@@ -104,7 +104,7 @@ gtk_arrow_class_init (GtkArrowClass *class)
G_PARAM_READABLE | G_PARAM_WRITABLE));
g_object_class_install_property (gobject_class,
PROP_SHADOW_TYPE,
g_param_spec_enum ("shadow_type",
g_param_spec_enum ("shadow-type",
P_("Arrow shadow"),
P_("Appearance of the shadow surrounding the arrow"),
GTK_TYPE_SHADOW_TYPE,
......
......@@ -165,7 +165,7 @@ gtk_box_class_init (GtkBoxClass *class)
G_PARAM_READWRITE));
gtk_container_class_install_child_property (container_class,
CHILD_PROP_PACK_TYPE,
g_param_spec_enum ("pack_type",
g_param_spec_enum ("pack-type",
P_("Pack type"),
P_("A GtkPackType indicating whether the child is packed with reference to the start or end of the parent"),
GTK_TYPE_PACK_TYPE, GTK_PACK_START,
......
......@@ -224,7 +224,7 @@ gtk_button_class_init (GtkButtonClass *klass)
g_object_class_install_property (gobject_class,
PROP_USE_UNDERLINE,
g_param_spec_boolean ("use_underline",
g_param_spec_boolean ("use-underline",
P_("Use underline"),
P_("If set, an underline in the text indicates the next character should be used for the mnemonic accelerator key"),
FALSE,
......@@ -232,7 +232,7 @@ gtk_button_class_init (GtkButtonClass *klass)
g_object_class_install_property (gobject_class,
PROP_USE_STOCK,
g_param_spec_boolean ("use_stock",
g_param_spec_boolean ("use-stock",
P_("Use stock"),
P_("If set, the label is used to pick a stock item instead of being displayed"),
FALSE,
......@@ -240,7 +240,7 @@ gtk_button_class_init (GtkButtonClass *klass)
g_object_class_install_property (gobject_class,
PROP_FOCUS_ON_CLICK,
g_param_spec_boolean ("focus_on_click",
g_param_spec_boolean ("focus-on-click",
P_("Focus on click"),
P_("Whether the button grabs focus when it is clicked with the mouse"),
TRUE,
......@@ -369,20 +369,20 @@ gtk_button_class_init (GtkButtonClass *klass)
widget_class->activate_signal = button_signals[ACTIVATE];
gtk_widget_class_install_style_property (widget_class,
g_param_spec_boxed ("default_border",
g_param_spec_boxed ("default-border",
P_("Default Spacing"),
P_("Extra space to add for CAN_DEFAULT buttons"),
GTK_TYPE_BORDER,
G_PARAM_READABLE));
gtk_widget_class_install_style_property (widget_class,
g_param_spec_boxed ("default_outside_border",
g_param_spec_boxed ("default-outside-border",
P_("Default Outside Spacing"),
P_("Extra space to add for CAN_DEFAULT buttons that is always drawn outside the border"),
GTK_TYPE_BORDER,
G_PARAM_READABLE));
gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("child_displacement_x",
g_param_spec_int ("child-displacement-x",
P_("Child X Displacement"),
P_("How far in the x direction to move the child when the button is depressed"),
G_MININT,
......@@ -390,7 +390,7 @@ gtk_button_class_init (GtkButtonClass *klass)
0,
G_PARAM_READABLE));
gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("child_displacement_y",
g_param_spec_int ("child-displacement-y",
P_("Child Y Displacement"),
P_("How far in the y direction to move the child when the button is depressed"),
G_MININT,
......
......@@ -292,7 +292,7 @@ gtk_cell_renderer_class_init (GtkCellRendererClass *class)
g_object_class_install_property (object_class,
PROP_IS_EXPANDER,
g_param_spec_boolean ("is_expander",
g_param_spec_boolean ("is-expander",
P_("Is Expander"),
P_("Row has children"),
FALSE,
......@@ -302,7 +302,7 @@ gtk_cell_renderer_class_init (GtkCellRendererClass *class)
g_object_class_install_property (object_class,
PROP_IS_EXPANDED,
g_param_spec_boolean ("is_expanded",
g_param_spec_boolean ("is-expanded",
P_("Is Expanded"),
P_("Row is an expander row, and is expanded"),
FALSE,
......@@ -311,7 +311,7 @@ gtk_cell_renderer_class_init (GtkCellRendererClass *class)
g_object_class_install_property (object_class,
PROP_CELL_BACKGROUND,
g_param_spec_string ("cell_background",
g_param_spec_string ("cell-background",
P_("Cell background color name"),
P_("Cell background color as a string"),
NULL,
......@@ -319,7 +319,7 @@ gtk_cell_renderer_class_init (GtkCellRendererClass *class)
g_object_class_install_property (object_class,
PROP_CELL_BACKGROUND_GDK,
g_param_spec_boxed ("cell_background_gdk",
g_param_spec_boxed ("cell-background-gdk",
P_("Cell background color"),
P_("Cell background color as a GdkColor"),
GDK_TYPE_COLOR,
......@@ -328,7 +328,7 @@ gtk_cell_renderer_class_init (GtkCellRendererClass *class)
#define ADD_SET_PROP(propname, propval, nick, blurb) g_object_class_install_property (object_class, propval, g_param_spec_boolean (propname, nick, blurb, FALSE, G_PARAM_READABLE | G_PARAM_WRITABLE))
ADD_SET_PROP ("cell_background_set", PROP_CELL_BACKGROUND_SET,
ADD_SET_PROP ("cell-background-set", PROP_CELL_BACKGROUND_SET,
P_("Cell background set"),
P_("Whether this tag affects the cell background color"));
......
......@@ -238,7 +238,7 @@ gtk_cell_renderer_text_class_init (GtkCellRendererTextClass *class)
g_object_class_install_property (object_class,
PROP_SINGLE_PARAGRAPH_MODE,
g_param_spec_boolean ("single_paragraph_mode",
g_param_spec_boolean ("single-paragraph-mode",
P_("Single Paragraph Mode"),
P_("Whether or not to keep all text in a single paragraph"),
FALSE,
......@@ -255,7 +255,7 @@ gtk_cell_renderer_text_class_init (GtkCellRendererTextClass *class)
g_object_class_install_property (object_class,
PROP_BACKGROUND_GDK,
g_param_spec_boxed ("background_gdk",
g_param_spec_boxed ("background-gdk",
P_("Background color"),
P_("Background color as a GdkColor"),
GDK_TYPE_COLOR,
......@@ -271,7 +271,7 @@ gtk_cell_renderer_text_class_init (GtkCellRendererTextClass *class)
g_object_class_install_property (object_class,
PROP_FOREGROUND_GDK,
g_param_spec_boxed ("foreground_gdk",
g_param_spec_boxed ("foreground-gdk",
P_("Foreground color"),
P_("Foreground color as a GdkColor"),
GDK_TYPE_COLOR,
......@@ -296,7 +296,7 @@ gtk_cell_renderer_text_class_init (GtkCellRendererTextClass *class)
g_object_class_install_property (object_class,
PROP_FONT_DESC,
g_param_spec_boxed ("font_desc",
g_param_spec_boxed ("font-desc",
P_("Font"),
P_("Font description as a PangoFontDescription struct"),
PANGO_TYPE_FONT_DESCRIPTION,
......@@ -360,7 +360,7 @@ gtk_cell_renderer_text_class_init (GtkCellRendererTextClass *class)
g_object_class_install_property (object_class,
PROP_SIZE_POINTS,
g_param_spec_double ("size_points",
g_param_spec_double ("size-points",
P_("Font points"),
P_("Font size in points"),
0.0,
......@@ -450,7 +450,7 @@ gtk_cell_renderer_text_class_init (GtkCellRendererTextClass *class)
**/
g_object_class_install_property (object_class,
PROP_WIDTH_CHARS,
g_param_spec_int ("width_chars",
g_param_spec_int ("width-chars",
P_("Width In Characters"),
P_("The desired width of the label, in characters"),
-1,
......@@ -469,7 +469,7 @@ gtk_cell_renderer_text_class_init (GtkCellRendererTextClass *class)
*/
g_object_class_install_property (object_class,
PROP_WRAP_MODE,
g_param_spec_enum ("wrap_mode",
g_param_spec_enum ("wrap-mode",
P_("Wrap mode"),
P_("How to break the string into multiple lines, "
"if the cell renderer does not have enough room "
......@@ -489,7 +489,7 @@ gtk_cell_renderer_text_class_init (GtkCellRendererTextClass *class)
*/
g_object_class_install_property (object_class,
PROP_WRAP_WIDTH,
g_param_spec_int ("wrap_width",
g_param_spec_int ("wrap-width",
P_("Wrap width"),
P_("The width at which the text is wrapped"),
-1,
......@@ -502,63 +502,63 @@ gtk_cell_renderer_text_class_init (GtkCellRendererTextClass *class)
#define ADD_SET_PROP(propname, propval, nick, blurb) g_object_class_install_property (object_class, propval, g_param_spec_boolean (propname, nick, blurb, FALSE, G_PARAM_READABLE | G_PARAM_WRITABLE))
ADD_SET_PROP ("background_set", PROP_BACKGROUND_SET,
ADD_SET_PROP ("background-set", PROP_BACKGROUND_SET,
P_("Background set"),
P_("Whether this tag affects the background color"));
ADD_SET_PROP ("foreground_set", PROP_FOREGROUND_SET,
ADD_SET_PROP ("foreground-set", PROP_FOREGROUND_SET,
P_("Foreground set"),
P_("Whether this tag affects the foreground color"));
ADD_SET_PROP ("editable_set", PROP_EDITABLE_SET,
ADD_SET_PROP ("editable-set", PROP_EDITABLE_SET,
P_("Editability set"),
P_("Whether this tag affects text editability"));
ADD_SET_PROP ("family_set", PROP_FAMILY_SET,
ADD_SET_PROP ("family-set", PROP_FAMILY_SET,
P_("Font family set"),
P_("Whether this tag affects the font family"));
ADD_SET_PROP ("style_set", PROP_STYLE_SET,
ADD_SET_PROP ("style-set", PROP_STYLE_SET,
P_("Font style set"),
P_("Whether this tag affects the font style"));
ADD_SET_PROP ("variant_set", PROP_VARIANT_SET,
ADD_SET_PROP ("variant-set", PROP_VARIANT_SET,
P_("Font variant set"),
P_("Whether this tag affects the font variant"));
ADD_SET_PROP ("weight_set", PROP_WEIGHT_SET,
ADD_SET_PROP ("weight-set", PROP_WEIGHT_SET,
P_("Font weight set"),
P_("Whether this tag affects the font weight"));
ADD_SET_PROP ("stretch_set", PROP_STRETCH_SET,
ADD_SET_PROP ("stretch-set", PROP_STRETCH_SET,
P_("Font stretch set"),
P_("Whether this tag affects the font stretch"));
ADD_SET_PROP ("size_set", PROP_SIZE_SET,
ADD_SET_PROP ("size-set", PROP_SIZE_SET,
P_("Font size set"),
P_("Whether this tag affects the font size"));
ADD_SET_PROP ("scale_set", PROP_SCALE_SET,
ADD_SET_PROP ("scale-set", PROP_SCALE_SET,
P_("Font scale set"),
P_("Whether this tag scales the font size by a factor"));
ADD_SET_PROP ("rise_set", PROP_RISE_SET,
ADD_SET_PROP ("rise-set", PROP_RISE_SET,
P_("Rise set"),
P_("Whether this tag affects the rise"));
ADD_SET_PROP ("strikethrough_set", PROP_STRIKETHROUGH_SET,
ADD_SET_PROP ("strikethrough-set", PROP_STRIKETHROUGH_SET,
P_("Strikethrough set"),
P_("Whether this tag affects strikethrough"));
ADD_SET_PROP ("underline_set", PROP_UNDERLINE_SET,
ADD_SET_PROP ("underline-set", PROP_UNDERLINE_SET,
P_("Underline set"),
P_("Whether this tag affects underlining"));
ADD_SET_PROP ("language_set", PROP_LANGUAGE_SET,
ADD_SET_PROP ("language-set", PROP_LANGUAGE_SET,
P_("Language set"),
P_("Whether this tag affects the language the text is rendered as"));
ADD_SET_PROP ("ellipsize_set", PROP_ELLIPSIZE_SET,
ADD_SET_PROP ("ellipsize-set", PROP_ELLIPSIZE_SET,
P_("Ellipsize set"),
P_("Whether this tag affects the ellipsize mode"));
......
......@@ -201,7 +201,7 @@ gtk_container_class_init (GtkContainerClass *class)
g_object_class_install_property (gobject_class,
PROP_RESIZE_MODE,
g_param_spec_enum ("resize_mode",
g_param_spec_enum ("resize-mode",
P_("Resize mode"),
P_("Specify how resize events are handled"),
GTK_TYPE_RESIZE_MODE,
......@@ -209,7 +209,7 @@ gtk_container_class_init (GtkContainerClass *class)
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_BORDER_WIDTH,
g_param_spec_uint ("border_width",
g_param_spec_uint ("border-width",
P_("Border width"),
P_("The width of the empty border outside the containers children"),
0,
......
......@@ -481,7 +481,7 @@ gtk_entry_class_init (GtkEntryClass *class)
g_object_class_install_property (gobject_class,
PROP_CURSOR_POSITION,
g_param_spec_int ("cursor_position",
g_param_spec_int ("cursor-position",
P_("Cursor Position"),
P_("The current position of the insertion cursor in chars"),
0,
......@@ -491,7 +491,7 @@ gtk_entry_class_init (GtkEntryClass *class)
g_object_class_install_property (gobject_class,
PROP_SELECTION_BOUND,
g_param_spec_int ("selection_bound",
g_param_spec_int ("selection-bound",
P_("Selection Bound"),
P_("The position of the opposite end of the selection from the cursor in chars"),
0,
......@@ -509,7 +509,7 @@ gtk_entry_class_init (GtkEntryClass *class)
g_object_class_install_property (gobject_class,
PROP_MAX_LENGTH,
g_param_spec_int ("max_length",
g_param_spec_int ("max-length",
P_("Maximum length"),
P_("Maximum number of characters for this entry. Zero if no maximum"),
0,
......@@ -526,7 +526,7 @@ gtk_entry_class_init (GtkEntryClass *class)
g_object_class_install_property (gobject_class,
PROP_HAS_FRAME,
g_param_spec_boolean ("has_frame",
g_param_spec_boolean ("has-frame",
P_("Has Frame"),
P_("FALSE removes outside bevel from entry"),
TRUE,
......@@ -534,7 +534,7 @@ gtk_entry_class_init (GtkEntryClass *class)
g_object_class_install_property (gobject_class,
PROP_INVISIBLE_CHAR,
g_param_spec_unichar ("invisible_char",
g_param_spec_unichar ("invisible-char",
P_("Invisible character"),
P_("The character to use when masking entry contents (in \"password mode\")"),
'*',
......@@ -542,14 +542,14 @@ gtk_entry_class_init (GtkEntryClass *class)
g_object_class_install_property (gobject_class,
PROP_ACTIVATES_DEFAULT,
g_param_spec_boolean ("activates_default",
g_param_spec_boolean ("activates-default",
P_("Activates default"),
P_("Whether to activate the default widget (such as the default button in a dialog) when Enter is pressed"),
FALSE,
G_PARAM_READABLE | G_PARAM_WRITABLE));
g_object_class_install_property (gobject_class,
PROP_WIDTH_CHARS,
g_param_spec_int ("width_chars",
g_param_spec_int ("width-chars",
P_("Width in chars"),
P_("Number of characters to leave space for in the entry"),
-1,
......@@ -559,7 +559,7 @@ gtk_entry_class_init (GtkEntryClass *class)
g_object_class_install_property (gobject_class,
PROP_SCROLL_OFFSET,
g_param_spec_int ("scroll_offset",
g_param_spec_int ("scroll-offset",
P_("Scroll offset"),
P_("Number of pixels of the entry scrolled off the screen to the left"),
0,
......
......@@ -210,7 +210,7 @@ gtk_expander_class_init (GtkExpanderClass *klass)
g_object_class_install_property (gobject_class,
PROP_USE_UNDERLINE,
g_param_spec_boolean ("use_underline",
g_param_spec_boolean ("use-underline",
P_("Use underline"),
P_("If set, an underline in the text indicates the next character should be used for the mnemonic accelerator key"),
FALSE,
......@@ -218,7 +218,7 @@ gtk_expander_class_init (GtkExpanderClass *klass)
g_object_class_install_property (gobject_class,
PROP_USE_MARKUP,
g_param_spec_boolean ("use_markup",
g_param_spec_boolean ("use-markup",
P_("Use markup"),
P_("The text of the label includes XML markup. See pango_parse_markup()"),
FALSE,
......@@ -236,7 +236,7 @@ gtk_expander_class_init (GtkExpanderClass *klass)
g_object_class_install_property (gobject_class,
PROP_LABEL_WIDGET,
g_param_spec_object ("label_widget",
g_param_spec_object ("label-widget",
P_("Label widget"),
P_("A widget to display in place of the usual expander label"),
GTK_TYPE_WIDGET,
......
......@@ -330,14 +330,14 @@ gtk_label_class_init (GtkLabelClass *class)
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_USE_MARKUP,
g_param_spec_boolean ("use_markup",
g_param_spec_boolean ("use-markup",
P_("Use markup"),
P_("The text of the label includes XML markup. See pango_parse_markup()"),
FALSE,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_USE_UNDERLINE,
g_param_spec_boolean ("use_underline",
g_param_spec_boolean ("use-underline",
P_("Use underline"),
P_("If set, an underline in the text indicates the next character should be used for the mnemonic accelerator key"),
FALSE,
......@@ -376,7 +376,7 @@ gtk_label_class_init (GtkLabelClass *class)
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_MNEMONIC_KEYVAL,
g_param_spec_uint ("mnemonic_keyval",
g_param_spec_uint ("mnemonic-keyval",
P_("Mnemonic key"),
P_("The mnemonic accelerator key for this label"),
0,
......@@ -385,7 +385,7 @@ gtk_label_class_init (GtkLabelClass *class)
G_PARAM_READABLE));
g_object_class_install_property (gobject_class,
PROP_MNEMONIC_WIDGET,
g_param_spec_object ("mnemonic_widget",
g_param_spec_object ("mnemonic-widget",
P_("Mnemonic widget"),
P_("The widget to be activated when the label's mnemonic "
"key is pressed"),
......@@ -394,7 +394,7 @@ gtk_label_class_init (GtkLabelClass *class)
g_object_class_install_property (gobject_class,
PROP_CURSOR_POSITION,
g_param_spec_int ("cursor_position",
g_param_spec_int ("cursor-position",
P_("Cursor Position"),
P_("The current position of the insertion cursor in chars"),
0,
......@@ -404,7 +404,7 @@ gtk_label_class_init (GtkLabelClass *class)
g_object_class_install_property (gobject_class,
PROP_SELECTION_BOUND,
g_param_spec_int ("selection_bound",
g_param_spec_int ("selection-bound",
P_("Selection Bound"),
P_("The position of the opposite end of the selection from the cursor in chars"),
0,
......@@ -449,7 +449,7 @@ gtk_label_class_init (GtkLabelClass *class)
**/
g_object_class_install_property (gobject_class,
PROP_WIDTH_CHARS,
g_param_spec_int ("width_chars",
g_param_spec_int ("width-chars",
P_("Width In Characters"),
P_("The desired width of the label, in characters"),
-1,
......@@ -509,7 +509,7 @@ gtk_label_class_init (GtkLabelClass *class)
**/
g_object_class_install_property (gobject_class,
PROP_MAX_WIDTH_CHARS,
g_param_spec_int ("max_width_chars",
g_param_spec_int ("max-width-chars",
P_("Maximum Width In Characters"),
P_("The desired maximum width of the label, in characters"),
-1,
......
......@@ -406,7 +406,7 @@ gtk_notebook_class_init (GtkNotebookClass *class)
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_TAB_POS,
g_param_spec_enum ("tab_pos",
g_param_spec_enum ("tab-pos",
P_("Tab Position"),
P_("Which side of the notebook holds the tabs"),
GTK_TYPE_POSITION_TYPE,
......@@ -414,7 +414,7 @@ gtk_notebook_class_init (GtkNotebookClass *class)
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_TAB_BORDER,
g_param_spec_uint ("tab_border",
g_param_spec_uint ("tab-border",
P_("Tab Border"),
P_("Width of the border around the tab labels"),
0,
......@@ -423,7 +423,7 @@ gtk_notebook_class_init (GtkNotebookClass *class)
G_PARAM_WRITABLE));
g_object_class_install_property (gobject_class,
PROP_TAB_HBORDER,
g_param_spec_uint ("tab_hborder",
g_param_spec_uint ("tab-hborder",
P_("Horizontal Tab Border"),
P_("Width of the horizontal border of tab labels"),
0,
......@@ -432,7 +432,7 @@ gtk_notebook_class_init (GtkNotebookClass *class)
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_TAB_VBORDER,
g_param_spec_uint ("tab_vborder",
g_param_spec_uint ("tab-vborder",
P_("Vertical Tab Border"),
P_("Width of the vertical border of tab labels"),
0,
......@@ -441,14 +441,14 @@ gtk_notebook_class_init (GtkNotebookClass *class)
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_SHOW_TABS,
g_param_spec_boolean ("show_tabs",
g_param_spec_boolean ("show-tabs",
P_("Show Tabs"),
P_("Whether tabs should be shown or not"),
TRUE,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_SHOW_BORDER,
g_param_spec_boolean ("show_border",
g_param_spec_boolean ("show-border",
P_("Show Border"),
P_("Whether the border should be shown or not"),
TRUE,
......@@ -462,7 +462,7 @@ gtk_notebook_class_init (GtkNotebookClass *class)
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_ENABLE_POPUP,
g_param_spec_boolean ("enable_popup",
g_param_spec_boolean ("enable-popup",
P_("Enable Popup"),
P_("If TRUE, pressing the right mouse button on the notebook pops up a menu that you can use to go to a page"),
FALSE,
......@@ -477,14 +477,14 @@ gtk_notebook_class_init (GtkNotebookClass *class)
gtk_container_class_install_child_property (container_class,
CHILD_PROP_TAB_LABEL,
g_param_spec_string ("tab_label",
g_param_spec_string ("tab-label",
P_("Tab label"),
P_("The string displayed on the child's tab label"),
NULL,
G_PARAM_READWRITE));
gtk_container_class_install_child_property (container_class,
CHILD_PROP_MENU_LABEL,
g_param_spec_string ("menu_label",
g_param_spec_string ("menu-label",
P_("Menu label"),
P_("The string displayed in the child's menu entry"),
NULL,
......@@ -498,21 +498,21 @@ gtk_notebook_class_init (GtkNotebookClass *class)
G_PARAM_READWRITE));
gtk_container_class_install_child_property (container_class,
CHILD_PROP_TAB_EXPAND,
g_param_spec_boolean ("tab_expand",
g_param_spec_boolean ("tab-expand",
P_("Tab expand"),
P_("Whether to expand the child's tab or not"),
TRUE,
G_PARAM_READWRITE));
gtk_container_class_install_child_property (container_class,
CHILD_PROP_TAB_FILL,
g_param_spec_boolean ("tab_fill",
g_param_spec_boolean ("tab-fill",
P_("Tab fill"),
P_("Whether the child's tab should fill the allocated area or not"),
TRUE,
G_PARAM_READWRITE));
gtk_container_class_install_child_property (container_class,
CHILD_PROP_TAB_PACK,
g_param_spec_enum ("tab_pack",
g_param_spec_enum ("tab-pack",
P_("Tab pack type"),
P_("A GtkPackType indicating whether the child is packed with reference to the start or end of the parent"),
GTK_TYPE_PACK_TYPE, GTK_PACK_START,
......@@ -528,7 +528,7 @@ gtk_notebook_class_init (GtkNotebookClass *class)
* Since: 2.4
*/
gtk_widget_class_install_style_property (widget_class,
g_param_spec_boolean ("has_secondary_backward_stepper",
g_param_spec_boolean ("has-secondary-backward-stepper",
P_("Secondary backward stepper"),
P_("Display a second backward arrow button on the opposite end of the tab area"),
FALSE,
......@@ -545,7 +545,7 @@ gtk_notebook_class_init (GtkNotebookClass *class)
* Since: 2.4
*/
gtk_widget_class_install_style_property (widget_class,
g_param_spec_boolean ("has_secondary_forward_stepper",
g_param_spec_boolean ("has-secondary-forward-stepper",
P_("Secondary forward stepper"),
P_("Display a second forward arrow button on the opposite end of the tab area"),
FALSE,
......@@ -561,7 +561,7 @@ gtk_notebook_class_init (GtkNotebookClass *class)
* Since: 2.4
*/
gtk_widget_class_install_style_property (widget_class,
g_param_spec_boolean ("has_backward_stepper",
g_param_spec_boolean ("has-backward-stepper",
P_("Backward stepper"),
P_("Display the standard backward arrow button"),
TRUE,
......@@ -577,7 +577,7 @@ gtk_notebook_class_init (GtkNotebookClass *class)
* Since: 2.4
*/
gtk_widget_class_install_style_property (widget_class,
g_param_spec_boolean ("has_forward_stepper",
g_param_spec_boolean ("has-forward-stepper",
P_("Forward stepper"),
P_("Display the standard forward arrow button"),
TRUE,
......
......@@ -328,7 +328,7 @@ gtk_object_class_init (GtkObjectClass *class)
g_object_class_install_property (gobject_class,
PROP_USER_DATA,
g_param_spec_pointer ("user_data", "User Data",
g_param_spec_pointer ("user-data", "User Data",
"Anonymous User Data Pointer",
G_PARAM_READABLE | G_PARAM_WRITABLE));
object_signals[DESTROY] =
......
......@@ -78,7 +78,7 @@ gtk_scrollbar_class_init (GtkScrollbarClass *class)
widget_class->style_set = gtk_scrollbar_style_set;
gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("min_slider_length",
g_param_spec_int ("min-slider-length",
P_("Minimum Slider Length"),
P_("Minimum length of scrollbar slider"),
0,
......@@ -87,7 +87,7 @@ gtk_scrollbar_class_init (GtkScrollbarClass *class)
G_PARAM_READABLE));
gtk_widget_class_install_style_property (widget_class,
g_param_spec_boolean ("fixed_slider_length",
g_param_spec_boolean ("fixed-slider-length",
P_("Fixed slider size"),
P_("Don't change slider size, just lock it to the minimum length"),
FALSE,
......@@ -95,7 +95,7 @@ gtk_scrollbar_class_init (GtkScrollbarClass *class)
G_PARAM_READABLE));
gtk_widget_class_install_style_property (widget_class,
g_param_spec_boolean ("has_backward_stepper",
g_param_spec_boolean ("has-backward-stepper",
P_("Backward stepper"),
P_("Display the standard backward arrow button"),