[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnue] r7148 - trunk/gnue-designer/src/base/tools
From: |
kilo |
Subject: |
[gnue] r7148 - trunk/gnue-designer/src/base/tools |
Date: |
Thu, 10 Mar 2005 06:45:18 -0600 (CST) |
Author: kilo
Date: 2005-03-10 06:45:16 -0600 (Thu, 10 Mar 2005)
New Revision: 7148
Modified:
trunk/gnue-designer/src/base/tools/DataSourceEditor.py
trunk/gnue-designer/src/base/tools/TriggerEditor.py
Log:
Fized handling of boolean config options.
Fixed typo.
Modified: trunk/gnue-designer/src/base/tools/DataSourceEditor.py
===================================================================
--- trunk/gnue-designer/src/base/tools/DataSourceEditor.py 2005-03-09
23:29:42 UTC (rev 7147)
+++ trunk/gnue-designer/src/base/tools/DataSourceEditor.py 2005-03-10
12:45:16 UTC (rev 7148)
@@ -367,13 +367,13 @@
self.deleteButtonId = wxNewId()
self.AddSimpleTool(self.addButtonId,
- wxImage(iamges_dir+gConfig('tb_insert'),
+ wxImage(images_dir+gConfig('tb_insert'),
wxBITMAP_TYPE_PNG).ConvertToBitmap(),
_("Create Data Source"),
_("Create a new data source"))
self.AddSimpleTool(self.deleteButtonId,
- wxImage(iamges_dir+gConfig('tb_delete'),
+ wxImage(images_dir+gConfig('tb_delete'),
wxBITMAP_TYPE_PNG).ConvertToBitmap(),
_("Delete Data Source"),
_("Delete the currently selected data source"))
Modified: trunk/gnue-designer/src/base/tools/TriggerEditor.py
===================================================================
--- trunk/gnue-designer/src/base/tools/TriggerEditor.py 2005-03-09 23:29:42 UTC
(rev 7147)
+++ trunk/gnue-designer/src/base/tools/TriggerEditor.py 2005-03-10 12:45:16 UTC
(rev 7148)
@@ -1,6 +1,8 @@
#
-# This file is part of GNU Enterprise.
+# Copyright 2001-2005 Free Software Foundation
#
+# This file is part of GNU Enterprise
+#
# GNU Enterprise is free software; you can redistribute it
# and/or modify it under the terms of the GNU General Public
# License as published by the Free Software Foundation; either
@@ -16,15 +18,7 @@
# write to the Free Software Foundation, Inc., 59 Temple Place
# - Suite 330, Boston, MA 02111-1307, USA.
#
-# Copyright 2001-2005 Free Software Foundation
-#
-# FILE:
-# TriggerEditor.py
-#
-# DESCRIPTION:
-#
-# NOTES:
-#
+# $Id$
from wxPython.wx import *
@@ -258,7 +252,7 @@
try:
- if gConfig('ForceSimpleEditor',section="designer"):
+ if gConfig('ForceSimpleEditor',section="designer") == True:
raise ImportError
from wxPython.stc import *
@@ -325,7 +319,7 @@
# TODO: A lot of this should be configurable
- if int(gConfig('ColorizeCode',section="designer")):
+ if gConfig('ColorizeCode',section="designer") == True:
# Global default styles for all languages
self.StyleSetSpec(wxSTC_STYLE_DEFAULT, "face:%(helv)s,size:%(size)d"
% faces)
Property changes on: trunk/gnue-designer/src/base/tools/TriggerEditor.py
___________________________________________________________________
Name: svn:keywords
+ Id
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnue] r7148 - trunk/gnue-designer/src/base/tools,
kilo <=