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

gEDA-cvs: geda_manager.git: branch: master updated (d18caabe27ee87e9a4d783e07af49e27c75ecfec)



The branch, master has been updated
       via  d18caabe27ee87e9a4d783e07af49e27c75ecfec (commit)
      from  004db4f50991cdd87e73b38de1041d39cc399331 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


=========
 Summary
=========

 AUTHORS                          |    1 +
 src/lib/__init__.py => ChangeLog |    0 
 INSTALL                          |    6 +++
 src/lib/__init__.py => NEWS      |    0 
 README.txt => README             |    0 
 src/dependencyloop.py            |   35 +++++++++---------
 src/gedamanager.py               |   74 ++++++++++++++------------------------
 src/gsch2pcb.py                  |   35 +++++++++---------
 src/newproject.py                |   39 ++++++++++----------
 src/processdependencyevent.py    |   56 +++++++++++++---------------
 src/project.py                   |   37 ++++++++++---------
 src/settings.py                  |   37 ++++++++++---------
 src/utils.py                     |   37 ++++++++++---------
 13 files changed, 172 insertions(+), 185 deletions(-)
 create mode 100644 AUTHORS
 copy src/lib/__init__.py => ChangeLog (100%)
 create mode 100644 INSTALL
 copy src/lib/__init__.py => NEWS (100%)
 rename README.txt => README (100%)


=================
 Commit Messages
=================

commit d18caabe27ee87e9a4d783e07af49e27c75ecfec
Author: Newell Jensen <jensen@xxxxxxxxxxxxxxxx>
Date:   Sat Dec 6 00:11:52 2008 -0800

    Added new files, removed one, and added new threaded support for
    possible Windows support.
    
    Files added:  INSTALL, AUTHORS, NEWS, README, ChangeLog
    Files removed: README.txt

:000000 100644 0000000... 1996753... A	AUTHORS
:000000 100644 0000000... e69de29... A	ChangeLog
:000000 100644 0000000... b77cef4... A	INSTALL
:000000 100644 0000000... e69de29... A	NEWS
:000000 100644 0000000... 5d82f7a... A	README
:100644 000000 5d82f7a... 0000000... D	README.txt
:100644 100644 f087d0f... 2525a1c... M	src/dependencyloop.py
:100644 100644 429c6e0... d6b7d91... M	src/gedamanager.py
:100644 100644 efc253a... 425c5d9... M	src/gsch2pcb.py
:100644 100644 8cce638... 14352c7... M	src/newproject.py
:100644 100644 75eae43... a926e57... M	src/processdependencyevent.py
:100644 100644 78c32a6... 0225b3b... M	src/project.py
:100644 100644 7812bea... 82723f0... M	src/settings.py
:100644 100644 6619ba4... 8c1ec60... M	src/utils.py

=========
 Changes
=========

commit d18caabe27ee87e9a4d783e07af49e27c75ecfec
Author: Newell Jensen <jensen@xxxxxxxxxxxxxxxx>
Date:   Sat Dec 6 00:11:52 2008 -0800

    Added new files, removed one, and added new threaded support for
    possible Windows support.
    
    Files added:  INSTALL, AUTHORS, NEWS, README, ChangeLog
    Files removed: README.txt

