Commit 76ec55fa authored by Dan Winship's avatar Dan Winship

connection-editor: keep track of the NMRemoteSettings on CEPage

parent d12d4073
......@@ -570,6 +570,7 @@ ce_page_new (GType page_type,
NMConnection *connection,
GtkWindow *parent_window,
NMClient *client,
NMRemoteSettings *settings,
const char *ui_file,
const char *widget_name,
const char *title)
......@@ -587,6 +588,7 @@ ce_page_new (GType page_type,
NULL));
self->title = g_strdup (title);
self->client = client;
self->settings = settings;
if (ui_file) {
if (!gtk_builder_add_from_file (self->builder, ui_file, &error)) {
......
......@@ -75,6 +75,7 @@ typedef struct {
NMConnection *connection;
GtkWindow *parent_window;
NMClient *client;
NMRemoteSettings *settings;
gboolean disposed;
} CEPage;
......@@ -145,6 +146,7 @@ CEPage *ce_page_new (GType page_type,
NMConnection *connection,
GtkWindow *parent_window,
NMClient *client,
NMRemoteSettings *settings,
const char *ui_file,
const char *widget_name,
const char *title);
......
......@@ -115,6 +115,7 @@ ce_page_8021x_security_new (NMConnection *connection,
connection,
parent_window,
client,
settings,
NULL,
NULL,
_("802.1x Security")));
......
......@@ -741,6 +741,7 @@ ce_page_bond_new (NMConnection *connection,
connection,
parent_window,
client,
settings,
UIDIR "/ce-page-bond.ui",
"BondPage",
_("Bond")));
......
......@@ -135,6 +135,7 @@ ce_page_dsl_new (NMConnection *connection,
connection,
parent_window,
client,
settings,
UIDIR "/ce-page-dsl.ui",
"DslPage",
_("DSL")));
......
......@@ -245,6 +245,7 @@ ce_page_ethernet_new (NMConnection *connection,
connection,
parent_window,
client,
settings,
UIDIR "/ce-page-ethernet.ui",
"EthernetPage",
_("Ethernet")));
......
......@@ -162,6 +162,7 @@ ce_page_infiniband_new (NMConnection *connection,
connection,
parent_window,
client,
settings,
UIDIR "/ce-page-infiniband.ui",
"InfinibandPage",
_("InfiniBand")));
......
......@@ -988,6 +988,7 @@ ce_page_ip4_new (NMConnection *connection,
connection,
parent_window,
client,
settings,
UIDIR "/ce-page-ip4.ui",
"IP4Page",
_("IPv4 Settings")));
......
......@@ -952,6 +952,7 @@ ce_page_ip6_new (NMConnection *connection,
connection,
parent_window,
client,
settings,
UIDIR "/ce-page-ip6.ui",
"IP6Page",
_("IPv6 Settings")));
......
......@@ -383,6 +383,7 @@ ce_page_mobile_new (NMConnection *connection,
connection,
parent_window,
client,
settings,
UIDIR "/ce-page-mobile.ui",
"MobilePage",
_("Mobile Broadband")));
......
......@@ -278,6 +278,7 @@ ce_page_ppp_new (NMConnection *connection,
connection,
parent_window,
client,
settings,
UIDIR "/ce-page-ppp.ui",
"PppPage",
_("PPP Settings")));
......
......@@ -107,6 +107,7 @@ ce_page_vpn_new (NMConnection *connection,
connection,
parent_window,
client,
settings,
NULL,
NULL,
_("VPN")));
......
......@@ -401,6 +401,7 @@ ce_page_wifi_security_new (NMConnection *connection,
connection,
parent_window,
client,
settings,
UIDIR "/ce-page-wifi-security.ui",
"WifiSecurityPage",
_("Wi-Fi Security")));
......
......@@ -433,6 +433,7 @@ ce_page_wifi_new (NMConnection *connection,
connection,
parent_window,
client,
settings,
UIDIR "/ce-page-wifi.ui",
"WifiPage",
_("Wi-Fi")));
......
......@@ -128,6 +128,7 @@ ce_page_wimax_new (NMConnection *connection,
connection,
parent_window,
client,
settings,
UIDIR "/ce-page-wimax.ui",
"WimaxPage",
_("WiMAX")));
......
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