Commit 52711c24 authored by Matthias Clasen's avatar Matthias Clasen

More canonical property names.

parent 263bce44
...@@ -298,7 +298,7 @@ gtk_about_dialog_class_init (GtkAboutDialogClass *klass) ...@@ -298,7 +298,7 @@ gtk_about_dialog_class_init (GtkAboutDialogClass *klass)
*/ */
g_object_class_install_property (object_class, g_object_class_install_property (object_class,
PROP_WEBSITE_LABEL, PROP_WEBSITE_LABEL,
g_param_spec_string ("website_label", g_param_spec_string ("website-label",
P_("Website label"), P_("Website label"),
P_("The label for the link to the website of the program. If this is not set, it defaults to the URL"), P_("The label for the link to the website of the program. If this is not set, it defaults to the URL"),
NULL, NULL,
...@@ -367,7 +367,7 @@ gtk_about_dialog_class_init (GtkAboutDialogClass *klass) ...@@ -367,7 +367,7 @@ gtk_about_dialog_class_init (GtkAboutDialogClass *klass)
*/ */
g_object_class_install_property (object_class, g_object_class_install_property (object_class,
PROP_TRANSLATOR_CREDITS, PROP_TRANSLATOR_CREDITS,
g_param_spec_string ("translator_credits", g_param_spec_string ("translator-credits",
P_("Translator credits"), P_("Translator credits"),
P_("Credits to the translators. This string should be marked as translatable"), P_("Credits to the translators. This string should be marked as translatable"),
NULL, NULL,
...@@ -399,7 +399,7 @@ gtk_about_dialog_class_init (GtkAboutDialogClass *klass) ...@@ -399,7 +399,7 @@ gtk_about_dialog_class_init (GtkAboutDialogClass *klass)
*/ */
g_object_class_install_property (object_class, g_object_class_install_property (object_class,
PROP_LOGO_ICON_NAME, PROP_LOGO_ICON_NAME,
g_param_spec_string ("logo_icon_name", g_param_spec_string ("logo-icon-name",
P_("Logo Icon Name"), P_("Logo Icon Name"),
P_("A named icon to use as the logo for the about box."), P_("A named icon to use as the logo for the about box."),
NULL, NULL,
...@@ -407,7 +407,7 @@ gtk_about_dialog_class_init (GtkAboutDialogClass *klass) ...@@ -407,7 +407,7 @@ gtk_about_dialog_class_init (GtkAboutDialogClass *klass)
/* Style properties */ /* Style properties */
gtk_widget_class_install_style_property (widget_class, gtk_widget_class_install_style_property (widget_class,
g_param_spec_boxed ("link_color", g_param_spec_boxed ("link-color",
P_("Link Color"), P_("Link Color"),
P_("Color of hyperlinks"), P_("Color of hyperlinks"),
GDK_TYPE_COLOR, GDK_TYPE_COLOR,
......
...@@ -135,14 +135,14 @@ gtk_accel_label_class_init (GtkAccelLabelClass *class) ...@@ -135,14 +135,14 @@ gtk_accel_label_class_init (GtkAccelLabelClass *class)
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_ACCEL_CLOSURE, PROP_ACCEL_CLOSURE,
g_param_spec_boxed ("accel_closure", g_param_spec_boxed ("accel-closure",
P_("Accelerator Closure"), P_("Accelerator Closure"),
P_("The closure to be monitored for accelerator changes"), P_("The closure to be monitored for accelerator changes"),
G_TYPE_CLOSURE, G_TYPE_CLOSURE,
G_PARAM_READABLE | G_PARAM_WRITABLE)); G_PARAM_READABLE | G_PARAM_WRITABLE));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_ACCEL_WIDGET, PROP_ACCEL_WIDGET,
g_param_spec_object ("accel_widget", g_param_spec_object ("accel-widget",
P_("Accelerator Widget"), P_("Accelerator Widget"),
P_("The widget to be monitored for accelerator changes"), P_("The widget to be monitored for accelerator changes"),
GTK_TYPE_WIDGET, GTK_TYPE_WIDGET,
......
...@@ -208,7 +208,7 @@ gtk_action_class_init (GtkActionClass *klass) ...@@ -208,7 +208,7 @@ gtk_action_class_init (GtkActionClass *klass)
G_PARAM_READWRITE)); G_PARAM_READWRITE));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_SHORT_LABEL, PROP_SHORT_LABEL,
g_param_spec_string ("short_label", g_param_spec_string ("short-label",
P_("Short label"), P_("Short label"),
P_("A shorter label that may be used on toolbar buttons."), P_("A shorter label that may be used on toolbar buttons."),
NULL, NULL,
...@@ -222,7 +222,7 @@ gtk_action_class_init (GtkActionClass *klass) ...@@ -222,7 +222,7 @@ gtk_action_class_init (GtkActionClass *klass)
G_PARAM_READWRITE)); G_PARAM_READWRITE));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_STOCK_ID, PROP_STOCK_ID,
g_param_spec_string ("stock_id", g_param_spec_string ("stock-id",
P_("Stock Icon"), P_("Stock Icon"),
P_("The stock icon displayed in widgets representing " P_("The stock icon displayed in widgets representing "
"this action."), "this action."),
...@@ -230,7 +230,7 @@ gtk_action_class_init (GtkActionClass *klass) ...@@ -230,7 +230,7 @@ gtk_action_class_init (GtkActionClass *klass)
G_PARAM_READWRITE)); G_PARAM_READWRITE));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_VISIBLE_HORIZONTAL, PROP_VISIBLE_HORIZONTAL,
g_param_spec_boolean ("visible_horizontal", g_param_spec_boolean ("visible-horizontal",
P_("Visible when horizontal"), P_("Visible when horizontal"),
P_("Whether the toolbar item is visible when the toolbar " P_("Whether the toolbar item is visible when the toolbar "
"is in a horizontal orientation."), "is in a horizontal orientation."),
...@@ -246,7 +246,7 @@ gtk_action_class_init (GtkActionClass *klass) ...@@ -246,7 +246,7 @@ gtk_action_class_init (GtkActionClass *klass)
*/ */
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_VISIBLE_OVERFLOWN, PROP_VISIBLE_OVERFLOWN,
g_param_spec_boolean ("visible_overflown", g_param_spec_boolean ("visible-overflown",
P_("Visible when overflown"), P_("Visible when overflown"),
P_("When TRUE, toolitem proxies for this action " P_("When TRUE, toolitem proxies for this action "
"are represented in the toolbar overflow menu."), "are represented in the toolbar overflow menu."),
...@@ -254,7 +254,7 @@ gtk_action_class_init (GtkActionClass *klass) ...@@ -254,7 +254,7 @@ gtk_action_class_init (GtkActionClass *klass)
G_PARAM_READWRITE)); G_PARAM_READWRITE));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_VISIBLE_VERTICAL, PROP_VISIBLE_VERTICAL,
g_param_spec_boolean ("visible_vertical", g_param_spec_boolean ("visible-vertical",
P_("Visible when vertical"), P_("Visible when vertical"),
P_("Whether the toolbar item is visible when the toolbar " P_("Whether the toolbar item is visible when the toolbar "
"is in a vertical orientation."), "is in a vertical orientation."),
...@@ -262,7 +262,7 @@ gtk_action_class_init (GtkActionClass *klass) ...@@ -262,7 +262,7 @@ gtk_action_class_init (GtkActionClass *klass)
G_PARAM_READWRITE)); G_PARAM_READWRITE));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_IS_IMPORTANT, PROP_IS_IMPORTANT,
g_param_spec_boolean ("is_important", g_param_spec_boolean ("is-important",
P_("Is important"), P_("Is important"),
P_("Whether the action is considered important. " P_("Whether the action is considered important. "
"When TRUE, toolitem proxies for this action " "When TRUE, toolitem proxies for this action "
...@@ -271,7 +271,7 @@ gtk_action_class_init (GtkActionClass *klass) ...@@ -271,7 +271,7 @@ gtk_action_class_init (GtkActionClass *klass)
G_PARAM_READWRITE)); G_PARAM_READWRITE));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_HIDE_IF_EMPTY, PROP_HIDE_IF_EMPTY,
g_param_spec_boolean ("hide_if_empty", g_param_spec_boolean ("hide-if-empty",
P_("Hide if empty"), P_("Hide if empty"),
P_("When TRUE, empty menu proxies for this action are hidden."), P_("When TRUE, empty menu proxies for this action are hidden."),
TRUE, TRUE,
...@@ -292,7 +292,7 @@ gtk_action_class_init (GtkActionClass *klass) ...@@ -292,7 +292,7 @@ gtk_action_class_init (GtkActionClass *klass)
G_PARAM_READWRITE)); G_PARAM_READWRITE));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_ACTION_GROUP, PROP_ACTION_GROUP,
g_param_spec_object ("action_group", g_param_spec_object ("action-group",
P_("Action Group"), P_("Action Group"),
P_("The GtkActionGroup this GtkAction is associated with, or NULL (for internal use)."), P_("The GtkActionGroup this GtkAction is associated with, or NULL (for internal use)."),
GTK_TYPE_ACTION_GROUP, GTK_TYPE_ACTION_GROUP,
......
...@@ -127,7 +127,7 @@ gtk_aspect_frame_class_init (GtkAspectFrameClass *class) ...@@ -127,7 +127,7 @@ gtk_aspect_frame_class_init (GtkAspectFrameClass *class)
G_PARAM_READABLE | G_PARAM_WRITABLE )); G_PARAM_READABLE | G_PARAM_WRITABLE ));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_OBEY_CHILD, PROP_OBEY_CHILD,
g_param_spec_boolean ("obey_child", g_param_spec_boolean ("obey-child",
P_("Obey child"), P_("Obey child"),
P_("Force aspect ratio to match that of the frame's child"), P_("Force aspect ratio to match that of the frame's child"),
TRUE, TRUE,
......
...@@ -117,7 +117,7 @@ gtk_button_box_class_init (GtkButtonBoxClass *class) ...@@ -117,7 +117,7 @@ gtk_button_box_class_init (GtkButtonBoxClass *class)
*/ */
gtk_widget_class_install_style_property (widget_class, gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("child_min_width", g_param_spec_int ("child-min-width",
P_("Minimum child width"), P_("Minimum child width"),
P_("Minimum width of buttons inside the box"), P_("Minimum width of buttons inside the box"),
0, 0,
...@@ -126,7 +126,7 @@ gtk_button_box_class_init (GtkButtonBoxClass *class) ...@@ -126,7 +126,7 @@ gtk_button_box_class_init (GtkButtonBoxClass *class)
G_PARAM_READABLE)); G_PARAM_READABLE));
gtk_widget_class_install_style_property (widget_class, gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("child_min_height", g_param_spec_int ("child-min-height",
P_("Minimum child height"), P_("Minimum child height"),
P_("Minimum height of buttons inside the box"), P_("Minimum height of buttons inside the box"),
0, 0,
...@@ -135,7 +135,7 @@ gtk_button_box_class_init (GtkButtonBoxClass *class) ...@@ -135,7 +135,7 @@ gtk_button_box_class_init (GtkButtonBoxClass *class)
G_PARAM_READABLE)); G_PARAM_READABLE));
gtk_widget_class_install_style_property (widget_class, gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("child_internal_pad_x", g_param_spec_int ("child-internal-pad-x",
P_("Child internal width padding"), P_("Child internal width padding"),
P_("Amount to increase child's size on either side"), P_("Amount to increase child's size on either side"),
0, 0,
...@@ -144,7 +144,7 @@ gtk_button_box_class_init (GtkButtonBoxClass *class) ...@@ -144,7 +144,7 @@ gtk_button_box_class_init (GtkButtonBoxClass *class)
G_PARAM_READABLE)); G_PARAM_READABLE));
gtk_widget_class_install_style_property (widget_class, gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("child_internal_pad_y", g_param_spec_int ("child-internal-pad-y",
P_("Child internal height padding"), P_("Child internal height padding"),
P_("Amount to increase child's size on the top and bottom"), P_("Amount to increase child's size on the top and bottom"),
0, 0,
...@@ -153,7 +153,7 @@ gtk_button_box_class_init (GtkButtonBoxClass *class) ...@@ -153,7 +153,7 @@ gtk_button_box_class_init (GtkButtonBoxClass *class)
G_PARAM_READABLE)); G_PARAM_READABLE));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_LAYOUT_STYLE, PROP_LAYOUT_STYLE,
g_param_spec_enum ("layout_style", g_param_spec_enum ("layout-style",
P_("Layout style"), P_("Layout style"),
P_("How to layout the buttons in the box. Possible values are default, spread, edge, start and end"), P_("How to layout the buttons in the box. Possible values are default, spread, edge, start and end"),
GTK_TYPE_BUTTON_BOX_STYLE, GTK_TYPE_BUTTON_BOX_STYLE,
......
...@@ -496,7 +496,7 @@ gtk_calendar_class_init (GtkCalendarClass *class) ...@@ -496,7 +496,7 @@ gtk_calendar_class_init (GtkCalendarClass *class)
*/ */
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_SHOW_HEADING, PROP_SHOW_HEADING,
g_param_spec_boolean ("show_heading", g_param_spec_boolean ("show-heading",
P_("Show Heading"), P_("Show Heading"),
P_("If TRUE, a heading is displayed"), P_("If TRUE, a heading is displayed"),
TRUE, TRUE,
...@@ -511,7 +511,7 @@ gtk_calendar_class_init (GtkCalendarClass *class) ...@@ -511,7 +511,7 @@ gtk_calendar_class_init (GtkCalendarClass *class)
*/ */
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_SHOW_DAY_NAMES, PROP_SHOW_DAY_NAMES,
g_param_spec_boolean ("show_day_names", g_param_spec_boolean ("show-day-names",
P_("Show Day Names"), P_("Show Day Names"),
P_("If TRUE, day names are displayed"), P_("If TRUE, day names are displayed"),
TRUE, TRUE,
...@@ -525,7 +525,7 @@ gtk_calendar_class_init (GtkCalendarClass *class) ...@@ -525,7 +525,7 @@ gtk_calendar_class_init (GtkCalendarClass *class)
*/ */
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_NO_MONTH_CHANGE, PROP_NO_MONTH_CHANGE,
g_param_spec_boolean ("no_month_change", g_param_spec_boolean ("no-month-change",
P_("No Month Change"), P_("No Month Change"),
P_("If TRUE, the selected month cannot be changed"), P_("If TRUE, the selected month cannot be changed"),
FALSE, FALSE,
...@@ -540,7 +540,7 @@ gtk_calendar_class_init (GtkCalendarClass *class) ...@@ -540,7 +540,7 @@ gtk_calendar_class_init (GtkCalendarClass *class)
*/ */
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_SHOW_WEEK_NUMBERS, PROP_SHOW_WEEK_NUMBERS,
g_param_spec_boolean ("show_week_numbers", g_param_spec_boolean ("show-week-numbers",
P_("Show Week Numbers"), P_("Show Week Numbers"),
P_("If TRUE, week numbers are displayed"), P_("If TRUE, week numbers are displayed"),
FALSE, FALSE,
......
...@@ -105,7 +105,7 @@ gtk_cell_renderer_combo_class_init (GtkCellRendererComboClass *klass) ...@@ -105,7 +105,7 @@ gtk_cell_renderer_combo_class_init (GtkCellRendererComboClass *klass)
*/ */
g_object_class_install_property (object_class, g_object_class_install_property (object_class,
PROP_TEXT_COLUMN, PROP_TEXT_COLUMN,
g_param_spec_int ("text_column", g_param_spec_int ("text-column",
P_("Text Column"), P_("Text Column"),
P_("A column in the data source model to get the strings from"), P_("A column in the data source model to get the strings from"),
-1, -1,
...@@ -123,7 +123,7 @@ gtk_cell_renderer_combo_class_init (GtkCellRendererComboClass *klass) ...@@ -123,7 +123,7 @@ gtk_cell_renderer_combo_class_init (GtkCellRendererComboClass *klass)
*/ */
g_object_class_install_property (object_class, g_object_class_install_property (object_class,
PROP_HAS_ENTRY, PROP_HAS_ENTRY,
g_param_spec_boolean ("has_entry", g_param_spec_boolean ("has-entry",
P_("Has Entry"), P_("Has Entry"),
P_("If FALSE, don't allow to enter strings other than the chosen ones"), P_("If FALSE, don't allow to enter strings other than the chosen ones"),
TRUE, TRUE,
......
...@@ -143,7 +143,7 @@ gtk_cell_renderer_pixbuf_class_init (GtkCellRendererPixbufClass *class) ...@@ -143,7 +143,7 @@ gtk_cell_renderer_pixbuf_class_init (GtkCellRendererPixbufClass *class)
g_object_class_install_property (object_class, g_object_class_install_property (object_class,
PROP_PIXBUF_EXPANDER_OPEN, PROP_PIXBUF_EXPANDER_OPEN,
g_param_spec_object ("pixbuf_expander_open", g_param_spec_object ("pixbuf-expander-open",
P_("Pixbuf Expander Open"), P_("Pixbuf Expander Open"),
P_("Pixbuf for open expander"), P_("Pixbuf for open expander"),
GDK_TYPE_PIXBUF, GDK_TYPE_PIXBUF,
...@@ -152,7 +152,7 @@ gtk_cell_renderer_pixbuf_class_init (GtkCellRendererPixbufClass *class) ...@@ -152,7 +152,7 @@ gtk_cell_renderer_pixbuf_class_init (GtkCellRendererPixbufClass *class)
g_object_class_install_property (object_class, g_object_class_install_property (object_class,
PROP_PIXBUF_EXPANDER_CLOSED, PROP_PIXBUF_EXPANDER_CLOSED,
g_param_spec_object ("pixbuf_expander_closed", g_param_spec_object ("pixbuf-expander-closed",
P_("Pixbuf Expander Closed"), P_("Pixbuf Expander Closed"),
P_("Pixbuf for closed expander"), P_("Pixbuf for closed expander"),
GDK_TYPE_PIXBUF, GDK_TYPE_PIXBUF,
...@@ -161,7 +161,7 @@ gtk_cell_renderer_pixbuf_class_init (GtkCellRendererPixbufClass *class) ...@@ -161,7 +161,7 @@ gtk_cell_renderer_pixbuf_class_init (GtkCellRendererPixbufClass *class)
g_object_class_install_property (object_class, g_object_class_install_property (object_class,
PROP_STOCK_ID, PROP_STOCK_ID,
g_param_spec_string ("stock_id", g_param_spec_string ("stock-id",
P_("Stock ID"), P_("Stock ID"),
P_("The stock ID of the stock icon to render"), P_("The stock ID of the stock icon to render"),
NULL, NULL,
...@@ -169,7 +169,7 @@ gtk_cell_renderer_pixbuf_class_init (GtkCellRendererPixbufClass *class) ...@@ -169,7 +169,7 @@ gtk_cell_renderer_pixbuf_class_init (GtkCellRendererPixbufClass *class)
g_object_class_install_property (object_class, g_object_class_install_property (object_class,
PROP_STOCK_SIZE, PROP_STOCK_SIZE,
g_param_spec_uint ("stock_size", g_param_spec_uint ("stock-size",
P_("Size"), P_("Size"),
P_("The GtkIconSize value that specifies the size of the rendered icon"), P_("The GtkIconSize value that specifies the size of the rendered icon"),
0, 0,
...@@ -179,7 +179,7 @@ gtk_cell_renderer_pixbuf_class_init (GtkCellRendererPixbufClass *class) ...@@ -179,7 +179,7 @@ gtk_cell_renderer_pixbuf_class_init (GtkCellRendererPixbufClass *class)
g_object_class_install_property (object_class, g_object_class_install_property (object_class,
PROP_STOCK_DETAIL, PROP_STOCK_DETAIL,
g_param_spec_string ("stock_detail", g_param_spec_string ("stock-detail",
P_("Detail"), P_("Detail"),
P_("Render detail to pass to the theme engine"), P_("Render detail to pass to the theme engine"),
NULL, NULL,
...@@ -195,7 +195,7 @@ gtk_cell_renderer_pixbuf_class_init (GtkCellRendererPixbufClass *class) ...@@ -195,7 +195,7 @@ gtk_cell_renderer_pixbuf_class_init (GtkCellRendererPixbufClass *class)
*/ */
g_object_class_install_property (object_class, g_object_class_install_property (object_class,
PROP_FOLLOW_STATE, PROP_FOLLOW_STATE,
g_param_spec_boolean ("follow_state", g_param_spec_boolean ("follow-state",
P_("Follow State"), P_("Follow State"),
P_("Whether the rendered pixbuf should be " P_("Whether the rendered pixbuf should be "
"colorized according to the state"), "colorized according to the state"),
......
...@@ -185,7 +185,7 @@ gtk_cell_view_class_init (GtkCellViewClass *klass) ...@@ -185,7 +185,7 @@ gtk_cell_view_class_init (GtkCellViewClass *klass)
G_PARAM_WRITABLE)); G_PARAM_WRITABLE));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_BACKGROUND_GDK, PROP_BACKGROUND_GDK,
g_param_spec_boxed ("background_gdk", g_param_spec_boxed ("background-gdk",
P_("Background color"), P_("Background color"),
P_("Background color as a GdkColor"), P_("Background color as a GdkColor"),
GDK_TYPE_COLOR, GDK_TYPE_COLOR,
...@@ -193,7 +193,7 @@ gtk_cell_view_class_init (GtkCellViewClass *klass) ...@@ -193,7 +193,7 @@ gtk_cell_view_class_init (GtkCellViewClass *klass)
#define ADD_SET_PROP(propname, propval, nick, blurb) g_object_class_install_property (gobject_class, propval, g_param_spec_boolean (propname, nick, blurb, FALSE, G_PARAM_READABLE | G_PARAM_WRITABLE)) #define ADD_SET_PROP(propname, propval, nick, blurb) g_object_class_install_property (gobject_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_("Background set"),
P_("Whether this tag affects the background color")); P_("Whether this tag affects the background color"));
......
...@@ -96,7 +96,7 @@ gtk_check_button_class_init (GtkCheckButtonClass *class) ...@@ -96,7 +96,7 @@ gtk_check_button_class_init (GtkCheckButtonClass *class)
class->draw_indicator = gtk_real_check_button_draw_indicator; class->draw_indicator = gtk_real_check_button_draw_indicator;
gtk_widget_class_install_style_property (widget_class, gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("indicator_size", g_param_spec_int ("indicator-size",
P_("Indicator Size"), P_("Indicator Size"),
P_("Size of check or radio indicator"), P_("Size of check or radio indicator"),
0, 0,
...@@ -104,7 +104,7 @@ gtk_check_button_class_init (GtkCheckButtonClass *class) ...@@ -104,7 +104,7 @@ gtk_check_button_class_init (GtkCheckButtonClass *class)
INDICATOR_SIZE, INDICATOR_SIZE,
G_PARAM_READABLE)); G_PARAM_READABLE));
gtk_widget_class_install_style_property (widget_class, gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("indicator_spacing", g_param_spec_int ("indicator-spacing",
P_("Indicator Spacing"), P_("Indicator Spacing"),
P_("Spacing around check or radio indicator"), P_("Spacing around check or radio indicator"),
0, 0,
......
...@@ -130,14 +130,14 @@ gtk_check_menu_item_class_init (GtkCheckMenuItemClass *klass) ...@@ -130,14 +130,14 @@ gtk_check_menu_item_class_init (GtkCheckMenuItemClass *klass)
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_DRAW_AS_RADIO, PROP_DRAW_AS_RADIO,
g_param_spec_boolean ("draw_as_radio", g_param_spec_boolean ("draw-as-radio",
P_("Draw as radio menu item"), P_("Draw as radio menu item"),
P_("Whether the menu item looks like a radio menu item"), P_("Whether the menu item looks like a radio menu item"),
FALSE, FALSE,
G_PARAM_READWRITE)); G_PARAM_READWRITE));
gtk_widget_class_install_style_property (widget_class, gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("indicator_size", g_param_spec_int ("indicator-size",
P_("Indicator Size") P_("Indicator Size")
, ,
P_("Size of check or radio indicator"), P_("Size of check or radio indicator"),
......
...@@ -575,19 +575,19 @@ gtk_clist_class_init (GtkCListClass *klass) ...@@ -575,19 +575,19 @@ gtk_clist_class_init (GtkCListClass *klass)
klass->set_cell_contents = set_cell_contents; klass->set_cell_contents = set_cell_contents;
klass->cell_size_request = cell_size_request; klass->cell_size_request = cell_size_request;
gtk_object_add_arg_type ("GtkCList::n_columns", gtk_object_add_arg_type ("GtkCList::n-columns",
GTK_TYPE_UINT, GTK_TYPE_UINT,
GTK_ARG_READWRITE | GTK_ARG_CONSTRUCT_ONLY, GTK_ARG_READWRITE | GTK_ARG_CONSTRUCT_ONLY,
ARG_N_COLUMNS); ARG_N_COLUMNS);
gtk_object_add_arg_type ("GtkCList::shadow_type", gtk_object_add_arg_type ("GtkCList::shadow-type",
GTK_TYPE_SHADOW_TYPE, GTK_TYPE_SHADOW_TYPE,
GTK_ARG_READWRITE, GTK_ARG_READWRITE,
ARG_SHADOW_TYPE); ARG_SHADOW_TYPE);
gtk_object_add_arg_type ("GtkCList::selection_mode", gtk_object_add_arg_type ("GtkCList::selection-mode",
GTK_TYPE_SELECTION_MODE, GTK_TYPE_SELECTION_MODE,
GTK_ARG_READWRITE, GTK_ARG_READWRITE,
ARG_SELECTION_MODE); ARG_SELECTION_MODE);
gtk_object_add_arg_type ("GtkCList::row_height", gtk_object_add_arg_type ("GtkCList::row-height",
GTK_TYPE_UINT, GTK_TYPE_UINT,
GTK_ARG_READWRITE, GTK_ARG_READWRITE,
ARG_ROW_HEIGHT); ARG_ROW_HEIGHT);
...@@ -595,15 +595,15 @@ gtk_clist_class_init (GtkCListClass *klass) ...@@ -595,15 +595,15 @@ gtk_clist_class_init (GtkCListClass *klass)
GTK_TYPE_BOOL, GTK_TYPE_BOOL,
GTK_ARG_READWRITE, GTK_ARG_READWRITE,
ARG_REORDERABLE); ARG_REORDERABLE);
gtk_object_add_arg_type ("GtkCList::titles_active", gtk_object_add_arg_type ("GtkCList::titles-active",
GTK_TYPE_BOOL, GTK_TYPE_BOOL,
GTK_ARG_READWRITE, GTK_ARG_READWRITE,
ARG_TITLES_ACTIVE); ARG_TITLES_ACTIVE);
gtk_object_add_arg_type ("GtkCList::use_drag_icons", gtk_object_add_arg_type ("GtkCList::use-drag-icons",
GTK_TYPE_BOOL, GTK_TYPE_BOOL,
GTK_ARG_READWRITE, GTK_ARG_READWRITE,
ARG_USE_DRAG_ICONS); ARG_USE_DRAG_ICONS);
gtk_object_add_arg_type ("GtkCList::sort_type", gtk_object_add_arg_type ("GtkCList::sort-type",
GTK_TYPE_SORT_TYPE, GTK_TYPE_SORT_TYPE,
GTK_ARG_READWRITE, GTK_ARG_READWRITE,
ARG_SORT_TYPE); ARG_SORT_TYPE);
...@@ -870,11 +870,11 @@ gtk_clist_class_init (GtkCListClass *klass) ...@@ -870,11 +870,11 @@ gtk_clist_class_init (GtkCListClass *klass)
"scroll_horizontal", 2, "scroll_horizontal", 2,
GTK_TYPE_ENUM, GTK_SCROLL_JUMP, GTK_TYPE_ENUM, GTK_SCROLL_JUMP,
GTK_TYPE_FLOAT, 1.0); GTK_TYPE_FLOAT, 1.0);
gtk_binding_entry_add_signal (binding_set, GDK_KP_End, 0, gtk_binding_entry_add_signal (binding_set, GDK_KP_End, 0,
"scroll_horizontal", 2, "scroll_horizontal", 2,
GTK_TYPE_ENUM, GTK_SCROLL_JUMP, GTK_TYPE_ENUM, GTK_SCROLL_JUMP,
GTK_TYPE_FLOAT, 1.0); GTK_TYPE_FLOAT, 1.0);
gtk_binding_entry_add_signal (binding_set, GDK_Escape, 0, gtk_binding_entry_add_signal (binding_set, GDK_Escape, 0,
"undo_selection", 0); "undo_selection", 0);
......
...@@ -200,7 +200,7 @@ gtk_color_button_class_init (GtkColorButtonClass *klass) ...@@ -200,7 +200,7 @@ gtk_color_button_class_init (GtkColorButtonClass *klass)
*/ */
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_USE_ALPHA, PROP_USE_ALPHA,
g_param_spec_boolean ("use_alpha", P_("Use alpha"), g_param_spec_boolean ("use-alpha", P_("Use alpha"),
P_("Whether or not to give the color an alpha value"), P_("Whether or not to give the color an alpha value"),
FALSE, FALSE,
(G_PARAM_READABLE | G_PARAM_WRITABLE))); (G_PARAM_READABLE | G_PARAM_WRITABLE)));
......
...@@ -1813,28 +1813,28 @@ gtk_color_selection_class_init (GtkColorSelectionClass *klass) ...@@ -1813,28 +1813,28 @@ gtk_color_selection_class_init (GtkColorSelectionClass *klass)
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_HAS_OPACITY_CONTROL, PROP_HAS_OPACITY_CONTROL,
g_param_spec_boolean ("has_opacity_control", g_param_spec_boolean ("has-opacity-control",
P_("Has Opacity Control"), P_("Has Opacity Control"),
P_("Whether the color selector should allow setting opacity"), P_("Whether the color selector should allow setting opacity"),
FALSE, FALSE,
G_PARAM_READABLE | G_PARAM_WRITABLE)); G_PARAM_READABLE | G_PARAM_WRITABLE));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_HAS_PALETTE, PROP_HAS_PALETTE,
g_param_spec_boolean ("has_palette", g_param_spec_boolean ("has-palette",
P_("Has palette"), P_("Has palette"),
P_("Whether a palette should be used"), P_("Whether a palette should be used"),
FALSE, FALSE,
G_PARAM_READABLE | G_PARAM_WRITABLE)); G_PARAM_READABLE | G_PARAM_WRITABLE));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_CURRENT_COLOR, PROP_CURRENT_COLOR,
g_param_spec_boxed ("current_color", g_param_spec_boxed ("current-color",
P_("Current Color"), P_("Current Color"),
P_("The current color"), P_("The current color"),
GDK_TYPE_COLOR, GDK_TYPE_COLOR,
G_PARAM_READABLE | G_PARAM_WRITABLE)); G_PARAM_READABLE | G_PARAM_WRITABLE));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_CURRENT_ALPHA, PROP_CURRENT_ALPHA,
g_param_spec_uint ("current_alpha", g_param_spec_uint ("current-alpha",
P_("Current Alpha"), P_("Current Alpha"),
P_("The current opacity value (0 fully transparent, 65535 fully opaque)"), P_("The current opacity value (0 fully transparent, 65535 fully opaque)"),
0, 65535, 65535, 0, 65535, 65535,
......
...@@ -141,21 +141,21 @@ gtk_combo_class_init (GtkComboClass * klass) ...@@ -141,21 +141,21 @@ gtk_combo_class_init (GtkComboClass * klass)
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_ENABLE_ARROW_KEYS, PROP_ENABLE_ARROW_KEYS,
g_param_spec_boolean ("enable_arrow_keys", g_param_spec_boolean ("enable-arrow-keys",
P_("Enable arrow keys"), P_("Enable arrow keys"),
P_("Whether the arrow keys move through the list of items"), P_("Whether the arrow keys move through the list of items"),
TRUE, TRUE,
G_PARAM_READABLE | G_PARAM_WRITABLE)); G_PARAM_READABLE | G_PARAM_WRITABLE));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_ENABLE_ARROWS_ALWAYS, PROP_ENABLE_ARROWS_ALWAYS,
g_param_spec_boolean ("enable_arrows_always", g_param_spec_boolean ("enable-arrows-always",
P_("Always enable arrows"), P_("Always enable arrows"),
P_("Obsolete property, ignored"), P_("Obsolete property, ignored"),
TRUE, TRUE,
G_PARAM_READABLE | G_PARAM_WRITABLE)); G_PARAM_READABLE | G_PARAM_WRITABLE));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_CASE_SENSITIVE, PROP_CASE_SENSITIVE,
g_param_spec_boolean ("case_sensitive", g_param_spec_boolean ("case-sensitive",
P_("Case sensitive"), P_("Case sensitive"),
P_("Whether list item matching is case sensitive"), P_("Whether list item matching is case sensitive"),
FALSE, FALSE,
...@@ -163,7 +163,7 @@ gtk_combo_class_init (GtkComboClass * klass) ...@@ -163,7 +163,7 @@ gtk_combo_class_init (GtkComboClass * klass)
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_ALLOW_EMPTY, PROP_ALLOW_EMPTY,
g_param_spec_boolean ("allow_empty", g_param_spec_boolean ("allow-empty",
P_("Allow empty"), P_("Allow empty"),
P_("Whether an empty value may be entered in this field"), P_("Whether an empty value may be entered in this field"),
TRUE, TRUE,
...@@ -171,7 +171,7 @@ gtk_combo_class_init (GtkComboClass * klass) ...@@ -171,7 +171,7 @@ gtk_combo_class_init (GtkComboClass * klass)
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_VALUE_IN_LIST, PROP_VALUE_IN_LIST,
g_param_spec_boolean ("value_in_list", g_param_spec_boolean ("value-in-list",
P_("Value in list"), P_("Value in list"),
P_("Whether entered values must already be present in the list"), P_("Whether entered values must already be present in the list"),
FALSE, FALSE,
......
...@@ -564,7 +564,7 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass) ...@@ -564,7 +564,7 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass)
*/ */
g_object_class_install_property (object_class, g_object_class_install_property (object_class,
PROP_WRAP_WIDTH,