pidgin/plugins/transparency/im.pidgin.Pidgin.plugin.Transparency.gschema.xml

Tue, 11 Apr 2023 00:17:15 -0500

author
Gary Kramlich <grim@reaperworld.com>
date
Tue, 11 Apr 2023 00:17:15 -0500
changeset 42202
2273647d24b0
parent 42188
04c0398f1046
permissions
-rw-r--r--

Use gtk_widget_set_visible for everything

gtk_widget_show and gtk_widget_hide are deprecated in GTK 4.10. However,
gtk_widget_set_visible has been around forever so we just need to move to that.

I didn't test all of these and there are probably some that can still be
removed, but most of those are in code that is going to get refreshed in the
future so I didn't bother for now.

Testing Done:
I tested the join chat, add chat, and add buddy dialogs, as well as the contact added notification.

Reviewed at https://reviews.imfreedom.org/r/2430/

<?xml version="1.0" encoding="utf-8"?>
<schemalist>
  <schema path="/pidgin/plugins/transparency/" id="im.pidgin.Pidgin.plugin.Transparency">
    <key name="alpha" type="i">
      <default>255</default>
      <range min="50" max="255"/>
      <summary>Transparency level</summary>
      <description>
        The opacity applied to a window.
      </description>
    </key>

    <key name="slider" type="b">
      <default>false</default>
      <summary>Show slider bar in windows</summary>
      <description>
        Shows a slider bar in windows with which the transparency level may
        be modified.
      </description>
    </key>

    <key name="solid-on-focus" type="b">
      <default>false</default>
      <summary>Remove window transparency on focus</summary>
      <description>
        Whether to make a window opaque whenever it has focus.
      </description>
    </key>
  </schema>
</schemalist>

mercurial