Module: deluge Branch: 1.3-stable Commit: 2a3eb0578c6064c66d0fabcf78b2fe7f9b3d6d12
Author: Andrew Resch <[email protected]> Date: Fri Oct 15 19:31:36 2010 -0700 Fix #1349 force a theme style with expander-size = 15 to show entries in the sidebar properly. --- deluge/ui/gtkui/filtertreeview.py | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/deluge/ui/gtkui/filtertreeview.py b/deluge/ui/gtkui/filtertreeview.py index b5e531e..31487bb 100644 --- a/deluge/ui/gtkui/filtertreeview.py +++ b/deluge/ui/gtkui/filtertreeview.py @@ -122,7 +122,10 @@ class FilterTreeView(component.Component): self.label_view.set_show_expanders(True) self.label_view.set_headers_visible(False) self.label_view.set_level_indentation(-35) - + # Force the theme to use an expander-size of 15 so that we don't cut out + # entries due to our indentation hack. + gtk.rc_parse_string('style "treeview-style" { GtkTreeView::expander-size = 15 } class "GtkTreeView" style "treeview-style"') + self.label_view.set_model(self.treestore) self.label_view.get_selection().connect("changed", self.on_selection_changed) self.create_model_filter() -- You received this message because you are subscribed to the Google Groups "deluge-commit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/deluge-commit?hl=en.
