sync with 0.9.8cvs11
authorPaul Mangan <paul@claws-mail.org>
Thu, 29 Jan 2004 06:56:35 +0000 (06:56 +0000)
committerPaul Mangan <paul@claws-mail.org>
Thu, 29 Jan 2004 06:56:35 +0000 (06:56 +0000)
ChangeLog
ChangeLog.claws
ChangeLog.jp
README
README.jp
configure.ac
src/codeconv.c
src/prefs_common.c
src/prefs_common.h
src/summaryview.c

index 048e2b0..6f33d9c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2004-01-29
+
+       * src/summaryview.c: summary_key_pressed(): GDK_Left should only
+         switch to folderview when summaryview hscrollbar is at the leftmost
+         position (thanks to Alfons).
+
+2004-01-29
+
+       * src/codeconv.c: conv_euctojis(): made JIS X 0201 Kana conversion
+         configurable.
+       * src/prefs_common.[ch]: added PrefsCommon::allow_jisx0201_kana
+         (hidden setting).
+
 2004-01-28
 
        * src/codeconv.c: conv_euctojis(): force JIS X 0201 Kana to JIS X 0208
index 3bec22a..1d5f95f 100644 (file)
@@ -1,3 +1,8 @@
+2004-01-29 [paul]      0.9.8claws57
+
+       * sync with 0.9.8cvs11
+               see ChangeLog 2004-01-29
+
 2004-01-28 [christoph] 0.9.8claws56
 
        * src/pgpmime.c
index 3f92376..4f31162 100644 (file)
@@ -1,3 +1,16 @@
+2004-01-29
+
+       * src/summaryview.c: summary_key_pressed(): ¥µ¥Þ¥ê¥Ó¥å¡¼¤Î¿åÊ¿
+         ¥¹¥¯¥í¡¼¥ë¥Ð¡¼¤¬º¸Ã¼¤Ë¤¢¤ë¤È¤­¤Î¤ß GDK_Left ¤Ç¥Õ¥©¥ë¥À¥Ó¥å¡¼¤Ë
+         ÀÚ¤êÂؤ¨¤ë¤è¤¦¤Ë¤·¤¿(Alfons ¤µ¤ó thanks)¡£
+
+2004-01-29
+
+       * src/codeconv.c: conv_euctojis(): JIS X 0201 ¥«¥ÊÊÑ´¹¤òÀßÄê²Äǽ¤Ë
+         ¤·¤¿¡£
+       * src/prefs_common.[ch]: PrefsCommon::allow_jisx0201_kana (±£¤·ÀßÄê)
+         ¤òÄɲá£
+
 2004-01-28
 
        * src/codeconv.c: conv_euctojis(): JIS X 0201 ¥«¥Ê¤«¤é JIS X 0208
diff --git a/README b/README
index e8129b7..2b830ae 100644 (file)
--- a/README
+++ b/README
@@ -1,6 +1,6 @@
        Sylpheed - a GTK+ based, lightweight, and fast e-mail client
 
-   Copyright(C) 1999-2002 Hiroyuki Yamamoto <hiro-y@kcn.ne.jp>
+   Copyright(C) 1999-2004 Hiroyuki Yamamoto <hiro-y@kcn.ne.jp>
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
 What's Sylpheed
 ===============
 
-Sylpheed is an e-mail client (and news reader) based on GTK+, running on
-X Window System, and aiming for
+Sylpheed is an e-mail client and news reader based on GTK+ GUI toolkit,
+and runs on X Window System.
 
-  * Quick response
-  * Graceful, and sophisticated interface
-  * Easy configuration, intuitive operation
-  * Abundant features
+Sylpheed is a free software distributed under the GNU GPL.
+
+The development of Sylpheed sets the following things as its goal:
+
+  * Quick response by keeping CPU and memory usage to a minimum
+  * Fast processing even though a folder contains large number of messages
+    (more than 10 thousand)
+  * Enables intuitive operation by simple, graceful, and well-polished
+    interface
+  * Similar operation methods to other mailers.
+  * Readily available with simple configuration
+  * Fully equipped with features required as a mailer
+  * Full support of Japanese, and support of i18n
+  * Enables flexible interaction with external commands
+  * Stable, and don't lose any data (to the utmost) in case of crash
 
 The appearance and interface are similar to some popular e-mail clients for
 Windows, such as Outlook Express, Becky!, and Datula. The interface is also
