pidgin/pidgin

Get transparency plugin working again

20 months ago, Elliott Sales de Andrade
eef0cabd6340
Get transparency plugin working again

No need to restrict to Windows-only as it uses plain GTK APIs.

GTK4 doesn't support setting Always-on-Top programmatically, and that seems bad from the user point of view for programs to be able to do that anyway, so drop that option.

Instead of tracking a list of windows manually based on `PurpleConversation`s, just follow along the `GtkApplication` for windows added/removed.

Testing Done:
Configuration is completely untested because we have no way to open plugin prefs yet.

Enabled plugin and checked that Buddy List and Conversation Windows were made transparent. The latter also gained a slider to set the opacity, which also worked.

Opaque-during-focus also seemed to work, though there seems to be a bug with the window getting a focus `enter` event on hover even if the window isn't really focused.

We don't currently have a way to create a second Conversation Window, so I can't be entirely sure the window signals work, but at least `window-added` is checked because the plugin is loaded before the first window is created.

Reviewed at https://reviews.imfreedom.org/r/1731/
syntax: glob
.*.swp
.DS_Store
.flatpak-builder
*.pyc
*~
\#*\#
syntax: regexp
^build(.+)?\/
win32-install-dir(\.release)?
po\/pidgin\.pot$
^subprojects\/.+\/