conduit r1186 - in trunk: . conduit/modules/FspotModule



Author: johncarr
Date: Fri Jan 11 00:22:32 2008
New Revision: 1186
URL: http://svn.gnome.org/viewvc/conduit?rev=1186&view=rev

Log:
Sort tags (thanks maxxer)

Modified:
   trunk/ChangeLog
   trunk/conduit/modules/FspotModule/FspotModule.py

Modified: trunk/conduit/modules/FspotModule/FspotModule.py
==============================================================================
--- trunk/conduit/modules/FspotModule/FspotModule.py	(original)
+++ trunk/conduit/modules/FspotModule/FspotModule.py	Fri Jan 11 00:22:32 2008
@@ -56,7 +56,7 @@
             con = sqlite.connect(PHOTO_DB)
             cur = con.cursor()
             #Get a list of all tags for the config dialog
-            cur.execute("SELECT id, name FROM tags")
+            cur.execute("SELECT id, name FROM tags ORDER BY name")
             for tagid, tagname in cur:
                 tags.append( (tagid,tagname) )
             con.close()



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