Commit a111a56a authored by Tristan Van Berkom's avatar Tristan Van Berkom Committed by Juan Pablo Ugarte
Browse files

* gladeui/glade-popup.c: Fixed property popup to not show DevHelp link when the property

	  is a virtual one.
parent 9c947d16
......@@ -10,6 +10,9 @@
to Glade and use the GladeStringList boxed type to edit the list of translatable
items.
* gladeui/glade-popup.c: Fixed property popup to not show DevHelp link when the property
is a virtual one.
2011-01-25 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* gladeui/glade-design-layout.[ch]:
......
......@@ -710,7 +710,8 @@ glade_popup_property_pop (GladeProperty * property, GdkEventButton * event)
NULL, TRUE, glade_popup_clear_property_cb, property);
g_object_get (adaptor, "book", &book, NULL);
if (book && glade_util_have_devhelp ())
if (!glade_property_class_get_virtual (pclass) &&
book && glade_util_have_devhelp ())
{
GtkWidget *icon = glade_util_get_devhelp_icon (GTK_ICON_SIZE_MENU);
glade_popup_append_item (popup_menu, NULL, _("Read _documentation"), icon,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment