gtranslator r3943 - in trunk: . src/dialogs



Author: psanxiao
Date: Sat Feb 14 14:34:58 2009
New Revision: 3943
URL: http://svn.gnome.org/viewvc/gtranslator?rev=3943&view=rev

Log:
    	* src/dialogs/comment-dialog.c:
    	Now if you create or edit a comment,
    	the file is marked as to be saved. (Fixes bug #569174)

Modified:
   trunk/ChangeLog
   trunk/src/dialogs/comment-dialog.c

Modified: trunk/src/dialogs/comment-dialog.c
==============================================================================
--- trunk/src/dialogs/comment-dialog.c	(original)
+++ trunk/src/dialogs/comment-dialog.c	Sat Feb 14 14:34:58 2009
@@ -20,6 +20,7 @@
 #include <config.h>
 #endif
 
+#include "po.h"
 #include "comment-dialog.h"
 #include "tab.h"
 #include "utils.h"
@@ -63,6 +64,7 @@
 	text = gtk_text_buffer_get_text(buffer, &start, &end, TRUE);
 	
 	gtranslator_msg_set_comment(msg->data, text);
+	gtranslator_po_set_state (po, GTR_PO_STATE_MODIFIED);
 }
 
 static void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]