[anjuta] project-wizard: bgo #698011 - Cannot run anything



commit 27194a1df67edc5083bab9d2928b30ad9bd9ec6f
Author: Sébastien Granjoux <seb sfo free fr>
Date:   Sun Apr 21 11:13:16 2013 +0200

    project-wizard: bgo #698011 - Cannot run anything

 plugins/project-wizard/templates/pygtk/src/main.py  | 4 ++--
 plugins/project-wizard/templates/python/src/main.py | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/plugins/project-wizard/templates/pygtk/src/main.py 
b/plugins/project-wizard/templates/pygtk/src/main.py
index 55746d1..bb88a06 100644
--- a/plugins/project-wizard/templates/pygtk/src/main.py
+++ b/plugins/project-wizard/templates/pygtk/src/main.py
@@ -1,9 +1,9 @@
 [+ autogen5 template +]
 [+INCLUDE (string-append "licenses/" (get "License") ".tpl") \+]
 [+INCLUDE (string-append "indent.tpl") \+]
-# [+INVOKE EMACS-MODELINE MODE="Python" \+]
-[+INVOKE START-INDENT\+]
 #!/usr/bin/python
+# [+INVOKE EMACS-MODELINE MODE="Python; coding: utf-8" +]
+[+INVOKE START-INDENT\+]
 #
 # main.py
 # Copyright (C) [+(shell "date +%Y")+] [+Author+] <[+Email+]>
diff --git a/plugins/project-wizard/templates/python/src/main.py 
b/plugins/project-wizard/templates/python/src/main.py
index e7d2c08..63ae240 100644
--- a/plugins/project-wizard/templates/python/src/main.py
+++ b/plugins/project-wizard/templates/python/src/main.py
@@ -1,9 +1,9 @@
 [+ autogen5 template +]
 [+INCLUDE (string-append "licenses/" (get "License") ".tpl") \+]
 [+INCLUDE (string-append "indent.tpl") \+]
-# [+INVOKE EMACS-MODELINE MODE="Python" \+]
-[+INVOKE START-INDENT\+]
 #!/usr/bin/python
+# [+INVOKE EMACS-MODELINE MODE="Python; coding: utf-8" +]
+[+INVOKE START-INDENT\+]
 #
 # main.py
 # Copyright (C) [+(shell "date +%Y")+] [+Author+] <[+Email+]>


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