From 96813948c1ceee59be105bdf7a79f77db103fe5c Mon Sep 17 00:00:00 2001 From: mltownsend Date: Sun, 14 Feb 2010 05:23:13 +0000 Subject: Made Available Privs table not enabled unless a schema is selected. --- Interfaces/English.lproj/UserManagerView.xib | 17 ++++++++--------- Source/SPUserManager.m | 6 +++++- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/Interfaces/English.lproj/UserManagerView.xib b/Interfaces/English.lproj/UserManagerView.xib index 890d5dc7..004453c6 100644 --- a/Interfaces/English.lproj/UserManagerView.xib +++ b/Interfaces/English.lproj/UserManagerView.xib @@ -21,7 +21,7 @@ YES - + YES @@ -436,7 +436,7 @@ General - + 256 YES @@ -565,7 +565,6 @@ {{10, 33}, {480, 414}} - General @@ -1399,7 +1398,7 @@ Schema Privileges - + 256 YES @@ -1677,7 +1676,6 @@ 256 {104, 363} - YES 256 @@ -1699,7 +1697,7 @@ 40 1000 - 75628096 + 612499008 2048 Available Privilige @@ -1710,7 +1708,7 @@ - 337772096 + 874643008 2048 Text Cell @@ -1846,6 +1844,7 @@ {{10, 33}, {480, 414}} + Schema Privileges @@ -2122,13 +2121,13 @@ - + 0 YES YES - + diff --git a/Source/SPUserManager.m b/Source/SPUserManager.m index e81ca2a2..cc4baae5 100644 --- a/Source/SPUserManager.m +++ b/Source/SPUserManager.m @@ -1229,8 +1229,12 @@ } } } + [availableTableView setEnabled:YES]; } - } + } else { + [availableTableView setEnabled:NO]; + } + } else if ([notification object] == grantedTableView) { -- cgit v1.2.3