[network-manager-applet] editor: ignore secrets errors from settings which don't exist yet (bgo #623744)
- From: Dan Williams <dcbw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-applet] editor: ignore secrets errors from settings which don't exist yet (bgo #623744)
- Date: Wed, 21 Jul 2010 20:58:47 +0000 (UTC)
commit 754578c14e8aa425345a620a27680aba3d6ddb6a
Author: Dan Williams <dcbw redhat com>
Date: Wed Jul 21 15:58:20 2010 -0700
editor: ignore secrets errors from settings which don't exist yet (bgo #623744)
src/connection-editor/ce-page.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/connection-editor/ce-page.c b/src/connection-editor/ce-page.c
index af4b69a..bcb90de 100644
--- a/src/connection-editor/ce-page.c
+++ b/src/connection-editor/ce-page.c
@@ -187,7 +187,8 @@ ce_page_complete_init (CEPage *self,
g_return_if_fail (self != NULL);
g_return_if_fail (CE_IS_PAGE (self));
- if (error) {
+ /* Ignore missing settings errors */
+ if (error && !dbus_g_error_has_name (error, "org.freedesktop.NetworkManagerSettings.InvalidSetting")) {
emit_initialized (self, error);
return;
} else if (!setting_name || !secrets) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]