mate-desktop / mate-panel

MATE panel
https://mate-desktop.org
GNU General Public License v2.0
185 stars 118 forks source link

Feature to place applets left-centre-right #183

Open Michael-AU opened 10 years ago

Michael-AU commented 10 years ago

It would be nice if users could place applets (using gsettings?) on the left-centre-right of the panel and the applet stayed in that position. mate-panel This is how I have my panel set up but if I change screens (to a larger screen) the weather/clock/calender applet moves from the centre of MATE panel to the right like the screenshot below mate-panel-2. If there was a setting that users could just say "centre" the applet should, regardless of the screen size/resolution, stay in the centre. Currently we just drag the applet to where we want it and if we change screens (or resolutions, please see screenshot below for resolution change) it moves to the coordinates that the location corresponds to. mate-panel-3 I hope I have explained this well enough

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/2121110-feature-to-place-applets-left-centre-right?utm_campaign=plugin&utm_content=tracker%2F314880&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F314880&utm_medium=issues&utm_source=github).
rilian-la-te commented 10 years ago

Working on it, but I am not a developer.

stefano-k commented 10 years ago

@rilian-la-te please talk with us before work on big changes like this, to avoid to loose time with something that will be not merged

rilian-la-te commented 10 years ago

Ok, I almost done porting;) If you want, you can checkout it in https://github.com/rilian-la-te/mate-panel/tree/packed_applets_issue_183

If it will not be merged, I will save and maintain branch for some time;)

rilian-la-te commented 10 years ago

I have some suggestions about realization of this feature not like gnome-panel (with keeping current behaviour).

  1. Replace can-right-stick bool to pack-type enum (with 3 values).
  2. Add some code to count centered starting point of position (no pack-index or anything like it).

What about this, non-destructive way to resolve this?

Michael-AU commented 8 years ago

Just out of interests sake is there any intent to try to fix this? I see there is another bug report on this exact same issue(https://github.com/mate-desktop/mate-panel/issues/62) that is 2 years older than my report.