Re: Battery Monitor on Plasma 2

2013-12-31 Thread Sebastian Kügler
On Sunday, December 29, 2013 21:59:48 Marco Martin wrote: > On Sunday 29 December 2013, Sebastian Kügler wrote: > > > formfactor does exist, but there aren't differences between being in > > > apanel or in a systray... > > > hmm, so when in a systray would make sense a "constrained" formfactor or

Re: Battery Monitor on Plasma 2

2013-12-29 Thread Marco Martin
On Sunday 29 December 2013, Sebastian Kügler wrote: > > formfactor does exist, but there aren't differences between being in > > apanel or in a systray... > > hmm, so when in a systray would make sense a "constrained" formfactor or > > something like that, ie not able to expand neither horizontall

Re: Battery Monitor on Plasma 2

2013-12-29 Thread Sebastian Kügler
On Sunday, December 29, 2013 16:35:31 Marco Martin wrote: > > - (How) Can I determin whether the plasmoid is collapsed in systray or in > > a > > panel? Currently when there are eg. two batteries, the battery monitor > > shows two icons cramped next to eath other as it doesn't know it's only > > su

Re: Battery Monitor on Plasma 2

2013-12-29 Thread Sebastian Kügler
On Sunday, December 29, 2013 14:37:25 Kai Uwe Broulik wrote: > > plasmoid.location should work, if it doesn't, let me know. (I haven't > > checked for the system tray, but it would be an easy fix.) > > Haven't tried so far but I guess I need to accomodate to the enum changes > using PlasmaCore.Ty

Re: Battery Monitor on Plasma 2

2013-12-29 Thread Marco Martin
On Sunday 29 December 2013, Kai Uwe Broulik wrote: > > that said, i don't think should be something for the plasmoid to care to, > > that seems a thing that should be present in all plasmoids > Huh? I was talking about having the PM switch and brightness slider as > close to the panel as possible

Re: Battery Monitor on Plasma 2

2013-12-29 Thread Kai Uwe Broulik
Hi, > yes, have to use PlasmaCore.Types prefix, everything in plasma.h is > available under there Okay. > in the systray having something not square breaks in many edge cases.. > so makes me think that we should really introduce a new formfactor for > square stuff, so the battery could behave dif

Re: Battery Monitor on Plasma 2

2013-12-29 Thread Marco Martin
On Sunday 29 December 2013, Kai Uwe Broulik wrote: > Hi, > > > plasmoid.location should work, if it doesn't, let me know. (I haven't > > checked for the system tray, but it would be an easy fix.) > > Haven't tried so far but I guess I need to accomodate to the enum changes > using PlasmaCore.Type

Re: Battery Monitor on Plasma 2

2013-12-29 Thread Marco Martin
On Saturday 28 December 2013, Kai Uwe Broulik wrote: > Hi there, > > first of all, I really like all the polish you put into Plasma 2, > especially system tray and the calendar :-) > > I have a few questions regarding the battery monitor, however: > - (How) Can I determin whether the panel the sy

Re: Battery Monitor on Plasma 2

2013-12-29 Thread Kai Uwe Broulik
Hi, > plasmoid.location should work, if it doesn't, let me know. (I haven't > checked for the system tray, but it would be an easy fix.) Haven't tried so far but I guess I need to accomodate to the enum changes using PlasmaCore.Types for location then? > Please file a bug, this needs more detail

Re: Battery Monitor on Plasma 2

2013-12-29 Thread Sebastian Kügler
Hey, On Saturday, December 28, 2013 17:13:24 Kai Uwe Broulik wrote: > first of all, I really like all the polish you put into Plasma 2, > especially system tray and the calendar Thanks. :) These layout cleanups do place a couple of extra restrictions (hard and soft) on the widgets in the panel

Battery Monitor on Plasma 2

2013-12-28 Thread Kai Uwe Broulik
Hi there, first of all, I really like all the polish you put into Plasma 2, especially system tray and the calendar :-) I have a few questions regarding the battery monitor, however: - (How) Can I determin whether the panel the system tray emerged from is at the top or bottom of the screen? Doe