[Tomoe-cvs 1225] CVS update: tomoe/lib

Back to archive index

Kouhei Sutou kous****@users*****
2006年 11月 27日 (月) 23:10:10 JST


Index: tomoe/lib/tomoe-dict.c
diff -u tomoe/lib/tomoe-dict.c:1.115 tomoe/lib/tomoe-dict.c:1.116
--- tomoe/lib/tomoe-dict.c:1.115	Mon Nov 27 18:11:09 2006
+++ tomoe/lib/tomoe-dict.c	Mon Nov 27 23:10:10 2006
@@ -21,7 +21,7 @@
  *  Free Software Foundation, Inc., 59 Temple Place, Suite 330,
  *  Boston, MA  02111-1307  USA
  *
- *  $Id: tomoe-dict.c,v 1.115 2006/11/27 09:11:09 kous Exp $
+ *  $Id: tomoe-dict.c,v 1.116 2006/11/27 14:10:10 kous Exp $
  */
 
 #include <stdio.h>
@@ -179,7 +179,7 @@
     dict = TOMOE_DICT(object);
     priv = TOMOE_DICT_GET_PRIVATE(dict);
 
-    if (priv->modified) {
+    if (priv->editable && priv->modified) {
         priv->modified = FALSE;
         tomoe_dict_save_xml (dict);
     }


tomoe-cvs メーリングリストの案内
Back to archive index