Bug 1234: Additional changes
authorJohn Abraham <john.abraham@gatech.edu>
Fri, 05 Aug 2011 13:22:53 -0400
changeset 7405 88a8420ca16c
parent 7404 c7bd6a148b5a
child 7406 5249884a7e52
Bug 1234: Additional changes
src/config-store/model/display-functions.cc
--- a/src/config-store/model/display-functions.cc	Thu Aug 04 16:05:48 2011 -0400
+++ b/src/config-store/model/display-functions.cc	Fri Aug 05 13:22:53 2011 -0400
@@ -181,7 +181,7 @@
           {
             for (uint32_t i = 0; i < tid.GetAttributeN (); ++i)
               {
-                if (tid.GetAttributeName (i) == node->name)
+                if (tid.GetAttribute (i).name == node->name)
                   {
                     attrIndex = i;
                     goto out;
@@ -190,7 +190,7 @@
           }
 out: if (col == 0)
           {
-            std::string tip = tid.GetAttributeHelp (attrIndex);
+            std::string tip = tid.GetAttribute (attrIndex).help;
             gtk_tooltip_set_text (tooltip, tip.c_str ());
           }
         else
@@ -455,7 +455,7 @@
         uint32_t attrIndex = node->index;
         if (col == 0)
           {
-            std::string tip = node->tid.GetAttributeHelp (attrIndex);
+            std::string tip = node->tid.GetAttribute (attrIndex).help;
             gtk_tooltip_set_text (tooltip, tip.c_str ());
           }
         else