diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2005-03-09 06:15:13 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2005-03-09 06:15:13 +0000 |
commit | 52711c24e8b24c395f014de9d96019b728a28cf1 (patch) | |
tree | a14adea19950f5915458e44c9be22af11bf3855c /gtk/gtktable.c | |
parent | 263bce4445987c0ffee10438464106d55458f85e (diff) | |
download | gtk+-52711c24e8b24c395f014de9d96019b728a28cf1.tar.gz |
More canonical property names.
Diffstat (limited to 'gtk/gtktable.c')
-rw-r--r-- | gtk/gtktable.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/gtk/gtktable.c b/gtk/gtktable.c index d8bf67e423..142882726b 100644 --- a/gtk/gtktable.c +++ b/gtk/gtktable.c @@ -156,7 +156,7 @@ gtk_table_class_init (GtkTableClass *class) g_object_class_install_property (gobject_class, PROP_N_ROWS, - g_param_spec_uint ("n_rows", + g_param_spec_uint ("n-rows", P_("Rows"), P_("The number of rows in the table"), 0, @@ -165,7 +165,7 @@ gtk_table_class_init (GtkTableClass *class) G_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_N_COLUMNS, - g_param_spec_uint ("n_columns", + g_param_spec_uint ("n-columns", P_("Columns"), P_("The number of columns in the table"), 0, @@ -174,7 +174,7 @@ gtk_table_class_init (GtkTableClass *class) G_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_ROW_SPACING, - g_param_spec_uint ("row_spacing", + g_param_spec_uint ("row-spacing", P_("Row spacing"), P_("The amount of space between two consecutive rows"), 0, @@ -183,7 +183,7 @@ gtk_table_class_init (GtkTableClass *class) G_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_COLUMN_SPACING, - g_param_spec_uint ("column_spacing", + g_param_spec_uint ("column-spacing", P_("Column spacing"), P_("The amount of space between two consecutive columns"), 0, @@ -200,56 +200,56 @@ gtk_table_class_init (GtkTableClass *class) gtk_container_class_install_child_property (container_class, CHILD_PROP_LEFT_ATTACH, - g_param_spec_uint ("left_attach", + g_param_spec_uint ("left-attach", P_("Left attachment"), P_("The column number to attach the left side of the child to"), 0, 65535, 0, G_PARAM_READWRITE)); gtk_container_class_install_child_property (container_class, CHILD_PROP_RIGHT_ATTACH, - g_param_spec_uint ("right_attach", + g_param_spec_uint ("right-attach", P_("Right attachment"), P_("The column number to attach the right side of a child widget to"), 1, 65535, 1, G_PARAM_READWRITE)); gtk_container_class_install_child_property (container_class, CHILD_PROP_TOP_ATTACH, - g_param_spec_uint ("top_attach", + g_param_spec_uint ("top-attach", P_("Top attachment"), P_("The row number to attach the top of a child widget to"), 0, 65535, 0, G_PARAM_READWRITE)); gtk_container_class_install_child_property (container_class, CHILD_PROP_BOTTOM_ATTACH, - g_param_spec_uint ("bottom_attach", + g_param_spec_uint ("bottom-attach", P_("Bottom attachment"), P_("The row number to attach the bottom of the child to"), 1, 65535, 1, G_PARAM_READWRITE)); gtk_container_class_install_child_property (container_class, CHILD_PROP_X_OPTIONS, - g_param_spec_flags ("x_options", + g_param_spec_flags ("x-options", P_("Horizontal options"), P_("Options specifying the horizontal behaviour of the child"), GTK_TYPE_ATTACH_OPTIONS, GTK_EXPAND | GTK_FILL, G_PARAM_READWRITE)); gtk_container_class_install_child_property (container_class, CHILD_PROP_Y_OPTIONS, - g_param_spec_flags ("y_options", + g_param_spec_flags ("y-options", P_("Vertical options"), P_("Options specifying the vertical behaviour of the child"), GTK_TYPE_ATTACH_OPTIONS, GTK_EXPAND | GTK_FILL, G_PARAM_READWRITE)); gtk_container_class_install_child_property (container_class, CHILD_PROP_X_PADDING, - g_param_spec_uint ("x_padding", + g_param_spec_uint ("x-padding", P_("Horizontal padding"), P_("Extra space to put between the child and its left and right neighbors, in pixels"), 0, 65535, 0, G_PARAM_READWRITE)); gtk_container_class_install_child_property (container_class, CHILD_PROP_Y_PADDING, - g_param_spec_uint ("y_padding", + g_param_spec_uint ("y-padding", P_("Vertical padding"), P_("Extra space to put between the child and its upper and lower neighbors, in pixels"), 0, 65535, 0, |