Nicer nicks for GtkMenuButton properties

Requested in
https://bugzilla.gnome.org/show_bug.cgi?id=720945
This commit is contained in:
Matthias Clasen 2014-01-04 23:36:12 -05:00
parent c6175bbe68
commit 6a7670efe5

View File

@ -512,7 +512,7 @@ gtk_menu_button_class_init (GtkMenuButtonClass *klass)
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_POPUP, PROP_POPUP,
g_param_spec_object ("popup", g_param_spec_object ("popup",
P_("popup"), P_("Popup"),
P_("The dropdown menu."), P_("The dropdown menu."),
GTK_TYPE_MENU, GTK_TYPE_MENU,
G_PARAM_READWRITE)); G_PARAM_READWRITE));
@ -529,7 +529,7 @@ gtk_menu_button_class_init (GtkMenuButtonClass *klass)
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_MODEL, PROP_MODEL,
g_param_spec_object ("menu-model", g_param_spec_object ("menu-model",
P_("menu-model"), P_("Menu model"),
P_("The dropdown menu's model."), P_("The dropdown menu's model."),
G_TYPE_MENU_MODEL, G_TYPE_MENU_MODEL,
G_PARAM_READWRITE)); G_PARAM_READWRITE));
@ -543,7 +543,7 @@ gtk_menu_button_class_init (GtkMenuButtonClass *klass)
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_ALIGN_WIDGET, PROP_ALIGN_WIDGET,
g_param_spec_object ("align-widget", g_param_spec_object ("align-widget",
P_("align-widget"), P_("Align with"),
P_("The parent widget which the menu should align with."), P_("The parent widget which the menu should align with."),
GTK_TYPE_CONTAINER, GTK_TYPE_CONTAINER,
G_PARAM_READWRITE)); G_PARAM_READWRITE));
@ -558,7 +558,7 @@ gtk_menu_button_class_init (GtkMenuButtonClass *klass)
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_DIRECTION, PROP_DIRECTION,
g_param_spec_enum ("direction", g_param_spec_enum ("direction",
P_("direction"), P_("Direction"),
P_("The direction the arrow should point."), P_("The direction the arrow should point."),
GTK_TYPE_ARROW_TYPE, GTK_TYPE_ARROW_TYPE,
GTK_ARROW_DOWN, GTK_ARROW_DOWN,