view org.guido-berhoerster.code.package-update-indicator.gschema.xml @ 64:a5ed1047ce14

Obtain network state from GNetworkMonitor The PackageKit daemon does not necessarily run continuously and is therefore not a reliable source for network changes. More specifically, if the internet connectivity is not available when the PackageKit daemon shuts down, package-update-indicator will not be notified if connectivity is restored. Thus use GNetworkMonitor instead which is also used internally by PackageKit. This change is based on patches by Cliff <cliffd@gmx.com.br> who discovered and tracked down this issue.
author Guido Berhoerster <guido+pui@berhoerster.name>
date Sun, 14 Jan 2024 18:53:37 +0100
parents 9cbb0f8a66c4
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>