dabo Commit
Revision 5053
Date: 2009-02-09 15:50:51 -0800 (Mon, 09 Feb 2009)
Author: Pedro.Gato
Trac: http://trac.dabodev.com/changeset/5053

Changed:
U   trunk/dabo/lib/datanav/Form.py

Log:
Add a close button to datanav forms


Diff:
Modified: trunk/dabo/lib/datanav/Form.py
===================================================================
--- trunk/dabo/lib/datanav/Form.py      2009-02-09 23:24:12 UTC (rev 5052)
+++ trunk/dabo/lib/datanav/Form.py      2009-02-09 23:50:51 UTC (rev 5053)
@@ -132,7 +132,12 @@
                                        OnHit=self.onQuickReport, tip=_("Quick 
Report"), Enabled=_has_reporting_libs,
                                        help=_("Run a Quick Report on the 
current dataset"))
 
+                       tb.appendSeparator()
+                       self.appendToolBarButton(_("Close"), 
"%s/actions/system-log-out.png" % iconPath,
+                                               OnHit=self.close, 
tip=_("Close"),
+                                               help=_("Close Form"))
 
+
        def getMenu(self):
                iconPath = "themes/tango/16x16" 
                menu = super(Form, self).getMenu()



_______________________________________________
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/[email protected]

Reply via email to