Code

Suppress the jitter that sometimes occurs when drawing the ticks of the rulers
[inkscape.git] / src / widgets / sp-xmlview-content.cpp
index ffec0b7232016e66be076b605d514ba257c2b024..6f0b0dff1a86d3cb5838c6dc76aaa81ba25e4481 100644 (file)
@@ -11,6 +11,8 @@
  * Released under the GNU GPL; see COPYING for details
  */
 
+#include <cstring>
+#include <glibmm/i18n.h>
 
 #include "xml/node-event-vector.h"
 #include "sp-xmlview-content.h"
@@ -160,6 +162,7 @@ sp_xmlview_content_changed (GtkTextBuffer *tb, SPXMLViewContent *text)
                text->repr->setContent(data);
                g_free (data);
                text->blocked = FALSE;
-               sp_document_done (sp_desktop_document (SP_ACTIVE_DESKTOP));
+               sp_document_done (sp_desktop_document (SP_ACTIVE_DESKTOP), SP_VERB_DIALOG_XML_EDITOR, 
+                                                                       _("Type text in a text node"));
        }
 }