forked from AuroraMiddleware/gtk
GtkActionable: Improve property names
These names show up as title in the property editor in the inspector, so we want them to look consistent with the rest.
This commit is contained in:
parent
c24cc63523
commit
a28e76f09c
@ -68,12 +68,12 @@ static void
|
|||||||
gtk_actionable_default_init (GtkActionableInterface *iface)
|
gtk_actionable_default_init (GtkActionableInterface *iface)
|
||||||
{
|
{
|
||||||
g_object_interface_install_property (iface,
|
g_object_interface_install_property (iface,
|
||||||
g_param_spec_string ("action-name", P_("action name"),
|
g_param_spec_string ("action-name", P_("Action name"),
|
||||||
P_("The name of the associated action, like 'app.quit'"),
|
P_("The name of the associated action, like 'app.quit'"),
|
||||||
NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
g_object_interface_install_property (iface,
|
g_object_interface_install_property (iface,
|
||||||
g_param_spec_variant ("action-target", P_("action target value"),
|
g_param_spec_variant ("action-target", P_("Action target value"),
|
||||||
P_("The parameter for action invocations"),
|
P_("The parameter for action invocations"),
|
||||||
G_VARIANT_TYPE_ANY, NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
G_VARIANT_TYPE_ANY, NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user