Author: toshok
Date: 2008-02-05 13:31:09 -0500 (Tue, 05 Feb 2008)
New Revision: 94920
Modified:
trunk/moon/plugin/plugin-debug.cpp
Log:
use gtk_store_append + gtk_store_set instrad of
gtk_tree_store_insert_with_values
Modified: trunk/moon/plugin/plugin-debug.cpp
===================================================================
--- trunk/moon/plugin/plugin-debug.cpp 2008-02-05 18:30:23 UTC (rev 94919)
+++ trunk/moon/plugin/plugin-debug.cpp 2008-02-05 18:31:09 UTC (rev 94920)
@@ -12,12 +12,14 @@
GtkTreeIter iter;
- gtk_tree_store_insert_with_values (store, &iter, parent, -1,
- 0, el->GetName() ? el->GetName() :
"",
- 1, el->GetTypeName(),
- 2, el,
- -1);
+ gtk_tree_store_append (store, &iter, parent);
+ gtk_tree_store_set (store, &iter,
+ 0, el->GetName() ? el->GetName() : "",
+ 1, el->GetTypeName(),
+ 2, el,
+ -1);
+
if (el->Is(Type::PANEL)) {
VisualCollection *children = ((Panel*)el)->GetChildren ();
if (children != NULL) {
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches