summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1e595dd)
raw | patch | inline | side by side (parent: 1e595dd)
author | mental <mental@users.sourceforge.net> | |
Tue, 15 Jan 2008 05:13:05 +0000 (05:13 +0000) | ||
committer | mental <mental@users.sourceforge.net> | |
Tue, 15 Jan 2008 05:13:05 +0000 (05:13 +0000) |
src/ui/dialog/filter-effects-dialog.cpp | patch | blob | history |
index 2469abb23f57c605e6b6a215612c80f025cb7408..dcd3cd8cf42200c8ebaaec6ee4dca3c10c1e3ca6 100644 (file)
int maxfont = 0;
for(int i = 0; i < FPInputConverter.end; ++i) {
- _vertical_layout->set_text(FPInputConverter.get_label((FilterPrimitiveInput)i));
+ _vertical_layout->set_text(_(FPInputConverter.get_label((FilterPrimitiveInput)i).c_str()));
int fontw, fonth;
_vertical_layout->get_pixel_size(fontw, fonth);
if(fonth > maxfont)
text_start_x = rct.get_x() + rct.get_width() - _connection_cell.get_text_width() * (FPInputConverter.end + 1) + 1;
for(int i = 0; i < FPInputConverter.end; ++i) {
- _vertical_layout->set_text(FPInputConverter.get_label((FilterPrimitiveInput)i));
+ _vertical_layout->set_text(_(FPInputConverter.get_label((FilterPrimitiveInput)i).c_str()));
const int x = text_start_x + _connection_cell.get_text_width() * (i + 1);
get_bin_window()->draw_rectangle(get_style()->get_bg_gc(Gtk::STATE_NORMAL), true, x, vis_y, _connection_cell.get_text_width(), vis.get_height());
get_bin_window()->draw_layout(get_style()->get_text_gc(Gtk::STATE_NORMAL), x + 1, vis_y, _vertical_layout);