Skip to content
This repository has been archived by the owner on Dec 4, 2020. It is now read-only.

Commit

Permalink
Don't show package manager button on linux jails
Browse files Browse the repository at this point in the history
  • Loading branch information
Kris Moore committed Aug 21, 2013
1 parent 84878ce commit bd52c24
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src-qt4/warden-gui/dialogwarden.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit bd52c24

Please sign in to comment.