Code

Fixed filter type translation for the filter effects dialog.
authornicholasbishop <nicholasbishop@users.sourceforge.net>
Wed, 17 Oct 2007 06:14:21 +0000 (06:14 +0000)
committernicholasbishop <nicholasbishop@users.sourceforge.net>
Wed, 17 Oct 2007 06:14:21 +0000 (06:14 +0000)
src/ui/dialog/filter-effects-dialog.cpp

index f512e5b35c5c0dcf0182679ef1598043eedbd256..583591d8ec93ce5ee7907faaecf6f3a2e553d352 100644 (file)
@@ -1277,7 +1277,7 @@ void FilterEffectsDialog::PrimitiveList::update()
                 Gtk::TreeModel::Row row = *_model->append();
                 row[_columns.primitive] = prim;
                 row[_columns.type_id] = FPConverter.get_id_from_key(prim->repr->name());
-                row[_columns.type] = FPConverter.get_label(row[_columns.type_id]);
+                row[_columns.type] = _(FPConverter.get_label(row[_columns.type_id]).c_str());
                 row[_columns.id] = SP_OBJECT_ID(prim);
 
                 if(prim == active_prim) {