Re: [gpm] A couple issues with gpm



On Wed, 2008-03-19 at 19:08 +0100, Rémi Cardona wrote:
> > And that's quite surprising because we do install/register gconf
> schemas 
> > in our shared Gnome install scripts.
> 
> Ping ? Does anybody have a clue?

	/* check to see if the user has installed the schema properly */
	ret = gpm_conf_get_uint (manager->priv->conf, GPM_CONF_SCHEMA_VERSION, &version);
	if (ret == FALSE || version != GPM_CONF_SCHEMA_ID) {
		gpm_notify_display (manager->priv->notify,
				    _("Install problem!"),
				    _("The configuration defaults for GNOME Power Manager have not been installed correctly.\n"
				      "Please contact your computer administrator."),
				    GPM_NOTIFY_TIMEOUT_LONG,
				    GTK_STOCK_DIALOG_WARNING,
				    GPM_NOTIFY_URGENCY_NORMAL);
		gpm_error ("no gconf schema installed!");
	}

Basically, g-p-m is checking the value of GPM_CONF_SCHEMA_VERSION
(should be 3) to make sure the correct version of schema is installed.
You might want to check that number.

Richard.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]