[pan2] Fixed showing combobox options unlocalized
- From: Marek Černocký <mcernocky src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pan2] Fixed showing combobox options unlocalized
- Date: Mon, 11 Sep 2017 09:04:12 +0000 (UTC)
commit 05f02adab3d6be3a63fce692cc9057dce5c7cbae
Author: Marek Cernocky <marek_cernocky conel cz>
Date: Mon Sep 11 11:03:57 2017 +0200
Fixed showing combobox options unlocalized
pan/gui/prefs-ui.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pan/gui/prefs-ui.cc b/pan/gui/prefs-ui.cc
index f735120..4b0d37c 100644
--- a/pan/gui/prefs-ui.cc
+++ b/pan/gui/prefs-ui.cc
@@ -570,7 +570,7 @@ namespace pan
for (size_t i=0; i<G_N_ELEMENTS(strings); ++i) {
GtkTreeIter iter;
gtk_list_store_append (store, &iter);
- gtk_list_store_set (store, &iter, 0, strings[i][0], 1, strings[i][1], -1);
+ gtk_list_store_set (store, &iter, 0, gettext(strings[i][0]), 1, strings[i][1], -1);
if (mode == strings[i][1])
sel_index = i;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]