aboutsummaryrefslogtreecommitdiff
path: root/source/WindowsFormsApplication1/Shifter.cs
diff options
context:
space:
mode:
Diffstat (limited to 'source/WindowsFormsApplication1/Shifter.cs')
-rw-r--r--source/WindowsFormsApplication1/Shifter.cs11
1 files changed, 10 insertions, 1 deletions
diff --git a/source/WindowsFormsApplication1/Shifter.cs b/source/WindowsFormsApplication1/Shifter.cs
index e54eee1..43ba200 100644
--- a/source/WindowsFormsApplication1/Shifter.cs
+++ b/source/WindowsFormsApplication1/Shifter.cs
@@ -605,7 +605,16 @@ namespace ShiftOS
pnldesktoppaneloptions.Show();
pnldesktoppaneloptions.BringToFront();
SetupDesktopPanelValues();
-
+ if(API.Upgrades["advanceddesktop"])
+ {
+ lbpanelcolor.Hide();
+ pnldesktoppanelcolour.Hide();
+ lbheight.Hide();
+ txtdesktoppanelheight.Hide();
+ lbposition.Hide();
+ combodesktoppanelposition.Hide();
+ lbwarning.Text = "Desktop Panel customization has been moved from the Shifter! You can right-click panels to change their settings and add/remove widgets.";
+ }
}
private void btnapply_Click(object sender, EventArgs e)