Package: debgtd
Version: 1.2.1-1
Severity: wishlist
Tags: patch

Hi, please make the bug number and subject columns sortable. A bug number
serves as an effective timestamp of when it was filed and as I am generally
interested in prioritising my work on older issues, being able to sort by
this column would be useful.

In addition, being able to sort by the bug title allows quasi-grouping of
similarly named bugs (such as mass bug filings) and any bugs that have had an
artificial prefixes added.

Patch attached.


Regards,

-- 
Chris Lamb, UK                                       [EMAIL PROTECTED]
                                                            GPG: 0x634F9A20
diff -urNad debgtd-1.2.1.orig/debgtd/gui.py debgtd-1.2.1/debgtd/gui.py
--- debgtd-1.2.1.orig/debgtd/gui.py     2008-08-04 05:33:59.000000000 +0100
+++ debgtd-1.2.1/debgtd/gui.py  2008-08-04 05:34:25.000000000 +0100
@@ -87,6 +87,7 @@
                cell = gtk.CellRendererText()
                column.pack_start(cell, False)
                column.add_attribute(cell, "text", 0)
+               column.set_sort_column_id(0)
 
                column = gtk.TreeViewColumn('package')
                tree.append_column(column)
@@ -108,6 +109,7 @@
                cell = gtk.CellRendererText()
                column.pack_start(cell,False)
                column.add_attribute(cell, "text", 3)
+               column.set_sort_column_id(3)
 
        def row_selected_cb(self,tree,path,column):
                treemodel = tree.get_model()

Attachment: signature.asc
Description: PGP signature

Reply via email to