dabodemo Commit
Revision 535
Date: 2007-08-14 13:09:34 -0700 (Tue, 14 Aug 2007)
Author: Paul
Trac: http://svn.dabodev.com/trac/dabodemo/changeset/535

Changed:
U   trunk/__version__.py
_U  trunk/lib/
U   trunk/tutorial/dbEditableGrid.py

Log:
Removed the _daborevs external.

Added the test textbox to the dbEditableGrid tutorial, which demonstrates
the double-click needed.


Diff:
Modified: trunk/__version__.py
===================================================================
--- trunk/__version__.py        2007-08-14 03:35:53 UTC (rev 534)
+++ trunk/__version__.py        2007-08-14 20:09:34 UTC (rev 535)
@@ -1,10 +1,10 @@
 # -*- coding: utf-8 -*-
-# The following 2 lines are the only thing you should change in this file.
+# The following 3 lines are the only thing you should change in this file.
 # Everything else is boilerplate copied also to other dabo repositories.
 package_name = "dabodemo"
 _version = "0.9a"
+_approximateRevision = "HEAD"
 
-
 import os
 import lib
 
@@ -22,12 +22,9 @@
                _revision = None
 
 if _revision is None:
-       # Okay, svninfo not available, which probably means svn isn't present, 
which
-       # means the version information in lib._daborevs will likely be 
correct. That
-       # revision information reflects the current revision at the time the 
-       # distribution was rolled up.
-       from lib._daborevs import _revs
-       _revision = _revs.get(package_name, "")
+       # Subversion doesn't appear to be installed, so just go with the 
approximate
+       # revision, which we update manually when rolling up new tagged 
versions.
+       _revision = "~%s" % _approximateRevision
 
 version = {"version": _version,
                "revision": _revision}


Property changes on: trunk/lib
___________________________________________________________________
Name: svn:externals
   - _daborevs http://svn.paulmcnett.com/daborevs


Modified: trunk/tutorial/dbEditableGrid.py
===================================================================
--- trunk/tutorial/dbEditableGrid.py    2007-08-14 03:35:53 UTC (rev 534)
+++ trunk/tutorial/dbEditableGrid.py    2007-08-14 20:09:34 UTC (rev 535)
@@ -44,6 +44,8 @@
        print grd.DataSet.execute("select * from dataset where valid")
 butGetDS = dabo.ui.dButton(frm, Caption="Print DataSet", OnHit=butGetDS_hit)
 frm.Sizer.append(butGetDS)
+txt = dabo.ui.dTextBox(frm)
+frm.Sizer.append(txt)
 
 frm.show()
 app.start()




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/dabo-dev/[EMAIL PROTECTED]

Reply via email to