https://bugs.gpodder.org/show_bug.cgi?id=921

--- Comment #4 from Thomas Perl <[email protected]> 2012-09-23 18:39:58 BST ---
(In reply to comment #3)
> (Mit Bezug zu comment 2)
> > as "sorted by date" is the default sorting (which i don't like) it should be
> > indicated in the column header:
> > 
> 
> and it should show descending instead of the default ascending order:
> 
> $ cat gpodder-sort-indicator.patch 
> --- gpodder-gpodder-07dc226/src/gpodder/gtkui/main.py.org    2012-07-25
> 03:04:04.000000000 +0200
> +++ gpodder-gpodder-07dc226/src/gpodder/gtkui/main.py    2012-09-23
> 00:15:32.556866962 +0200
> @@ -828,6 +828,9 @@ class gPodder(BuilderWidget, dbus.servic
>              self.treeAvailable.append_column(itemcolumn)
>              TreeViewHelper.register_column(self.treeAvailable, itemcolumn)
> 
> +        releasecolumn.set_sort_indicator(True)
> +        releasecolumn.set_sort_order(gtk.SORT_DESCENDING)
> +
>          # Add context menu to all tree view column headers
>          for column in self.treeAvailable.get_columns():
>              label = gtk.Label(column.get_title())

Actually the default sorting is whatever the backend gives (which just happens
to be descending, release order). I'd rather leave it as-is, because the UI is
too busy otherwise (when the column is sorted like that, it's highlighted
visually - at least with my Gtk theme). Why don't you like the default sorting?

-- 
Configure bugmail: https://bugs.gpodder.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
_______________________________________________
gPodder-Bugs mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/gpodder-bugs

Reply via email to