-designed to emulate the mailers on Emacsen, and almost all commands are
-accessible with the keyboard. You'll figure out the usage if you have ever
-used some e-mail clients for Windows, or Mew or Wanderlust.
+designed to emulate the Emacs-based mailers, and almost all commands are
+accessible with the keyboard. So you will able to migrate to Sylpheed
+without much discomfort in the case where you are accustomed to other
+mailers.
 
 The messages are managed by MH format, and you'll be able to use it together
-with another mailer based on MH format (like Mew). You can also utilize
-fetchmail or/and procmail, and external programs on receiving (like inc or
-imget).
+with another mailer based on MH format (like Mew). It has less possibility
+of losing mails on failures since one file corresponds to one mail. You can
+import or export mbox format messages. You can also utilize fetchmail or/and
+procmail, and external programs on receiving (like inc or imget).
+
+Currently implemented major features
+====================================
+
+Supported protocols
 
-Currently implemented features are:
+       o POP3
+       o IMAP4rev1
+       o SMTP
+       o NNTP
+       o SSL/TLSv1 (POP3, SMTP, IMAP4rev1, NNTP)
+       o IPv6
+
+Features
 
-       o POP3 support
-       o IMAP4rev1 support
-       o integrated NetNews client
        o unlimited multiple account handling
        o thread display
        o filtering
        o MIME (attachments)
+       o integrated News reader
+       o SMTP AUTH support
+       o CRAM-MD5 authentication (SMTP AUTH / IMAP4rev1)
+       o APOP authentication (POP3)
+       o PGP signature / encryption (requires GPGME)
        o built-in image view
-       o X-Face support
+       o X-Face display
+       o user-defined headers
+       o color label
+       o Mew/Wanderlust compatible key bind
        o multiple MH folder support
        o mbox importing / exporting
-       o remote operation by command line
-       o per-folder configuration
-       o external editor support
+       o external editor
        o message queueing
        o automatic mail checking
-       o draft message function
-       o template function
+       o draft message
+       o template
        o line-wrapping
        o clickable URI
        o XML-based address book
-       o LDAP, vCard, and JPilot support
        o newly arrived and unread message management
-       o Mew/Wanderlust-like key bind
        o printing
-       o APOP authentication support
-       o SMTP AUTH support
-       o SSL support (POP3, SMTP, IMAP4rev1)
-       o IPv6 support
+       o offline mode
+       o remote operation by command line
+       o per-folder configuration
+       o LDAP, vCard, and JPilot support
        o drag & drop (partially implemented)
-       o GnuPG support (currently in progress)
-       o automake + autoconf support
+
+Others
+
+       o autoconf, automake support
        o internationalization of messages by gettext
-       o support of many code sets, including UTF-8 (Unicode) (when using
-         libjconv)
+       o support of many code sets, including UTF-8 (Unicode)
 
 and more.
 
