conduit r1665 - in trunk: . conduit conduit/gtkui
- From: jstowers svn gnome org
- To: svn-commits-list gnome org
- Subject: conduit r1665 - in trunk: . conduit conduit/gtkui
- Date: Fri, 22 Aug 2008 01:01:54 +0000 (UTC)
Author: jstowers
Date: Fri Aug 22 01:01:54 2008
New Revision: 1665
URL: http://svn.gnome.org/viewvc/conduit?rev=1665&view=rev
Log:
* conduit/Settings.py:
* conduit/gtkui/Tree.py: Hide treeview lines. Fixes #547604
Modified:
trunk/ (props changed)
trunk/ChangeLog
trunk/conduit/Settings.py
trunk/conduit/gtkui/Tree.py
Modified: trunk/conduit/Settings.py
==============================================================================
--- trunk/conduit/Settings.py (original)
+++ trunk/conduit/Settings.py Fri Aug 22 01:01:54 2008
@@ -79,6 +79,7 @@
'gui_initial_canvas_width' : 450, #Reduce for eepc, etc
'gui_use_rgba_colormap' : False, #Seems to corrupt gtkmozembed on some systems
'gui_show_hints' : True, #Show message area hints in the Conduit GUI
+ 'gui_show_treeview_lines' : False, #Show treeview lines
}
def __init__(self, implName):
Modified: trunk/conduit/gtkui/Tree.py
==============================================================================
--- trunk/conduit/gtkui/Tree.py (original)
+++ trunk/conduit/gtkui/Tree.py Fri Aug 22 01:01:54 2008
@@ -339,8 +339,7 @@
"""
gtk.TreeView.__init__(self, model)
self.set_property("enable-search", False)
- #FIXME: Work around a (py)gtk 2.8 bug
- if gtk.pygtk_version >= (2,10,0):
+ if gtk.pygtk_version >= (2,10,0) and conduit.GLOBALS.settings.get("gui_show_treeview_lines"):
self.set_property("enable-tree-lines", True)
#First column is an image and name
@@ -354,7 +353,7 @@
self.append_column(tvcolumn0)
# Second column is a description
- if conduit.GLOBALS.settings.get("show_dp_description") == True:
+ if conduit.GLOBALS.settings.get("show_dp_description"):
tvcolumn1 = gtk.TreeViewColumn(_("Description"), gtk.CellRendererText(), text=IDX_DESCRIPTION)
self.append_column(tvcolumn1)
self.set_headers_visible(True)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]