Permalink
Browse files

Don't show package manager button on linux jails

  • Loading branch information...
kmoore134 committed Aug 21, 2013
1 parent 84878ce commit bd52c243fa13b12d6c380010fa46b1089298cd65
Showing with 2 additions and 0 deletions.
  1. +2 −0 src-qt4/warden-gui/dialogwarden.cpp
@@ -1133,11 +1133,13 @@ void dialogWarden::refreshJailDetailsView()
// Depending upon the type of jail, we may need to hide stuff
if ( jailDetails.at(i).at(2) == "Linux Jail" ) {
pushServiceGUI->setHidden(true);
+ pushPackageManager->setHidden(true);
pushUserAdmin->setHidden(true);
pushUpdate->setHidden(true);
tabJail->setTabEnabled(3, false);
} else {
pushServiceGUI->setHidden(false);
+ pushPackageManager->setHidden(false);
pushUserAdmin->setHidden(false);
pushUpdate->setHidden(false);
tabJail->setTabEnabled(3, true);

0 comments on commit bd52c24

Please sign in to comment.