forked from AuroraMiddleware/gtk
GtkToolItem: Use G_PARAM_EXPLICIT_NOTIFY
This commit is contained in:
parent
3074fcf31d
commit
17059f9c17
@ -179,21 +179,21 @@ gtk_tool_item_class_init (GtkToolItemClass *klass)
|
|||||||
P_("Visible when horizontal"),
|
P_("Visible when horizontal"),
|
||||||
P_("Whether the toolbar item is visible when the toolbar is in a horizontal orientation."),
|
P_("Whether the toolbar item is visible when the toolbar is in a horizontal orientation."),
|
||||||
TRUE,
|
TRUE,
|
||||||
GTK_PARAM_READWRITE));
|
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
|
||||||
g_object_class_install_property (object_class,
|
g_object_class_install_property (object_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 is in a vertical orientation."),
|
P_("Whether the toolbar item is visible when the toolbar is in a vertical orientation."),
|
||||||
TRUE,
|
TRUE,
|
||||||
GTK_PARAM_READWRITE));
|
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
|
||||||
g_object_class_install_property (object_class,
|
g_object_class_install_property (object_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 toolbar item is considered important. When TRUE, toolbar buttons show text in GTK_TOOLBAR_BOTH_HORIZ mode"),
|
P_("Whether the toolbar item is considered important. When TRUE, toolbar buttons show text in GTK_TOOLBAR_BOTH_HORIZ mode"),
|
||||||
FALSE,
|
FALSE,
|
||||||
GTK_PARAM_READWRITE));
|
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
|
||||||
|
|
||||||
g_object_class_override_property (object_class, PROP_ACTIVATABLE_RELATED_ACTION, "related-action");
|
g_object_class_override_property (object_class, PROP_ACTIVATABLE_RELATED_ACTION, "related-action");
|
||||||
g_object_class_override_property (object_class, PROP_ACTIVATABLE_USE_ACTION_APPEARANCE, "use-action-appearance");
|
g_object_class_override_property (object_class, PROP_ACTIVATABLE_USE_ACTION_APPEARANCE, "use-action-appearance");
|
||||||
|
Loading…
Reference in New Issue
Block a user