ruby-****@sourc*****
ruby-****@sourc*****
2009年 2月 17日 (火) 00:34:14 JST
------------------------- REMOTE_ADDR = 74.15.84.244 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-treev-addrnhs ------------------------- @@ -282,7 +282,7 @@ parent = store.append(nil) # store.set_value(parent, $buy_index, list[i].buy # <= same as below parent[$buy_index] = list[i].buy - parent[$qty_index] = list[i].quantity + parent[$qty_index] = list[i].quantity parent[$prod_index] = list[i].product # Otherwise, add the product as a child row of the category. @@ -290,7 +290,7 @@ child = store.append(parent) # store.set_value(child, $buy_index, list[i].buy # <= same as below child[$buy_index] = list[i].buy - child[$qty_index] = list[i].quantity + child[$qty_index] = list[i].quantity child[$prod_index] = list[i].product end end