summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Balneaves <[email protected]>2017-03-17 12:27:58 -0500
committermonsta <[email protected]>2017-03-20 12:31:53 +0300
commit603fa8b49c1f6366461a2595716272c0ff3de7a5 (patch)
tree80964729b4c6990e928a86162a8e89fa143ae71a
parent8dcde1c91a62bc958d44ab8352a1ac1313c5dddd (diff)
downloadmate-panel-603fa8b49c1f6366461a2595716272c0ff3de7a5.tar.bz2
mate-panel-603fa8b49c1f6366461a2595716272c0ff3de7a5.tar.xz
Revert "Suppress the shutdown option in the panel if LTSP_CLIENT is set"
This reverts commit 8c25e1bdd328a8712735c0b00cf4aede7993da1d. LTSP no longer requires this, and it in fact prevents LTSP machines from shutting down. Closes https://github.com/mate-desktop/mate-panel/issues/535
-rw-r--r--mate-panel/panel-menu-items.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mate-panel/panel-menu-items.c b/mate-panel/panel-menu-items.c
index e16e9edc..b4915e79 100644
--- a/mate-panel/panel-menu-items.c
+++ b/mate-panel/panel-menu-items.c
@@ -1647,7 +1647,7 @@ panel_menu_items_append_lock_logout (GtkWidget *menu)
}
item = panel_menu_items_create_action_item (PANEL_ACTION_SHUTDOWN);
- if (item != NULL && !g_getenv("LTSP_CLIENT")) {
+ if (item != NULL) {
if (!separator_inserted)
add_menu_separator (menu);