[glade/gbinding: 48/60] Don't show properties marked as "virtual" or "ignore" in "Bind to source..." dialog
- From: Denis Washington <denisw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glade/gbinding: 48/60] Don't show properties marked as "virtual" or "ignore" in "Bind to source..." dialog
- Date: Tue, 13 Dec 2011 07:03:30 +0000 (UTC)
commit dd1f6be9cc11da932400aef7f7be0c1094a86103
Author: Denis Washington <denisw src gnome org>
Date: Sat Aug 13 16:53:29 2011 +0200
Don't show properties marked as "virtual" or "ignore" in "Bind to source..." dialog
gladeui/glade-editor-property.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/gladeui/glade-editor-property.c b/gladeui/glade-editor-property.c
index 9fab951..8a6d888 100644
--- a/gladeui/glade-editor-property.c
+++ b/gladeui/glade-editor-property.c
@@ -258,9 +258,11 @@ glade_bind_dialog_update_property_view (GladeBindDialog *dialog,
GType type = G_PARAM_SPEC_TYPE (glade_property_class_get_pspec (pclass));
GtkTreeIter iter;
- if (!glade_property_get_sensitive (prop)
- || !glade_property_get_enabled (prop)
- || prop == target)
+ if (prop == target ||
+ !glade_property_get_sensitive (prop) ||
+ !glade_property_get_enabled (prop) ||
+ glade_property_class_get_virtual (pclass) ||
+ glade_property_class_get_ignore (pclass))
continue;
gtk_list_store_append (model, &iter);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]