[glade] * gladeui/glade-popup.c: Fixed property popup to not show DevHelp link when the property is a vi
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glade] * gladeui/glade-popup.c: Fixed property popup to not show DevHelp link when the property is a vi
- Date: Wed, 26 Jan 2011 13:22:51 +0000 (UTC)
commit fbb9d935f0fa947fd9c10828061a511bd065862c
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date: Wed Jan 26 22:30:31 2011 +0900
* gladeui/glade-popup.c: Fixed property popup to not show DevHelp link when the property
is a virtual one.
ChangeLog | 3 +++
gladeui/glade-popup.c | 3 ++-
2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 1096a8d..9dd812a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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]:
diff --git a/gladeui/glade-popup.c b/gladeui/glade-popup.c
index 91bcec2..a15c8cd 100644
--- a/gladeui/glade-popup.c
+++ b/gladeui/glade-popup.c
@@ -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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]