[anjuta] project-wizard: Fix little issue in python wizard
- From: Johannes Schmid <jhs src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] project-wizard: Fix little issue in python wizard
- Date: Sun, 20 Mar 2011 00:26:00 +0000 (UTC)
commit 1402776c9cdaafdb4747e5d0dca3370733668a59
Author: Johannes Schmid <jhs gnome org>
Date: Sat Mar 19 20:21:54 2011 -0400
project-wizard: Fix little issue in python wizard
plugins/project-wizard/templates/pygtk/src/main.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/plugins/project-wizard/templates/pygtk/src/main.py b/plugins/project-wizard/templates/pygtk/src/main.py
index 9c96b08..1ec2b4b 100644
--- a/plugins/project-wizard/templates/pygtk/src/main.py
+++ b/plugins/project-wizard/templates/pygtk/src/main.py
@@ -13,10 +13,12 @@
from gi.repository import Gtk, GdkPixbuf, Gdk
import os, sys
+[+IF (=(get "HaveBuilderUI") "1")+]
#Comment the first line and uncomment the second before installing
#or making the tarball (alternatively, use project variables)
UI_FILE = "[+NameHLower+].ui"
#UI_FILE = "/usr/local/share/[+NameHLower+]/ui/[+NameHLower+].ui"
+[+ENDIF+]
class GUI:
def __init__(self):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]