svn commit: samba r2915 - in branches/SAMBA_4_0/source/gtk/tools: .
jelmer at samba.org
jelmer at samba.org
Mon Oct 11 14:15:26 GMT 2004
Author: jelmer
Date: 2004-10-11 14:15:25 +0000 (Mon, 11 Oct 2004)
New Revision: 2915
WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/gtk/tools&rev=2915&nolog=1
Log:
Open domain first before enumerating users and groups
Modified:
branches/SAMBA_4_0/source/gtk/tools/gwsam.c
Changeset:
Modified: branches/SAMBA_4_0/source/gtk/tools/gwsam.c
===================================================================
--- branches/SAMBA_4_0/source/gtk/tools/gwsam.c 2004-10-11 14:07:20 UTC (rev 2914)
+++ branches/SAMBA_4_0/source/gtk/tools/gwsam.c 2004-10-11 14:15:25 UTC (rev 2915)
@@ -26,6 +26,7 @@
struct dcerpc_pipe *sam_pipe = NULL;
struct policy_handle domain_handle;
GtkWidget *mainwin;
+GtkWidget *seldomain;
void update_grouplist(void)
{
@@ -96,6 +97,10 @@
return;
}
domain_handle = gtk_select_domain_dialog_get_handle(d);
+
+ update_userlist();
+ update_grouplist();
+
gtk_widget_destroy(GTK_WIDGET(d));
}
@@ -140,10 +145,8 @@
return;
}
+ gtk_widget_set_sensitive (seldomain, TRUE);
gtk_widget_destroy(GTK_WIDGET(d));
-
- update_userlist();
- update_grouplist();
}
void
@@ -216,7 +219,6 @@
GtkWidget *new1;
GtkWidget *separatormenuitem1;
GtkWidget *quit;
- GtkWidget *seldomain;
GtkWidget *policies;
GtkWidget *policies_menu;
GtkWidget *account;
More information about the samba-cvs
mailing list