Re: Distinguish column header from normal button

2005-09-16 Thread Richard Stellingwerff
On 9/16/05, Todd Berman <[EMAIL PROTECTED]> wrote: > On Thu, 2005-09-15 at 23:24 +0200, David Christian Berg wrote: > > Therefore I'm certain it won't break anything. I personally use the > > trick reminic mentioned since a long while with my eXperience theme. > > Since I use this trick quite often

Re: Distinguish column header from normal button

2005-09-15 Thread Todd Berman
On Thu, 2005-09-15 at 23:24 +0200, David Christian Berg wrote: > Hey guys, hey reminic! > > > They all seem to do a check to see if the detail is "button" and if the > > widget->parent is treeview or clist. > > > > This is the issue. If the details gets changed to "treeview-header-left" > > then

Re: Distinguish column header from normal button

2005-09-15 Thread David Christian Berg
Hey guys, hey reminic! > They all seem to do a check to see if the detail is "button" and if the > widget->parent is treeview or clist. > > This is the issue. If the details gets changed to "treeview-header-left" > then that check stops matching for older themes, and then they stop > working. Ok

Re: Distinguish column header from normal button

2005-09-14 Thread Todd Berman
On Wed, 2005-09-14 at 13:16 -0500, Federico Mena Quintero wrote: > On Wed, 2005-09-14 at 02:01 -0700, Todd Berman wrote: > > > The current hacks that 3rd party developers have to go through when they > > want to render something that looks like a themed native treeview header > > are bad enough (c

Re: Distinguish column header from normal button

2005-09-14 Thread Richard Stellingwerff
On 14 Sep 2005 19:08:39 +0200, Soeren Sandmann <[EMAIL PROTECTED]> wrote: > Federico Mena Quintero <[EMAIL PROTECTED]> writes: > > > On Tue, 2005-09-13 at 23:45 +0200, Richard Stellingwerff wrote: > > > > > To distinguish Column headers from normal buttons, I check if its > > > parent is a GtkTree

Re: Distinguish column header from normal button

2005-09-14 Thread Federico Mena Quintero
On Wed, 2005-09-14 at 02:01 -0700, Todd Berman wrote: > The current hacks that 3rd party developers have to go through when they > want to render something that looks like a themed native treeview header > are bad enough (creating a fake treeview, adding a column, and passing a > widget somewhat d

Re: Distinguish column header from normal button

2005-09-14 Thread Federico Mena Quintero
On Wed, 2005-09-14 at 09:29 +0200, Richard Stellingwerff wrote: > By "hint," do you actually mean the 'detail' parameter that gets > passed on to gtk_paint_*()? Simply changing that would break a lot of > themes that currently don't know how to handle the new 'detail'. Yes, I meant the "detail" p

Re: Distinguish column header from normal button

2005-09-14 Thread Todd Berman
On Wed, 2005-09-14 at 20:55 +0300, Kalle Vahlman wrote: > 2005/9/14, Todd Berman <[EMAIL PROTECTED]>: > > On Wed, 2005-09-14 at 12:18 +0300, Kalle Vahlman wrote: > > > 2005/9/14, Todd Berman <[EMAIL PROTECTED]>: > > > > Although, I guess if this means the hacky stuff theme authors do to see > > > >

Re: Distinguish column header from normal button

2005-09-14 Thread Kalle Vahlman
2005/9/14, Todd Berman <[EMAIL PROTECTED]>: > On Wed, 2005-09-14 at 12:18 +0300, Kalle Vahlman wrote: > > 2005/9/14, Todd Berman <[EMAIL PROTECTED]>: > > > Although, I guess if this means the hacky stuff theme authors do to see > > > if the widget's parent is a treeview, or clist, or etree (in clea

Re: Distinguish column header from normal button

2005-09-14 Thread Soeren Sandmann
Federico Mena Quintero <[EMAIL PROTECTED]> writes: > On Tue, 2005-09-13 at 23:45 +0200, Richard Stellingwerff wrote: > > > To distinguish Column headers from normal buttons, I check if its > > parent is a GtkTreeView or a GtkCList. A horrible way, but afaik the > > only way. > > In order to prope

Re: Distinguish column header from normal button

2005-09-14 Thread Todd Berman
On Wed, 2005-09-14 at 12:18 +0300, Kalle Vahlman wrote: > 2005/9/14, Todd Berman <[EMAIL PROTECTED]>: > > Although, I guess if this means the hacky stuff theme authors do to see > > if the widget's parent is a treeview, or clist, or etree (in clearlooks > > case) would be removed, and then widget a

Re: Distinguish column header from normal button

2005-09-14 Thread Todd Berman
On Wed, 2005-09-14 at 09:15 -0400, Matthias Clasen wrote: > On Wed, 2005-09-14 at 09:29 +0200, Richard Stellingwerff wrote: > > On 9/14/05, Federico Mena Quintero <[EMAIL PROTECTED]> wrote: > > > On Tue, 2005-09-13 at 23:45 +0200, Richard Stellingwerff wrote: > > > > > > > To distinguish Column he

Re: Distinguish column header from normal button

2005-09-14 Thread Matthias Clasen
On Wed, 2005-09-14 at 09:29 +0200, Richard Stellingwerff wrote: > On 9/14/05, Federico Mena Quintero <[EMAIL PROTECTED]> wrote: > > On Tue, 2005-09-13 at 23:45 +0200, Richard Stellingwerff wrote: > > > > > To distinguish Column headers from normal buttons, I check if its > > > parent is a GtkTreeV

Re: Distinguish column header from normal button

2005-09-14 Thread Kalle Vahlman
2005/9/14, Todd Berman <[EMAIL PROTECTED]>: > On Tue, 2005-09-13 at 17:48 -0500, Federico Mena Quintero wrote: > > On Tue, 2005-09-13 at 23:45 +0200, Richard Stellingwerff wrote: > > > > > To distinguish Column headers from normal buttons, I check if its > > > parent is a GtkTreeView or a GtkCList.

Re: Distinguish column header from normal button

2005-09-14 Thread Todd Berman
On Tue, 2005-09-13 at 17:48 -0500, Federico Mena Quintero wrote: > On Tue, 2005-09-13 at 23:45 +0200, Richard Stellingwerff wrote: > > > To distinguish Column headers from normal buttons, I check if its > > parent is a GtkTreeView or a GtkCList. A horrible way, but afaik the > > only way. > > In o

Re: Distinguish column header from normal button

2005-09-14 Thread Richard Stellingwerff
On 9/14/05, Federico Mena Quintero <[EMAIL PROTECTED]> wrote: > On Tue, 2005-09-13 at 23:45 +0200, Richard Stellingwerff wrote: > > > To distinguish Column headers from normal buttons, I check if its > > parent is a GtkTreeView or a GtkCList. A horrible way, but afaik the > > only way. > > In orde

Re: Distinguish column header from normal button

2005-09-13 Thread Federico Mena Quintero
On Tue, 2005-09-13 at 23:45 +0200, Richard Stellingwerff wrote: > To distinguish Column headers from normal buttons, I check if its > parent is a GtkTreeView or a GtkCList. A horrible way, but afaik the > only way. > In order to properly distinguish a column header from a normal button, > I was th