diff --git a/AUTHORS b/AUTHORS
new file mode 100644
index 0000000..1996753
--- /dev/null
+++ b/AUTHORS
@@ -0,0 +1 @@
+Newell Jensen
diff --git a/ChangeLog b/ChangeLog
new file mode 100644
index 0000000..e69de29
diff --git a/INSTALL b/INSTALL
new file mode 100644
index 0000000..b77cef4
--- /dev/null
+++ b/INSTALL
@@ -0,0 +1,6 @@
+Currently there is no special installation but there will be with
+the first official release.
+
+For now, simply run src/gedamanager.py
+
+
diff --git a/NEWS b/NEWS
new file mode 100644
index 0000000..e69de29
diff --git a/README b/README
new file mode 100644
index 0000000..5d82f7a
--- /dev/null
+++ b/README
@@ -0,0 +1,49 @@
+Welcome to the gEDA Manager project!
+
+----------------------------------------------------------------------------
+
+gEDA Manager:
+Dependencies-
+You will need the latest, unless otherwise noted.
+If you go to download one of the packages listed below you will also 
+need to download and install the dependencies for that package.
+Most of these packages may be available in your OS's Package Manager.
+
+python - http://www.python.org/ (currently using version 2.5)
+python-gnomevfs - http://www.pygtk.org/pygnomevfs/index.html
+pygtk - http://www.pygtk.org/
+gtk - http://www.gtk.org/
+pyyaml - http://pyyaml.org/
+pyinotify - http://trac.dbzteam.org/pyinotify
+
+----------------------------------------------------------------------------
+
+Doxygen:
+
+You can create doxygen generated documentation for the gEDA Manager API or
+you can see my blog at http://www.gempillar.com/docs which has the latest
+doxygen generated documentation.
+
+To create doxygen generated documentation I followed this blog:
+
+http://internetducttape.com/2007/03/20/automatic_documentation_python_doxygen/
+
+Dependencies-
+-- You will need the latest, unless otherwise noted. --
+Doxygen - http://www.stack.nl/~dimitri/doxygen/
+Graphviz - http://www.graphviz.org/ (not necessary, for creating call graphs)
+doxypy - http://code.foosel.org/doxypy (not necessary, but adds full support 
+for embedding special syntax to comments)
+
+My configuration file for the doxygen settings that I set up are located in
+/docs in config.dox.  This file can help give you an idea of what your settings
+should be even though yours may be different.
+
+----------------------------------------------------------------------------
+
+Configuration:
+
+The gEDA Manager configuration file is a yaml file called .gmrc.  This file 
+will be created on initial startup of the program if this file is not located
+in your home directory.
+
diff --git a/README.txt b/README.txt
deleted file mode 100644
index 5d82f7a..0000000
--- a/README.txt
+++ /dev/null
@@ -1,49 +0,0 @@
-Welcome to the gEDA Manager project!
-
-----------------------------------------------------------------------------
-
-gEDA Manager:
-Dependencies-
-You will need the latest, unless otherwise noted.
-If you go to download one of the packages listed below you will also 
-need to download and install the dependencies for that package.
-Most of these packages may be available in your OS's Package Manager.
-
-python - http://www.python.org/ (currently using version 2.5)
-python-gnomevfs - http://www.pygtk.org/pygnomevfs/index.html
-pygtk - http://www.pygtk.org/
-gtk - http://www.gtk.org/
-pyyaml - http://pyyaml.org/
-pyinotify - http://trac.dbzteam.org/pyinotify
-
-----------------------------------------------------------------------------
-
-Doxygen:
-
-You can create doxygen generated documentation for the gEDA Manager API or
-you can see my blog at http://www.gempillar.com/docs which has the latest
-doxygen generated documentation.
-
-To create doxygen generated documentation I followed this blog:
-
-http://internetducttape.com/2007/03/20/automatic_documentation_python_doxygen/
-
-Dependencies-
--- You will need the latest, unless otherwise noted. --
-Doxygen - http://www.stack.nl/~dimitri/doxygen/
-Graphviz - http://www.graphviz.org/ (not necessary, for creating call graphs)
-doxypy - http://code.foosel.org/doxypy (not necessary, but adds full support 
-for embedding special syntax to comments)
-
-My configuration file for the doxygen settings that I set up are located in
-/docs in config.dox.  This file can help give you an idea of what your settings
-should be even though yours may be different.
-
-----------------------------------------------------------------------------
-
-Configuration:
-
-The gEDA Manager configuration file is a yaml file called .gmrc.  This file 
-will be created on initial startup of the program if this file is not located
-in your home directory.
-
diff --git a/src/dependencyloop.py b/src/dependencyloop.py
index f087d0f..2525a1c 100644
--- a/src/dependencyloop.py
+++ b/src/dependencyloop.py
@@ -1,21 +1,22 @@
-# gEDA Manager
-# Copyright (C) 2008 Newell Jensen
-# Copyright (C) 2008 gEDA Contributors (see ChangeLog for details)
-#
-# This program 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 version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+"""
+gEDA Manager
+Copyright (C) 2008 Newell Jensen
+Copyright (C) 2008 gEDA Contributors (see ChangeLog for details)
 
