Skip to content

Panel cleanup 2#13613

Open
JosephMcc wants to merge 12 commits intolinuxmint:masterfrom
JosephMcc:panel-cleanup-2
Open

Panel cleanup 2#13613
JosephMcc wants to merge 12 commits intolinuxmint:masterfrom
JosephMcc:panel-cleanup-2

Conversation

@JosephMcc
Copy link
Contributor

This ports a few more things over to classes and GObject. It removes two more uses of CinnamonGenericContainer in the PanelDummy and Panel objects. This could be taken further but doing the best I can to minimize any possible breakage.

The entire file is a bit of a mess in styling. Cleaned up a bit but it could use some more work.

Tested this quite a bit but it's possible there are a few lingering issues.

This isn't used anywhere in Cinnamon or any Xlets.
Clean up uses of Lang.bind() and clean up a few variable names and some code
styling
This removes a use of CinnamonGenericContainer
We only have one unmaintained applet using this currently. For the use case
of a spinner, we can add a dedicated object for that purpose. We have other
uses for that.
Remove usage of Lang.bind() as well
Remove old commented out options. These have been disabled for a long time.
They can be re-added if we want to bring them back.
This removes another major use of CinnamonGenericContainer. This could be
taken even further, but trying to break as little as possible with this
change.
This is only a partial cleanup. This file is a mess of different styles
but hopefully it's at least a bit better.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant