Bug 1234: Additional changes

This commit is contained in:
John Abraham
2011-08-05 13:22:53 -04:00
parent 34f7f7916d
commit 1ab4cfd167

View File

@@ -181,7 +181,7 @@ cell_tooltip_callback (GtkWidget *widget, gint x, gint y, gboolean keyboard_tip,
{
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 @@ cell_tooltip_callback (GtkWidget *widget, gint x, gint y, gboolean keyboard_tip,
}
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 @@ cell_tooltip_callback_config_default (GtkWidget *widget, gint x, gint y,
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