[glade/gbinding] Don't show the target property as possible source property in the "Binding to source..." dialog
- From: Denis Washington <denisw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glade/gbinding] Don't show the target property as possible source property in the "Binding to source..." dialog
- Date: Wed, 20 Jul 2011 20:25:32 +0000 (UTC)
commit 637de61c327a7e7a91237dcd2f463c9c0d41436c
Author: Denis Washington <denisw src gnome org>
Date: Wed Jul 20 22:23:08 2011 +0200
Don't show the target property as possible source property in the "Binding to source..." dialog
How senseless would that be?...
gladeui/glade-editor-property.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gladeui/glade-editor-property.c b/gladeui/glade-editor-property.c
index 9ee0b6e..6a21af1 100644
--- a/gladeui/glade-editor-property.c
+++ b/gladeui/glade-editor-property.c
@@ -311,7 +311,8 @@ glade_editor_property_update_binding_source_view (GtkWidget *bsrc_view,
GtkTreeIter iter;
if (!glade_property_get_sensitive (prop)
- || !glade_property_get_enabled (prop))
+ || !glade_property_get_enabled (prop)
+ || prop == target)
continue;
gtk_list_store_append (model, &iter);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]