@@ -140,6 +167,9 @@ dialog, but there are a few parameters which don't have user interface
 (you don't have to modify them in normal use). You must edit
 ~/.sylpheed/sylpheedrc by an editor when Sylpheed is not running.
 
+allow_jisx0201_kana            allow JIS X 0201 Kana (hankaku kana) on
+                               sending.
+                               0: off  1: on   [default: 0]
 bold_font                      bold font used in folder, summary and text view
 small_font                     small font used in summary view etc.
 enable_hscrollbar              enable horizontal scroll bar in summary view
index 49064d4..aee7ddd 100644 (file)
--- a/README.jp
+++ b/README.jp
@@ -1,6 +1,6 @@
        Sylpheed - GTK+ ¥Ù¡¼¥¹¤Î·ÚÎ̤ǹ⮤ÊÅŻҥ᡼¥ë¥¯¥é¥¤¥¢¥ó¥È
 
-   Copyright(C) 1999-2002 Hiroyuki Yamamoto <hiro-y@kcn.ne.jp>
+   Copyright(C) 1999-2004 Hiroyuki Yamamoto <hiro-y@kcn.ne.jp>
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
 What's Sylpheed
 ===============
 
-Sylpheed ¤Ï GTK+ ¤ò»ÈÍѤ·¤¿¡¢ X Window System ¾å¤ÇÆ°ºî¤¹¤ë
+Sylpheed¤ÏGUI¥Ä¡¼¥ë¥­¥Ã¥È¤ËGTK+¤ò»ÈÍѤ·¤¿¡¢ X Window System¾å¤ÇÆ°ºî¤¹¤ë
+ÅŻҥ᡼¥ë¥¯¥é¥¤¥¢¥ó¥È&¥Ë¥å¡¼¥¹¥ê¡¼¥À¡¼¤Ç¤¹¡£
 
-  * ·Ú²÷¤ÊÆ°ºî
-  * Èþ¤·¤¯¡¢ÀöÎý¤µ¤ì¤¿¥¤¥ó¥¿¥Õ¥§¡¼¥¹
-  * ÍưפÊÀßÄꡦľ´ÑŪ¤ÊÁàºî
-  * Ë­É٤ʵ¡Ç½
+Sylpheed ¤Ï GNU GPL ¤Ë½¾¤Ã¤ÆÇÛÉÛ¤µ¤ì¤Æ¤¤¤ë¥Õ¥ê¡¼¥½¥Õ¥È¥¦¥§¥¢¤Ç¤¹¡£
 
-¤òÌܻؤ·¤¿ÅŻҥ᡼¥ë¥¯¥é¥¤¥¢¥ó¥È(& ¥Ë¥å¡¼¥¹¥ê¡¼¥À¡¼)¤Ç¤¹¡£
+Sylpheed¤Ï°Ê²¼¤Î¤³¤È¤òÌÜɸ¤Ë¤·¤Æ³«È¯¤µ¤ì¤Æ¤¤¤Þ¤¹¡£
+
+  * CPU¡¦¥á¥â¥ê¤Î¾ÃÈñ¤òºÇ¾®¸Â¤ËÍÞ¤¨¤Æ·Ú²÷¤ËÆ°ºî
+  * 1¥Õ¥©¥ë¥ÀÃæ¤ËÂçÎ̤˥á¥Ã¥»¡¼¥¸¤¬Â¸ºß¤¹¤ë¾ì¹ç(10000Ä̰ʾå)¤Ç¤â¹â®¤Ë½èÍý
+  * ¥·¥ó¥×¥ë¤ÇÈþ¤·¤¯¡¢ÀöÎý¤µ¤ì¤¿¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤Ë¤è¤êľ´ÑŪ¤ÊÁàºî¤¬²Äǽ
+  * Â¾¤Î¥á¡¼¥é¤Ë¶á¤¤Áàºî¤¬²Äǽ
+  * ´Êñ¤ÊÀßÄê¤Ç¤¹¤°¤Ë»ÈÍѲÄǽ
+  * ¥á¡¼¥é¤ËɬÍפȤµ¤ì¤ëµ¡Ç½¤ò´°È÷
+  * ÆüËܸì¤Ë´°Á´Âбþ¤·¡¢¹ñºÝ²½¤Ë¤âÂбþ
+  * ³°Éô¥³¥Þ¥ó¥É¤È¤Î½ÀÆð¤ÊÏ¢·È¤¬²Äǽ
+  * °ÂÄêÆ°ºî¤·¡¢Ëü°ì¥¯¥é¥Ã¥·¥å¤·¤¿¾ì¹ç¤Ç¤â¶ËÎϥǡ¼¥¿¤ò¾Ã¼º¤·¤Ê¤¤
 
 ³°´Ñ¤ä¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤Ï Outlook Express ¡¢ Becky! ¡¢ Datula ¤È¤¤¤Ã¤¿¡¢
 Windows ¤Ç¤ÏÄêÈ֤Υ᡼¥é¤ò»²¹Í¤Ë¤·¤Æ¤¤¤Þ¤¹¡£¤Þ¤¿¡¢Áàºî·Ï¤Ï Mew ¤ä
 Wanderlust Åù¤Î Emacs ·Ï¥á¡¼¥é¤ò»²¹Í¤Ë¤·¤Æ¤ª¤ê¡¢¥­¡¼¥Ü¡¼¥É¤Î¤ß¤Ë¤è¤ëÁàºî
-¤¬²Äǽ¤È¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£ Windows ¾å¤Î¥á¡¼¥é¡¢¤¢¤ë¤¤¤Ï Mew ¤ä Wanderlust Åù
-¤Î»ÈÍѷи³¤¬¤¢¤ì¤Ð¤¹¤°¤Ë»È¤¤Êý¤Ïʬ¤«¤ë¤È»×¤¤¤Þ¤¹¡£
+¤¬²Äǽ¤È¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£¤½¤Î¤¿¤á¡¢Â¾¤Î¥á¡¼¥é¤Ë´·¤ì¤Æ¤¤¤ë¾ì¹ç¤Ç¤â¤½¤ì¤Û¤É
+°ãÏ´¶¤Ê¤¯°Ü¹Ô¤Ç¤­¤ë¤È»×¤¤¤Þ¤¹¡£
 
 ¥á¥Ã¥»¡¼¥¸¤Ï MH ·Á¼°¤Ç´ÉÍý¤·¤Æ¤ª¤ê¡¢Â¾¤Î MH ·Á¼°¤ò»ÈÍѤ·¤¿¥á¡¼¥é(Mew Åù)
-¤ÈÊ»ÍѤ¹¤ë¤³¤È¤¬²Äǽ¤Ç¤¹¡£¤Þ¤¿¡¢ fetchmail ¤ä procmail ¤òÍøÍѤ·¤¿¤ê¡¢¼õ¿®
-¤Ë³°Éô¥×¥í¥°¥é¥à(inc, imget Åù)¤ò»ÈÍѤ¹¤ë¤³¤È¤â²Äǽ¤Ç¤¹¡£
+¤ÈÊ»ÍѤ¹¤ë¤³¤È¤¬²Äǽ¤Ç¤¹¡£1¥Õ¥¡¥¤¥ë1¥á¡¼¥ë¤Î·Á¼°¤Î¤¿¤á¡¢¾ã³²¤¬È¯À¸¤·¤¿ºÝ¤Ë
+¥á¡¼¥ë¤ò¼º¤¦´í¸±À­¤¬¾¯¤Ê¤¯¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£ mbox·Á¼°¤Î¥á¥Ã¥»¡¼¥¸¤ò¥¤¥ó¥Ý¡¼¥È¡¦
+¥¨¥¯¥¹¥Ý¡¼¥È¤¹¤ë¤³¤È¤â²Äǽ¤Ç¤¹¡£¤Þ¤¿¡¢ fetchmail ¤ä procmail ¤òÍøÍѤ·¤¿¤ê¡¢
+¼õ¿®¤Ë³°Éô¥×¥í¥°¥é¥à(inc, imget Åù)¤ò»ÈÍѤ¹¤ë¤³¤È¤â²Äǽ¤Ç¤¹¡£
+
+¸½ºß¼ÂÁõ¤µ¤ì¤Æ¤¤¤ë¼ç¤Êµ¡Ç½
+==========================
 
-¸½ºß¼ÂÁõ¤µ¤ì¤Æ¤¤¤ëµ¡Ç½¤Ï
+Âбþ¥×¥í¥È¥³¥ë
 
        o POP3 Âбþ
        o IMAP4rev1 Âбþ
-       o Åý¹ç NetNews ¥¯¥é¥¤¥¢¥ó¥È
+       o SMTP
+       o NNTP
+       o SSL/TLSv1 (POP3, SMTP, IMAP4rev1, NNTP)
+       o IPv6
+
+µ¡Ç½
+
        o ÌµÀ©¸Â¤ÎÊ£¿ô¥¢¥«¥¦¥ó¥È´ÉÍý
        o ¥¹¥ì¥Ã¥Éɽ¼¨
        o ¿¶¤êʬ¤±µ¡Ç½
        o MIME (źÉÕ)
+       o Åý¹ç ¥Ë¥å¡¼¥¹¥ê¡¼¥À¡¼
+       o SMTP AUTH Âбþ
+       o CRAM-MD5 Ç§¾Ú (SMTP AUTH / IMAP4rev1)
+       o APOP Ç§¾Ú (POP3)
+       o PGP ½ð̾¡¦°Å¹æ²½(Í× GPGME)
        o ²èÁüɽ¼¨µ¡Ç½¤òÆâ¢
-       o X-Face Âбþ
-       o Ê£¿ô¤Î MH ¥Õ¥©¥ë¥À¤ËÂбþ
+       o X-Face É½¼¨
+       o ¥æ¡¼¥¶ÄêµÁ¥Ø¥Ã¥À
+       o ¥«¥é¡¼¥é¥Ù¥ë
+       o Mew/Wanderlust ¸ß´¹¥­¡¼¥Ð¥¤¥ó¥É
+       o Ê£¿ô¤Î MH ¥Õ¥©¥ë¥ÀÂбþ
        o mbox ¥Õ¥¡¥¤¥ë¤Î¥¤¥ó¥Ý¡¼¥È / ¥¨¥¯¥¹¥Ý¡¼¥È
-       o ¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ë¤è¤ë¥ê¥â¡¼¥ÈÁàºî
-       o ¥Õ¥©¥ë¥ÀËè¤ÎÀßÄê
-       o ³°Éô¥¨¥Ç¥£¥¿Âбþ
-       o Á÷¿®ÂÔµ¡µ¡Ç½
-       o ¼«Æ°¥á¡¼¥ë¥Á¥§¥Ã¥¯µ¡Ç½
-       o Áð¹Æµ¡Ç½
-       o ¥Æ¥ó¥×¥ì¡¼¥Èµ¡Ç½
-       o ¼«Æ°²þ¹Ôµ¡Ç½
+       o ³°Éô¥¨¥Ç¥£¥¿
+       o Á÷¿®ÂÔµ¡
+       o ¼«Æ°¥á¡¼¥ë¥Á¥§¥Ã¥¯
+       o Áð¹Æ
+       o ¥Æ¥ó¥×¥ì¡¼¥È
+       o ¼«Æ°²þ¹Ô
        o ¥¯¥ê¥Ã¥«¥Ö¥ë URI
        o XML ¥Ù¡¼¥¹¤Î¥¢¥É¥ì¥¹Ä¢
-       o LDAP, vCard, JPilot Âбþ
        o ¿·Ã塦̤ÆÉ´ÉÍý
-       o Mew/Wanderlust ¥é¥¤¥¯¤Ê¥­¡¼¥Ð¥¤¥ó¥É
-       o °õºþµ¡Ç½
-       o APOP Ç§¾ÚÂбþ
-       o SMTP AUTH Âбþ
-       o SSL Âбþ (POP3, SMTP, IMAP4rev1)
-       o IPv6 Âбþ
+       o °õºþ
+       o ¥ª¥Õ¥é¥¤¥ó¥â¡¼¥É
+       o ¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ë¤è¤ë¥ê¥â¡¼¥ÈÁàºî
+       o ¥Õ¥©¥ë¥ÀËè¤ÎÀßÄê
+       o LDAP, vCard, JPilot Âбþ
        o ¥É¥é¥Ã¥° & ¥É¥í¥Ã¥× (°ìÉô¼ÂÁõ)
-       o GnuPG Âбþ (¸½ºß¼ÂÁõÃæ)
-       o automake + autoconf Âбþ
+
+¤½¤Î¾
+
+       o autoconf, automake Âбþ
        o gettext ¤Ë¤è¤ë¥á¥Ã¥»¡¼¥¸¤Î¹ñºÝ²½Âбþ
-       o UTF-8 (Unicode) ¤ò´Þ¤à¿¿ô¤Î¥³¡¼¥É¥»¥Ã¥È¤ËÂбþ(libjconv »ÈÍÑ»þ)
+       o UTF-8 (Unicode) ¤ò´Þ¤à¿¿ô¤Îʸ»ú¥³¡¼¥É¤ËÂбþ
 
 Åù¤Ç¤¹¡£
 
@@ -157,6 +182,8 @@ Sylpheed 
 Sylpheed ¤¬µ¯Æ°¤·¤Æ¤¤¤Ê¤¤¤È¤­¤Ë ~/.sylpheed/sylpheedrc ¤ò¥¨¥Ç¥£¥¿¤ÇÊÔ½¸
 ¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
 
+allow_jisx0201_kana            JIS X 0201 ¥«¥Ê(Ⱦ³Ñ¥«¥Ê)¤òÁ÷¿®»þ¤Ëµö²Ä¤·¤Þ¤¹¡£
+                               0: off  1: on   [¥Ç¥Õ¥©¥ë¥È: 0]
 bold_font                      ¥Õ¥©¥ë¥À¡¢¥µ¥Þ¥ê¡¢¥Æ¥­¥¹¥È¥Ó¥å¡¼¤Ç»ÈÍѤµ¤ì¤ë
                                ¥Ü¡¼¥ë¥É¥Õ¥©¥ó¥È
 small_font                     ¥µ¥Þ¥ê¥Ó¥å¡¼Åù¤Ç»ÈÍѤµ¤ì¤ë¾®¥Õ¥©¥ó¥È
index d522b17..3182690 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=8
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=56
+EXTRA_VERSION=57
 if test $EXTRA_VERSION -eq 0; then
     VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}claws
 else
