[gnome-control-center] universal-access: Error when metacity not installed



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]