[gnome-control-center] user-accounts: let realmd prefil the DHCP domain if it's joinable



commit 12da80928ef846b5aa0e0f098808695d58df1f3a
Author: Ondrej Holy <oholy redhat com>
Date:   Thu Aug 15 14:31:05 2013 +0200

    user-accounts: let realmd prefil the DHCP domain if it's joinable
    
    https://bugzilla.gnome.org/show_bug.cgi?id=704407

 panels/user-accounts/um-account-dialog.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/panels/user-accounts/um-account-dialog.c b/panels/user-accounts/um-account-dialog.c
index 4490cdd..2c9993d 100644
--- a/panels/user-accounts/um-account-dialog.c
+++ b/panels/user-accounts/um-account-dialog.c
@@ -25,7 +25,6 @@
 #include <glib/gi18n.h>
 #include <gtk/gtk.h>
 #include <act/act.h>
-#include <resolv.h>
 
 #include "um-account-dialog.h"
 #include "um-realm-manager.h"
@@ -1307,10 +1306,6 @@ enterprise_init (UmAccountDialog *self,
         g_signal_connect (widget, "changed", G_CALLBACK (on_entry_changed), self);
         self->enterprise_password = GTK_ENTRY (widget);
 
-        /* Initialize enterprise domain from DHCP. */
-        res_init ();
-        gtk_entry_set_text (self->enterprise_domain_entry, _res.defdname);
-
         /* Initially we hide the 'Enterprise Login' stuff */
         widget = self->enterprise_button;
         gtk_widget_hide (widget);


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