view org.guido-berhoerster.code.package-update-indicator.gschema.xml @ 58:9cbb0f8a66c4

Add setting to disable preferences widgets This just makes the widgets in the preferences application insensitive, settings can still be changed by directly editing the configuration file.
author Guido Berhoerster <guido+pui@berhoerster.name>
date Tue, 06 Sep 2022 19:11:21 +0200
parents 08747f3a718b
children
line wrap: on
line source

<schemalist>
  <schema id="org.guido-berhoerster.code.package-update-indicator"
  path="/org/guido-berhoerster/code/package-update-indicator/"
  gettext-domain="package-update-indicator">
    <key name="update-command" type="s">
      <default>""</default>
      <summary>Update command</summary>
      <description>Command for installing updates.</description>
    </key>
    <key name="refresh-interval" type="u">
      <default>86400</default>
      <summary>Refresh interval</summary>
      <description>The interval in seconds for refreshing
      metadata.</description>
    </key>
    <key name="use-mobile-connection" type="b">
      <default>false</default>
      <summary>Whether to use a mobile connection</summary>
      <description>If enabled, use a mobile connection refreshing the package
      cache.</description>
    </key>
    <key name="always-active" type="b">
      <default>true</default>
      <summary>Whether the indicator is always active</summary>
      <description>Whether the indicator is active even when packages are up to
      date.</description>
    </key>
    <key name="hide-menu-items" type="as">
      <default>[]</default>
      <summary>Hide menu items</summary>
      <description>List of indicator menu items to be hidden.</description>
    </key>
    <key name="disable-preferences" type="as">
      <default>[]</default>
      <summary>Disable preferences</summary>
      <description>List of preference widgets to be disabled.</description>
    </key>
  </schema>
</schemalist>