+This program 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 version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+"""
 
 ##@package src.dependencyloop
 #Class to handle dependency loop for the project's sources.
diff --git a/src/gedamanager.py b/src/gedamanager.py
index 429c6e0..d6b7d91 100644
--- a/src/gedamanager.py
+++ b/src/gedamanager.py
@@ -1,23 +1,23 @@
 #! /usr/bin/env python
-
-# gEDA Manager
-# Copyright (C) 2008 Newell Jensen
-# Copyright (C) 2008 gEDA Contributors (see ChangeLog for details)
-#
-# This program 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 version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-
+"""
+gEDA Manager
+Copyright (C) 2008 Newell Jensen
+Copyright (C) 2008 gEDA Contributors (see ChangeLog for details)
+
+This program 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 version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+"""
 
 ##@package src.gedamanager
 #Top-level window for the gEDA Manager
@@ -34,7 +34,7 @@ from newproject import *
 from dependencyloop import *
 from threading import Thread
 
-gtk.gdk.threads_init()
+gobject.threads_init()
 
 class gEDAManager:
     """
@@ -177,6 +177,7 @@ class gEDAManager:
         processes_notebook = gtk.Notebook()
         processes_notebook.show()
         sources_notebook.connect('switch-page', self.cb_switch_page)
+        processes_notebook.connect('switch-page', self.cb_switch_page)
         vpaned.pack1(sources_notebook, True, True)
         vpaned.pack2(processes_notebook, True, True)        
         sources_notebook.set_tab_pos(gtk.POS_BOTTOM)
@@ -369,19 +370,8 @@ class gEDAManager:
 
         self.aboutdialog = gtk.AboutDialog()
         self.aboutdialog.set_name("gEDA Manager")
