On Thu, 30 Oct 2008 18:13:48 +0100, "Marco Martin" <[EMAIL PROTECTED]> said: > On Thursday 30 October 2008, [EMAIL PROTECTED] wrote: > > Hi, > > > > i've noticed that marco implemented the "only group when full" > > functionality > > entierly in the tasks applet. > > Unfortunately i was implementing it at the same time, but in the lib > > instead > > of the widget ;-) > > Although the visualization has to say when the taskbar is full, i still > > think > > it's better to implement it in the lib and just set the limit when the > > group > > is full from the visualization. > > I think it would also help to make the code a bit more consistent since > > everything else is also implemented like this (showOnlyCurrentScreen). > > > > What do you guys think? > oh, didn't know you was working on it at the same time :( > my concern is that in the lib would be a fixed number of tasks.. > but i am still not too happy how it's done.. > hmm thinking about it it would need to be able to change the number limit > on > the fly, so the applet would calc the number of tasks it needs on each > resize
yes, thats how i did it. first i just set a boolean in the lib like setGroupIsFull(bool), so almost the same as you do currently in the applet. but since the applet size doesn't change normally the limit for a full group should remain more or less constant. regards, christian > > Cheers, > Marco Martin > > > Regards, > > > > Christian (finally i've got a new mailclient which hopefully doesn't > > wreck my > > mails) > > > > > > -- > > > > [EMAIL PROTECTED] > > > _______________________________________________ > Plasma-devel mailing list > Plasma-devel@kde.org > https://mail.kde.org/mailman/listinfo/plasma-devel -- [EMAIL PROTECTED] -- http://www.fastmail.fm - A no graphics, no pop-ups email service _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel