aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-12-26 07:06:01 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-12-26 07:06:01 +0000
commit6daa8a167b8858965f32b1cb0766461de6740ea2 (patch)
treea69b7fce834b841f7256ce06b891ba6c4f910a2a /src
parent624978fc2ac911e5daac08905a8d6e5c62e53694 (diff)
added Windows-1252 for display encoding.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@864 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src')
-rw-r--r--src/compose.c2
-rw-r--r--src/mainwindow.c2
-rw-r--r--src/messageview.c2
-rw-r--r--src/prefs_common_dialog.c4
4 files changed, 8 insertions, 2 deletions
diff --git a/src/compose.c b/src/compose.c
index f430f2ea..3a216f47 100644
--- a/src/compose.c
+++ b/src/compose.c
@@ -622,8 +622,6 @@ static GtkItemFactoryEntry compose_entries[] =
ENC_ACTION(C_GBK)},
{N_("/_View/Character _encoding/Traditional Chinese (_Big5)"),
ENC_ACTION(C_BIG5)},
- {N_("/_View/Character _encoding/Traditional Chinese (EUC-_TW)"),
- ENC_ACTION(C_EUC_TW)},
{N_("/_View/Character _encoding/---"), NULL, NULL, 0, "<Separator>"},
{N_("/_View/Character _encoding/Korean (EUC-_KR)"),
diff --git a/src/mainwindow.c b/src/mainwindow.c
index 500e4640..e811f4b9 100644
--- a/src/mainwindow.c
+++ b/src/mainwindow.c
@@ -600,6 +600,8 @@ static GtkItemFactoryEntry mainwin_entries[] =
ENC_ACTION(C_ISO_8859_1)},
{N_("/_View/Character _encoding/Western European (ISO-8859-15)"),
ENC_ACTION(C_ISO_8859_15)},
+ {N_("/_View/Character _encoding/Western European (Windows-1252)"),
+ ENC_ACTION(C_WINDOWS_1252)},
ENC_SEPARATOR,
{N_("/_View/Character _encoding/Central European (ISO-8859-_2)"),
diff --git a/src/messageview.c b/src/messageview.c
index cea04ba8..bbc8738e 100644
--- a/src/messageview.c
+++ b/src/messageview.c
@@ -169,6 +169,8 @@ static GtkItemFactoryEntry msgview_entries[] =
ENC_ACTION(C_ISO_8859_1)},
{N_("/_View/Character _encoding/Western European (ISO-8859-15)"),
ENC_ACTION(C_ISO_8859_15)},
+ {N_("/_View/Character _encoding/Western European (Windows-1252)"),
+ ENC_ACTION(C_WINDOWS_1252)},
ENC_SEPARATOR,
{N_("/_View/Character _encoding/Central European (ISO-8859-_2)"),
ENC_ACTION(C_ISO_8859_2)},
diff --git a/src/prefs_common_dialog.c b/src/prefs_common_dialog.c
index c57d8aa7..01451602 100644
--- a/src/prefs_common_dialog.c
+++ b/src/prefs_common_dialog.c
@@ -2476,6 +2476,10 @@ static void prefs_common_set_encoding_optmenu(GtkOptionMenu *optmenu,
SET_MENUITEM(NULL, NULL);
SET_MENUITEM(_("Western European (ISO-8859-1)"), CS_ISO_8859_1);
SET_MENUITEM(_("Western European (ISO-8859-15)"), CS_ISO_8859_15);
+ if (!outgoing) {
+ SET_MENUITEM(_("Western European (Windows-1252)"),
+ CS_WINDOWS_1252);
+ }
SET_MENUITEM(NULL, NULL);
SET_MENUITEM(_("Central European (ISO-8859-2)"), CS_ISO_8859_2);
SET_MENUITEM(NULL, NULL);