Commit afcb70bf authored by Mohammed Sadiq's avatar Mohammed Sadiq
Browse files

Update patches

parent ec3e2a52
From 829c10a0f52f4e8640df35eb435acbdc0b7032f2 Mon Sep 17 00:00:00 2001
From 83852147a48bc3ba277234caab1304a3a43e34b4 Mon Sep 17 00:00:00 2001
From: Mohammed Sadiq <sadiq@sadiqpk.org>
Date: Fri, 18 Oct 2019 18:36:59 +0530
Subject: [PATCH 5/6] Add new connection editor
Subject: [PATCH] Add new connection editor
---
.../connection-editor/cc-connection-editor.c | 617 ++++++++++
......@@ -3952,7 +3952,7 @@ index 000000000..cf3f19083
+</interface>
diff --git a/panels/network/connection-editor/ce-security-page.c b/panels/network/connection-editor/ce-security-page.c
new file mode 100644
index 000000000..73ec8466b
index 000000000..0641e2d2a
--- /dev/null
+++ b/panels/network/connection-editor/ce-security-page.c
@@ -0,0 +1,759 @@
......@@ -4212,17 +4212,17 @@ index 000000000..73ec8466b
+ g_assert (G_IS_OBJECT (object));
+ method = g_object_get_data (G_OBJECT (object), "value");
+
+ gtk_widget_hide (GTK_WIDGET (self->wpa_password_row));
+ gtk_widget_hide (GTK_WIDGET (self->wep_password_row));
+ self->has_error = FALSE;
+
+ if (g_str_equal (method, "wpa"))
+ {
+ gtk_widget_hide (GTK_WIDGET (self->wep_password_row));
+ gtk_widget_show (GTK_WIDGET (self->wpa_password_row));
+ wpa_password_changed_cb (self);
+ }
+ else if (g_str_has_prefix (method, "wep"))
+ {
+ gtk_widget_hide (GTK_WIDGET (self->wpa_password_row));
+ gtk_widget_show (GTK_WIDGET (self->wep_password_row));
+ wep_password_changed_cb (self);
+ }
......@@ -4919,5 +4919,5 @@ index 9ba9b3784..67e342f1f 100644
'connection-editor.ui',
'details-page.ui',
--
2.23.0
2.24.0.rc1
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment