[glade3] ...more selection paranoia..
- From: Tristan Van Berkom <tvb src gnome org>
- To: svn-commits-list gnome org
- Subject: [glade3] ...more selection paranoia..
- Date: Sat, 18 Apr 2009 14:59:04 -0400 (EDT)
commit 702933ef37955e06542ba7541db0a5ed5f3ea63a
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date: Sat Apr 18 14:58:44 2009 -0400
...more selection paranoia..
---
gladeui/glade-editor-property.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/gladeui/glade-editor-property.c b/gladeui/glade-editor-property.c
index ba184ac..5d3fb3b 100644
--- a/gladeui/glade-editor-property.c
+++ b/gladeui/glade-editor-property.c
@@ -2855,7 +2855,11 @@ glade_eprop_object_show_dialog (GtkWidget *dialog_button,
if (selected)
{
- GValue *value = glade_property_class_make_gvalue_from_string
+ GValue *value;
+
+ glade_project_selection_set (project, eprop->property->widget->object, TRUE);
+
+ value = glade_property_class_make_gvalue_from_string
(eprop->klass, selected->name, project, eprop->property->widget);
/* Unparent the widget so we can reuse it for this property */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]