Lines Matching defs:row
120 Gtk::ListStore::iterator row;
122 row = model->children().begin();
132 if ( row == model->children().end() ) {
133 row = model->append();
136 row->set_value(columns.name, Glib::ustring(heap->name()));
138 row->set_value(columns.total, format_size(stats.size));
141 row->set_value(columns.total, Glib::ustring(_("Unknown")));
144 row->set_value(columns.used, format_size(stats.bytes_used));
147 row->set_value(columns.used, Glib::ustring(_("Unknown")));
152 row->set_value(columns.slack, format_size(stats.size - stats.bytes_used));
154 row->set_value(columns.slack, Glib::ustring(_("Unknown")));
157 ++row;
161 if ( row == model->children().end() ) {
162 row = model->append();
167 row->set_value(columns.name, Glib::ustring(_("Combined")));
170 row->set_value(columns.total, format_size(total.size));
172 row->set_value(columns.total, Glib::ustring("> ") + format_size(total.size));
176 row->set_value(columns.used, format_size(total.bytes_used));
178 row->set_value(columns.used, Glib::ustring("> ") + format_size(total.bytes_used));
184 row->set_value(columns.slack, format_size(total.size - total.bytes_used));
186 row->set_value(columns.slack, Glib::ustring(_("Unknown")));
189 ++row;
191 while ( row != model->children().end() ) {
192 row = model->erase(row);