[gnome-control-center/gnome-3-8] network: Mark connection editor as changed when appropriate



commit f806ebdc25475ebe030ee2c573ea2a52b297b808
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Aug 30 23:12:44 2013 -0400

    network: Mark connection editor as changed when appropriate
    
    We were forgetting to do so when toggling the 'Only use for resources
    on its network' checkbox.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=703959

 panels/network/connection-editor/ce-page-ip4.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/panels/network/connection-editor/ce-page-ip4.c b/panels/network/connection-editor/ce-page-ip4.c
index a7f1124..287241c 100644
--- a/panels/network/connection-editor/ce-page-ip4.c
+++ b/panels/network/connection-editor/ce-page-ip4.c
@@ -641,6 +641,7 @@ connect_ip4_page (CEPageIP4 *page)
         page->never_default = GTK_WIDGET (gtk_builder_get_object (CE_PAGE (page)->builder, 
"never_default_check"));
         gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (page->never_default),
                                       nm_setting_ip4_config_get_never_default (page->setting));
+        g_signal_connect_swapped (page->never_default, "toggled", G_CALLBACK (ce_page_changed), page);
 
         g_signal_connect (page->method, "changed", G_CALLBACK (method_changed), page);
         if (method != IP4_METHOD_SHARED && method != IP4_METHOD_DISABLED)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]