inspector: Wording changes

Align the property nicks of GtkCssNode with the column names
in the inspector node tree.
This commit is contained in:
Matthias Clasen
2016-03-09 19:08:46 -05:00
parent f23c77b14b
commit 6af8e9f3cc
2 changed files with 7 additions and 13 deletions

View File

@ -613,39 +613,33 @@ gtk_css_node_class_init (GtkCssNodeClass *klass)
G_TYPE_POINTER); G_TYPE_POINTER);
cssnode_properties[PROP_CLASSES] = cssnode_properties[PROP_CLASSES] =
g_param_spec_boxed ("classes", "Classes", g_param_spec_boxed ("classes", P_("Style Classes"), P_("List of classes"),
"List of classes",
G_TYPE_STRV, G_TYPE_STRV,
G_PARAM_READWRITE G_PARAM_READWRITE
| G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS); | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
cssnode_properties[PROP_ID] = cssnode_properties[PROP_ID] =
g_param_spec_string ("id", "ID", g_param_spec_string ("id", P_("ID"), P_("Unique ID"),
"Unique ID",
NULL, NULL,
G_PARAM_READWRITE G_PARAM_READWRITE
| G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS); | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
cssnode_properties[PROP_NAME] = cssnode_properties[PROP_NAME] =
g_param_spec_string ("name", "Name", g_param_spec_string ("name", P_("Name"), "Name identifying the type of node",
"Name identifying the type of node",
NULL, NULL,
G_PARAM_READWRITE G_PARAM_READWRITE
| G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS); | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
cssnode_properties[PROP_STATE] = cssnode_properties[PROP_STATE] =
g_param_spec_flags ("state", "State", g_param_spec_flags ("state", P_("State"), P_("State flags"),
"State flags",
GTK_TYPE_STATE_FLAGS, GTK_TYPE_STATE_FLAGS,
0, 0,
G_PARAM_READWRITE G_PARAM_READWRITE
| G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS); | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
cssnode_properties[PROP_VISIBLE] = cssnode_properties[PROP_VISIBLE] =
g_param_spec_boolean ("visible", "Visible", g_param_spec_boolean ("visible", P_("Visible"), P_("If other nodes can see this node"),
"If other nodes can see this node",
TRUE, TRUE,
G_PARAM_READWRITE G_PARAM_READWRITE
| G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS); | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
cssnode_properties[PROP_WIDGET_TYPE] = cssnode_properties[PROP_WIDGET_TYPE] =
g_param_spec_gtype ("widget-type", "Widget type", g_param_spec_gtype ("widget-type", P_("Widget type"), P_("GType of the widget"),
"GType of the widget",
G_TYPE_NONE, G_TYPE_NONE,
G_PARAM_READWRITE G_PARAM_READWRITE
| G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS); | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);

View File

@ -62,7 +62,7 @@
<child> <child>
<object class="GtkTreeViewColumn" id="node_classes_column"> <object class="GtkTreeViewColumn" id="node_classes_column">
<property name="resizable">1</property> <property name="resizable">1</property>
<property name="title" translatable="yes">Classes</property> <property name="title" translatable="yes">Style Classes</property>
<child> <child>
<object class="GtkCellRendererText"/> <object class="GtkCellRendererText"/>
<attributes> <attributes>