dabo Commit
Revision 5290
Date: 2009-07-07 09:48:52 -0700 (Tue, 07 Jul 2009)
Author: Ed
Trac: http://trac.dabodev.com/changeset/5290
Changed:
U trunk/ide/ClassDesignerPemForm.py
Log:
Added alphabetical sorting to the method lists, as requested by Jacek
Ka?\197?\130ucki.
Diff:
Modified: trunk/ide/ClassDesignerPemForm.py
===================================================================
--- trunk/ide/ClassDesignerPemForm.py 2009-07-07 16:48:01 UTC (rev 5289)
+++ trunk/ide/ClassDesignerPemForm.py 2009-07-07 16:48:52 UTC (rev 5290)
@@ -240,8 +240,10 @@
codeEvents = nonCodeEvents = []
if obEvtCode is not None:
codeEvents = obEvtCode.keys()
+ codeEvents.sort()
nonCodeEvents = [ev for ev in evts
if ev not in codeEvents]
+ nonCodeEvents.sort()
# Add the events with code first
for evt in codeEvents:
newItem = self.MethodList.append(evt)
_______________________________________________
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]