[telepathy-mission-control/master] Downgrade warnings about "no gnome-keyring" to messages

Simon McVittie simon.mcvittie at collabora.co.uk
Mon Sep 14 08:42:00 PDT 2009


KDE users on Debian will probably get these, for instance (we plan to
compile MC with gnome-keyring support and require libgnome-keyring -
the cost is only 200K - but KDE users probably won't want the actual
gnome-keyring daemon).
---
 src/mcd-account.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/mcd-account.c b/src/mcd-account.c
index f22e83c..b7723be 100644
--- a/src/mcd-account.c
+++ b/src/mcd-account.c
@@ -567,7 +567,7 @@ set_parameter (McdAccount *account, const gchar *name, const GValue *value,
         }
         else
         {
-            g_warning ("GNOME keyring not available: will not save secret "
+            g_message ("GNOME keyring not available: will not save secret "
                        "parameters in the keyring");
         }
     }
@@ -740,9 +740,9 @@ keyring_get_cb (GnomeKeyringResult result, const gchar* password,
 
     if (result != GNOME_KEYRING_RESULT_OK)
     {
-        g_warning ("Failed to get item from keyring: %s",
+        g_message ("Failed to get item from keyring: %s",
                    gnome_keyring_result_to_message (result));
-        g_warning ("Falling back to looking in the keyfile");
+        g_message ("Falling back to looking in the keyfile");
 
         get_parameter_from_file (data->account, data->name,
                                  data->callback, data->user_data);
@@ -817,7 +817,7 @@ get_parameter (McdAccount *account, const gchar *name,
         }
         else
         {
-            g_warning ("GNOME keyring not available: will not look in the "
+            g_message ("GNOME keyring not available: will not look in the "
                        "keyring for secret parameter: %s", name);
         }
     }
@@ -1039,7 +1039,7 @@ _mcd_account_delete (McdAccount *account,
     }
     else
     {
-        g_warning ("GNOME keyring not available: cannot delete secret "
+        g_message ("GNOME keyring not available: cannot delete secret "
                    "parameters from keyring");
     }
 #endif
-- 
1.5.6.5




More information about the telepathy-commits mailing list