Commit fbb9d935 authored by Tristan Van Berkom's avatar Tristan Van Berkom
Browse files

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

	  is a virtual one.
parent e086ae99
...@@ -10,6 +10,9 @@ ...@@ -10,6 +10,9 @@
to Glade and use the GladeStringList boxed type to edit the list of translatable to Glade and use the GladeStringList boxed type to edit the list of translatable
items. 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> 2011-01-25 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* gladeui/glade-design-layout.[ch]: * gladeui/glade-design-layout.[ch]:
......
...@@ -710,7 +710,8 @@ glade_popup_property_pop (GladeProperty * property, GdkEventButton * event) ...@@ -710,7 +710,8 @@ glade_popup_property_pop (GladeProperty * property, GdkEventButton * event)
NULL, TRUE, glade_popup_clear_property_cb, property); NULL, TRUE, glade_popup_clear_property_cb, property);
g_object_get (adaptor, "book", &book, NULL); 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); GtkWidget *icon = glade_util_get_devhelp_icon (GTK_ICON_SIZE_MENU);
glade_popup_append_item (popup_menu, NULL, _("Read _documentation"), icon, 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