[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#280776: kopete: icon appears as a blank page



On Thursday 18 November 2004 07:58 am, you wrote:
> On Thu, Nov 18, 2004 at 07:49:19AM -0500, Josh Metzler wrote:
> > What other icons do you have in the system tray?  I also have klipper,
> > kmix, knetload, and kcpuload.  It could be that one of them declares a
> > minimum size of 22x22, and that is why my system tray shows the kopete
> > icon.
>
> Battery power left, volume control, kwallet, skype, kopete, workrave.
>
> Francis

Ok - looking in webcvs.kde.org, it looks like KopeteSystemTray inherits from 
KSystemTray, and gets its LoadIcon from there:

QPixmap KSystemTray::loadIcon( const QString &icon, KInstance *instance )
{
    KConfig *appCfg = kapp->config();
    KConfigGroupSaver configSaver(appCfg, "System Tray");
    int iconWidth = appCfg->readNumEntry("systrayIconWidth", 22);
    return instance->iconLoader()->loadIcon( icon, KIcon::Panel, 
iconWidth );
}

So, unless your .kde/share/config/kopeterc has a systrayIconWidth set to 16, 
I would expect this to load the 22x22 version.  With as much as you have 
been moving your kopete config out of the way, though, I doubt this is the 
case. :(

Josh



Reply to: