[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: kdebase/konqueror
From:       George Staikos <staikos () kde ! org>
Date:       2003-05-31 18:46:12
[Download RAW message or body]

On Saturday 31 May 2003 14:10, Aaron J. Seigo wrote:
> On Thursday 29 May 2003 02:47, Stephan Binner wrote:
> > +void KonqViewManager::setLoading( KonqView *view, bool loading ) {
> > +  if ( m_pDocContainer->frameType() == "Tabs" ) {
> > +    QColor color;
> > +    if ( loading )
> > +      color = QColor( "red" );
> > +    else
> > +    {
> > +      if ( m_pMainWindow->currentView() != view )
> > +        color = QColor( "blue" );
> > +      else
> > +        color = QColor( "black" );
> > +    }
> > +    static_cast<KonqFrameTabs*>( docContainer())->setTabColor(
> > view->frame(), color ); +  }
> > +}
> > +
>
> how well do these hard coded colors work on different colour schemes?

   FYI I saw a crash today in setTabColor() due to opening a new tab (there 
was no tab before, just the main frame) while the main frame was stalled on a 
page.  BT wasn't very helpful.

-- 
George Staikos
KDE Developer				http://www.kde.org/
Staikos Computing Services Inc.		http://www.staikos.net/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic