Mercurial > geeqie
diff src/bar_histogram.c @ 1471:65a5c27823c2
update translated pane titles
author | nadvornik |
---|---|
date | Sat, 21 Mar 2009 17:47:50 +0000 |
parents | 607c60506863 |
children | aec6992e5116 |
line wrap: on
line diff
--- a/src/bar_histogram.c Fri Mar 20 22:48:01 2009 +0000 +++ b/src/bar_histogram.c Sat Mar 21 17:47:50 2009 +0000 @@ -379,7 +379,7 @@ GtkWidget *bar_pane_histogram_new_from_config(const gchar **attribute_names, const gchar **attribute_values) { - gchar *title = g_strdup(_("NoName")); + gchar *title = NULL; gchar *id = g_strdup("histogram"); gboolean expanded = TRUE; gint height = 80; @@ -401,6 +401,7 @@ log_printf("unknown attribute %s = %s\n", option, value); } + bar_pane_translate_title(PANE_HISTOGRAM, id, &title); ret = bar_pane_histogram_new(id, title, height, expanded, histogram_channel, histogram_mode); g_free(title); g_free(id);