[gnome-control-center] universal-access: Error when metacity not installed
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] universal-access: Error when metacity not installed
- Date: Thu, 8 Sep 2011 23:11:04 +0000 (UTC)
commit 34bf1d60760c060c1863a798583f7a39a23d2ebf
Author: Bastien Nocera <hadess hadess net>
Date: Fri Sep 9 00:09:56 2011 +0100
universal-access: Error when metacity not installed
panels/universal-access/cc-ua-panel.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/panels/universal-access/cc-ua-panel.c b/panels/universal-access/cc-ua-panel.c
index 50d497b..6738a79 100644
--- a/panels/universal-access/cc-ua-panel.c
+++ b/panels/universal-access/cc-ua-panel.c
@@ -610,6 +610,8 @@ cc_ua_panel_init_hearing (CcUaPanel *self)
entry = gconf_client_get_entry (priv->client,
"/apps/metacity/general/visual_bell_type",
NULL, TRUE, NULL);
+ if (entry == NULL)
+ g_warning ("The following warning is because metacity's GConf settings aren't installed");
visual_bell_type_notify_cb (priv->client, 0, entry, self);
g_signal_connect (WID (priv->builder, "hearing_flash_window_title_button"),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]