-        try:
-            f = open(os.path.expanduser('~') + '/.gmrc')
-            y = yaml.load(f)
-            version = y['version']
-            self.aboutdialog.set_version(str(version))
-            f.close()
-        except OSError:
-            print 'OSError:', sys.exc_info()[0]
-        except IOError:
-            print 'IOError:', sys.exc_info()[0]
-        except:
-            print sys.exc_info()[0]
-        
+        self.aboutdialog.set_license(__doc__)
+        self.aboutdialog.set_version(str(self.settings.version))
         self.aboutdialog.set_copyright("gEDA Manager 2008")
         self.aboutdialog.set_authors(['Newell Jensen', '--',
                                       'Before Enlightenment, chop wood and carry water',
@@ -1078,7 +1068,6 @@ class gEDAManager:
         # Just delete the file from the directory structure
         selection = self.sources_tree.get_selection()
         model, selection_iter = selection.get_selected()
-        print 'selection_iter:',selection_iter        
         if isinstance(selection_iter, gtk.TreeIter):
             selected_node = self.sources.get_value(selection_iter, 2)
             os.system('rm ' + selected_node)
@@ -1101,7 +1090,6 @@ class gEDAManager:
         # this or not.
         selection = self.sources_tree.get_selection()
         model, selection_iter = selection.get_selected()
-        print 'selection_iter:',selection_iter
         if isinstance(selection_iter, gtk.TreeIter):        
             selected_node = self.sources.get_value(selection_iter, 2)
             exists = os.path.exists(selected_node)
@@ -1126,7 +1114,6 @@ class gEDAManager:
         """
         selection = self.sources_tree.get_selection()
         model, selection_iter = selection.get_selected()
-        print 'selection_iter:',selection_iter        
         if isinstance(selection_iter, gtk.TreeIter):                
             selected_node = self.sources.get_value(selection_iter, 2)
             # Run the command as if the file is a text file
@@ -1144,7 +1131,6 @@ class gEDAManager:
 
         selection = self.sources_tree.get_selection()
         model, selection_iter = selection.get_selected()
-        print 'selection_iter:',selection_iter        
         if isinstance(selection_iter, gtk.TreeIter):                
             old_path = self.sources.get_value(selection_iter, 2)
             path = self.sources.get_path(selection_iter)
@@ -1207,7 +1193,6 @@ class gEDAManager:
 
         selection = self.sources_tree.get_selection()
         model, selection_iter = selection.get_selected()
-        print 'selection_iter:',selection_iter        
         if isinstance(selection_iter, gtk.TreeIter):                
             old_path = self.sources.get_value(selection_iter, 2)
             path = self.sources.get_path(selection_iter)
@@ -1231,25 +1216,16 @@ class gEDAManager:
             dialog.destroy()
             new_path = old_path.rpartition('/')[0] + '/' + new_text
 
-            print 'new_text:',new_text
-            print 'old_path:',old_path
             if '.' in new_text and '.' in old_path:
                 # File
                 os.rename(old_path, new_path)
-                ## model[path][1] = new_text
-                ## model[path][2] = new_path
-                ## icon = gtk.IconTheme()
-                ## model[path][0] = icon.load_icon(self.utils.icon_lut[self.utils.get_node_ext(new_text)], 22, 0)
                 self.output_textbuffer.insert(self.output_textiter, old_path + ' changed to ' + new_path + '.\n')
             elif not '.' in new_text and not '.' in old_path:
                 # Folder -- so image does not need to be changed
-                print 'folder rename'
                 if os.path.exists(new_path):
                     self.output_textbuffer.insert(self.output_textiter, 'Folder already exists with this name.  Cannot rename.\n')
                     return
                 os.rename(old_path, new_path)
-                ## model[path][1] = new_text
-                ## model[path][2] = new_path
                 self.output_textbuffer.insert(self.output_textiter, old_path + ' changed to ' + new_path + '.\n')            
 
 
@@ -1310,6 +1286,10 @@ class gEDAManager:
             selection = self.sources_tree.get_selection()
             selection.unselect_all()
             self.processes.clear()
+            column = self.processes_tree.get_column(0)
+            column.set_title('')
+            column = self.processes_tree.get_column(2)
+            column.set_title('')
             
 
     @exceptions
diff --git a/src/gsch2pcb.py b/src/gsch2pcb.py
index efc253a..425c5d9 100644
--- a/src/gsch2pcb.py
+++ b/src/gsch2pcb.py
@@ -1,21 +1,22 @@
-# gEDA Manager
-# Copyright (C) 2008 Newell Jensen
-# Copyright (C) 2008 gEDA Contributors (see ChangeLog for details)
-#
-# This program 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 version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+"""
+gEDA Manager
+Copyright (C) 2008 Newell Jensen
+Copyright (C) 2008 gEDA Contributors (see ChangeLog for details)
 
+This program 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 version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+"""
 
 ##@package src.gsch2pcb
 #Gui for gsch2pcb workflow
diff --git a/src/newproject.py b/src/newproject.py
index 8cce638..14352c7 100644
--- a/src/newproject.py
+++ b/src/newproject.py
@@ -1,23 +1,22 @@
-#! /usr/bin/env python
-
-# gEDA Manager
-# Copyright (C) 2008 Newell Jensen
-# Copyright (C) 2008 gEDA Contributors (see ChangeLog for details)
-#
-# This program 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 version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-
+"""
+gEDA Manager
+Copyright (C) 2008 Newell Jensen
+Copyright (C) 2008 gEDA Contributors (see ChangeLog for details)
+
+This program 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 version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+"""
 
 ##@package src.newproject
 #New Project window for the gEDA Manager
diff --git a/src/processdependencyevent.py b/src/processdependencyevent.py
index 75eae43..a926e57 100644
--- a/src/processdependencyevent.py
+++ b/src/processdependencyevent.py
@@ -1,32 +1,32 @@
-# gEDA Manager
-# Copyright (C) 2008 Newell Jensen
-# Copyright (C) 2008 gEDA Contributors (see ChangeLog for details)
-#
-# This program 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 version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-
+"""
+gEDA Manager
+Copyright (C) 2008 Newell Jensen
+Copyright (C) 2008 gEDA Contributors (see ChangeLog for details)
+
+This program 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 version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+"""
 
 ##@package src.processevent
 #Class to process the events from the thread executed by DependencyLoop
 #@author Newell Jensen
 
-import gtk, pygtk
+import gtk, pygtk, time
 pygtk.require('2.0')
 from utils import *
 from pyinotify import *
 
-
 class ProcessDependencyEvent(ProcessEvent):
     """
     Class to process the events from the thread executed by DependencyLoop.
@@ -37,6 +37,8 @@ class ProcessDependencyEvent(ProcessEvent):
         @param gedamanager current gEDAManager instance
         """
         self.g = gedamanager
+        self.quit = False
+
 
     def cb_main_thread(self, event):
         """!
@@ -45,10 +47,8 @@ class ProcessDependencyEvent(ProcessEvent):
         filesystem under watch
         """
         filename = self.g.utils.get_filename_from_filepath(event.pathname)
-        gtk.gdk.threads_enter()
         self.g.load_sources_tree()
         self.g.dependencyloop.switch_projects()
-        gtk.gdk.threads_leave()
 
 
     def process_IN_MODIFY(self, event):
@@ -57,8 +57,7 @@ class ProcessDependencyEvent(ProcessEvent):
         @param event current IN_MODIFY event that was caught for the section of
         filesystem under watch
         """
-        print 'processing in modify'
-        self.cb_main_thread(event)
+        gobject.idle_add(self.cb_main_thread, event)
 
 
     def process_IN_DELETE(self, event):
@@ -67,8 +66,7 @@ class ProcessDependencyEvent(ProcessEvent):
         @param event current IN_DELETE event that was caught for the section of
         filesystem under watch
         """
-        print 'processing delete'
-        self.cb_main_thread(event)        
+        gobject.idle_add(self.cb_main_thread, event)        
 
 
     def process_IN_CREATE(self, event):
@@ -77,8 +75,7 @@ class ProcessDependencyEvent(ProcessEvent):
         @param event current IN_CREATE event that was caught for the section of
         filesystem under watch
         """
-        print 'processing create'
-        self.cb_main_thread(event)        
+        gobject.idle_add(self.cb_main_thread, event)        
 
 
     def process_IN_MOVED_FROM(self, event):
@@ -87,8 +84,7 @@ class ProcessDependencyEvent(ProcessEvent):
         @param event current IN_MOVED_FROM event that was caught for the
         section of filesystem under watch
         """
-        print 'processing move from'
-        self.cb_main_thread(event)        
+        gobject.idle_add(self.cb_main_thread, event)        
 
 
 
diff --git a/src/project.py b/src/project.py
index 78c32a6..0225b3b 100644
--- a/src/project.py
+++ b/src/project.py
@@ -1,21 +1,22 @@
-# gEDA Manager
-# Copyright (C) 2008 Newell Jensen
-# Copyright (C) 2008 gEDA Contributors (see ChangeLog for details)
-#
-# This program 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 version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-
+"""
+gEDA Manager
+Copyright (C) 2008 Newell Jensen
+Copyright (C) 2008 gEDA Contributors (see ChangeLog for details)
+
+This program 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 version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+"""
 
 ##@package src.project
 # Project class for the gEDA Manager project objects
diff --git a/src/settings.py b/src/settings.py
index 7812bea..82723f0 100644
--- a/src/settings.py
+++ b/src/settings.py
@@ -1,21 +1,22 @@
-# gEDA Manager
-# Copyright (C) 2008 Newell Jensen
-# Copyright (C) 2008 gEDA Contributors (see ChangeLog for details)
-#
-# This program 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 version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+"""
+gEDA Manager
+Copyright (C) 2008 Newell Jensen
+Copyright (C) 2008 gEDA Contributors (see ChangeLog for details)
 
+This program 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 version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+"""
 
 ##@package src.settings
 #Create and verify settings for the gEDA Manager
@@ -34,7 +35,7 @@ class Settings:
     """
     def __init__(self):
         """ Settings Default Constructor. """
-        self.version = 1.0
+        self.version = 0.1
         ## self.installed_apps = []
         self.project = None
         self.editor = None
diff --git a/src/utils.py b/src/utils.py
index 6619ba4..8c1ec60 100644
--- a/src/utils.py
+++ b/src/utils.py
@@ -1,21 +1,22 @@
-# gEDA Manager
-# Copyright (C) 2008 Newell Jensen
-# Copyright (C) 2008 gEDA Contributors (see ChangeLog for details)
-#
-# This program 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 version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-
+"""
+gEDA Manager
+Copyright (C) 2008 Newell Jensen
+Copyright (C) 2008 gEDA Contributors (see ChangeLog for details)
+
+This program 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 version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+"""
 
 ##@package src.utils
 #Utility class for the gEDA Manager




_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs