summaryrefslogtreecommitdiff
path: root/gladeui/glade-command.c
diff options
context:
space:
mode:
authorTristan Van Berkom <tvb@src.gnome.org>2008-11-25 17:09:00 +0000
committerTristan Van Berkom <tvb@src.gnome.org>2008-11-25 17:09:00 +0000
commit21605e922fd05b4f73458a5f3863605f71c4a72c (patch)
tree2c4e9760bee5dce7d86a6dba33776aa04d31b980 /gladeui/glade-command.c
parent0b940e4d7fd2563cc8ed8a20a0ae85640dd18a06 (diff)
downloadglade-21605e922fd05b4f73458a5f3863605f71c4a72c.tar.gz
Added editor support for Icon View.
* plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in: Added editor support for Icon View. * plugins/gtk+/glade-cell-renderer-editor.c: Export a new function to get the model from the renderer regardless of the layout type. * plugins/gtk+/glade-treeview-editor.c: Now supports editing any view that can have a model, and pops up the store editor automatically on the right of the normal widget editor. svn path=/trunk/; revision=2051
Diffstat (limited to 'gladeui/glade-command.c')
-rw-r--r--gladeui/glade-command.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gladeui/glade-command.c b/gladeui/glade-command.c
index c4c33918..fabff3e2 100644
--- a/gladeui/glade-command.c
+++ b/gladeui/glade-command.c
@@ -942,10 +942,12 @@ get_all_parentless_reffed_widgets (GList *reffed, GladeWidget *widget)
for (l = children; l; l = l->next)
{
if ((child = glade_widget_get_from_gobject (l->data)) != NULL)
+ {
if ((list = glade_widget_get_parentless_reffed_widgets (child)) != NULL)
reffed = g_list_concat (reffed, list);
- reffed = get_all_parentless_reffed_widgets (reffed, child);
+ reffed = get_all_parentless_reffed_widgets (reffed, child);
+ }
}
return reffed;