diff options
author | Richard Hughes <richard@hughsie.com> | 2007-07-13 17:31:38 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2007-07-13 17:31:38 +0100 |
commit | 5c5cb638a0745993e04bbd7a5fc095031a96c178 (patch) | |
tree | b59d026ff832481f4f5d693cea9962362aad529b | |
parent | 26d95f84d6d37d58b7e11ce2240733d9de26c484 (diff) |
it is possible to be set in coldplug
-rw-r--r-- | plugins/glue/idle/ohm-plugin-idle.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/glue/idle/ohm-plugin-idle.c b/plugins/glue/idle/ohm-plugin-idle.c index 33d08c7..499f006 100644 --- a/plugins/glue/idle/ohm-plugin-idle.c +++ b/plugins/glue/idle/ohm-plugin-idle.c @@ -122,7 +122,7 @@ plugin_coldplug (OhmPlugin *plugin) /* check system inhibit - this is broken as any client can unref all */ ohm_plugin_conf_get_key (plugin, "xorg.has_xauthority", &value); if (value == 1) { - g_error ("already set - is this possible?"); + plugin_connect_idletime (plugin); } ohm_plugin_conf_interested (plugin, "xorg.has_xauthority", CONF_XORG_HASXAUTH_CHANGED); @@ -152,7 +152,7 @@ plugin_unload (OhmPlugin *plugin) } static OhmPluginInfo plugin_info = { - "OHM IdleTime", /* description */ + "OHM IdleTime", /* description */ "0.0.1", /* version */ "richard@hughsie.com", /* author */ plugin_preload, /* preload */ |