index d5517a5..2394cbe 100644 (file)
@@ -265,30 +265,32 @@ void conv_euctojis(gchar *outbuf, gint outlen, const gchar *inbuf)
                        }
                } else if (iseuchwkana1(*in)) {
                        if (iseuchwkana2(*(in + 1))) {
-#ifdef CONV_ALLOW_HWKANA
-                               HW_IN();
-                               in++;
-                               *out++ = *in++ & 0x7f;
-#else
-                               guchar jis_ch[2];
-                               gint len;
-
-                               if (iseuchwkana1(*(in + 2)) &&
-                                   iseuchwkana2(*(in + 3)))
-                                       len = conv_jis_hantozen
-                                               (jis_ch, *(in + 1), *(in + 3));
-                               else
-                                       len = conv_jis_hantozen
-                                               (jis_ch, *(in + 1), '\0');
-                               if (len == 0)
-                                       in += 2;
-                               else {
-                                       K_IN();
-                                       in += len * 2;
-                                       *out++ = jis_ch[0];
-                                       *out++ = jis_ch[1];
+                               if (prefs_common.allow_jisx0201_kana) {
+                                       HW_IN();
+                                       in++;
+                                       *out++ = *in++ & 0x7f;
+                               } else {
+                                       guchar jis_ch[2];
+                                       gint len;
+
+                                       if (iseuchwkana1(*(in + 2)) &&
+                                           iseuchwkana2(*(in + 3)))
+                                               len = conv_jis_hantozen
+                                                       (jis_ch,
+                                                        *(in + 1), *(in + 3));
+                                       else
+                                               len = conv_jis_hantozen
+                                                       (jis_ch,
+                                                        *(in + 1), '\0');
+                                       if (len == 0)
+                                               in += 2;
+                                       else {
+                                               K_IN();
+                                               in += len * 2;
+                                               *out++ = jis_ch[0];
+                                               *out++ = jis_ch[1];
+                                       }
                                }
-#endif
                        } else {
                                K_OUT();
                                in++;
index b7926b9..51a9aeb 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2003 Hiroyuki Yamamoto
+ * Copyright (C) 1999-2004 Hiroyuki Yamamoto
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -302,6 +302,9 @@ static PrefParam param[] = {
         prefs_common_encoding_set_data_from_optmenu,
         prefs_common_encoding_set_optmenu},
 
+       {"allow_jisx0201_kana", "FALSE", &prefs_common.allow_jisx0201_kana,
+        P_BOOL, NULL, NULL, NULL},
+
        /* Compose */
        {"auto_ext_editor", "FALSE", &prefs_common.auto_exteditor, P_BOOL,
         &compose.checkbtn_autoextedit,
index f99e21e..3c89ab9 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2003 Hiroyuki Yamamoto
+ * Copyright (C) 1999-2004 Hiroyuki Yamamoto
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -82,6 +82,8 @@ struct _PrefsCommon
        gchar *outgoing_charset;
        TransferEncodingMethod encoding_method;
 
+       gboolean allow_jisx0201_kana;
+
        /* Compose */
        gint undolevels;
        gint linewrap_len;
index 911cdc5..6f97981 100644 (file)
@@ -4450,16 +4450,16 @@ static gint summary_key_pressed(GtkWidget *widget, GdkEventKey *event,
        GtkCTreeNode *node;
        MessageView *messageview;
        TextView *textview;
-       GtkAdjustment *sumadj;
+       GtkAdjustment *adj;
 
        if (summary_is_locked(summaryview)) return TRUE;
        if (!event) return TRUE;
 
        switch (event->keyval) {
        case GDK_Left:          /* Move focus */
-               sumadj = gtk_scrolled_window_get_hadjustment
-                               (GTK_SCROLLED_WINDOW(summaryview->scrolledwin));
-               if (sumadj->lower != sumadj->value) 
+               adj = gtk_scrolled_window_get_hadjustment
+                       (GTK_SCROLLED_WINDOW(summaryview->scrolledwin));
+               if (adj->lower != adj->value)
                        break;
                /* FALLTHROUGH */       
        case GDK_Escape: