Re: dotted line separating table columns in GTK 2.18

2009-12-03 Thread Michael Cronenworth
Kristian Rietveld wrote: Not that I know of, but I don't have knowledge of SWT so I cannot think of workaround in that area. I think it is a bit stupid that Ubuntu turned on these grid lines by default, because it is deliberately not a theme setting. We wanted the developers of applications de

Re: dotted line separating table columns in GTK 2.18

2009-12-02 Thread Kristian Rietveld
On Thu, Dec 3, 2009 at 12:22 AM, Alex Ignácio da Silva wrote: > Unfortunately from the Java side I have no easy access to the underlying > GTK implementation widgets, only to the wrapper SWT objects. > > Isn't there a way to change this behavior via an environment variable or > some other mechanis

Re: dotted line separating table columns in GTK 2.18

2009-12-02 Thread Kristian Rietveld
On Thu, Dec 3, 2009 at 12:38 AM, Michael Cronenworth wrote: > It isn't working for me though. Something is missing. It does not work because enable-grid-lines is not a style property. regards, -kris. ___ gtk-app-devel-list mailing list gtk-app-devel-

Re: dotted line separating table columns in GTK 2.18

2009-12-02 Thread Alex Ignácio da Silva
Hi Michael, Michael Cronenworth wrote: > Create a ~/.gtkrc-2.0 and add > > style "no-grid-lines" > { > GtkTreeView::enable-grid-lines = GTK_TREE_VIEW_GRID_LINES_NONE > } > > class "GtkTreeView" style "no-grid-lines" > > It isn't working for me though. Something is missing. It doesn't w

Re: dotted line separating table columns in GTK 2.18

2009-12-02 Thread Michael Cronenworth
Alex Ignácio da Silva wrote: Isn't there a way to change this behavior via an environment variable or some other mechanism not involving touching the C code? Create a ~/.gtkrc-2.0 and add style "no-grid-lines" { GtkTreeView::enable-grid-lines = GTK_TREE_VIEW_GRID_LINES_NONE } class

Re: dotted line separating table columns in GTK 2.18

2009-12-02 Thread Alex Ignácio da Silva
Hi Kristian, > See gtk_tree_view_set_grid_lines(). This is disabled by default, but > for some reason Ubuntu (or the Ubuntu theme, even though the grid > lines setting is not a style property) enables it by default. Unfortunately from the Java side I have no easy access to the underlying GTK imp

Re: dotted line separating table columns in GTK 2.18

2009-12-02 Thread Kristian Rietveld
On Wed, Dec 2, 2009 at 10:52 PM, Alex Ignácio da Silva wrote: > It seems like the recent GTK 2.18 implementation of table widgets draws > a dotted line separating the table columns, as I noticed when trying my > application in Ubuntu Karmic. Unfortunately this makes my widget render > incorrectly.

dotted line separating table columns in GTK 2.18

2009-12-02 Thread Alex Ignácio da Silva
Hi all, I have a GTK application (actually, I'm using Eclipse SWT) with a table widget. It seems like the recent GTK 2.18 implementation of table widgets draws a dotted line separating the table columns, as I noticed when trying my application in Ubuntu Karmic. Unfortunately this makes my widget