[libgda] GdaBrowser: correctly refresh favorites in Query exec. perspective



commit 3e342ec03a2417b7b6937929bba96b959c1ca2f5
Author: Vivien Malerba <malerba gnome-db org>
Date:   Tue Jan 18 20:41:38 2011 +0100

    GdaBrowser: correctly refresh favorites in Query exec. perspective

 tools/browser/mgr-favorites.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/tools/browser/mgr-favorites.c b/tools/browser/mgr-favorites.c
index 5ade778..f16b584 100644
--- a/tools/browser/mgr-favorites.c
+++ b/tools/browser/mgr-favorites.c
@@ -471,14 +471,14 @@ mgr_favorites_update_children (GdaTreeManager *manager, GdaTreeNode *node, const
 					g_value_set_object (av, pixbuf);
 					gda_tree_node_set_node_attribute (snode, "icon", av, NULL);
 					gda_value_free (av);
-
-					/* summary */
-					g_value_take_string ((av = gda_value_new (G_TYPE_STRING)),
-							     create_summary_for_statement (bcnc, fav->contents));
-					gda_tree_node_set_node_attribute (snode, "summary", av, NULL);
-					gda_value_free (av);
 				}
 
+				/* summary */
+				g_value_take_string ((av = gda_value_new (G_TYPE_STRING)),
+						     create_summary_for_statement (bcnc, fav->contents));
+				gda_tree_node_set_node_attribute (snode, "summary", av, NULL);
+				gda_value_free (av);
+
 				g_value_set_string ((av = gda_value_new (G_TYPE_STRING)),
 						    fav->contents);
 				gda_tree_node_set_node_attribute (snode,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]