summaryrefslogtreecommitdiff
path: root/mate-panel
diff options
context:
space:
mode:
authorScott Balneaves <[email protected]>2017-03-17 12:27:58 -0500
committerScott Balneaves <[email protected]>2017-03-17 12:27:58 -0500
commit9144f83b9a564a317eaa352b3a1ad5247ec855b7 (patch)
treee126299b97b125fea0e56c65b77f3ca78d2a9850 /mate-panel
parent7f8cb7edfd085e5320c5182cd8bfe113b05c4b98 (diff)
downloadmate-panel-9144f83b9a564a317eaa352b3a1ad5247ec855b7.tar.bz2
mate-panel-9144f83b9a564a317eaa352b3a1ad5247ec855b7.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
Diffstat (limited to 'mate-panel')
-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 0e758254..a7754652 100644
--- a/mate-panel/panel-menu-items.c
+++ b/mate-panel/panel-menu-items.c
@@ -1646,7 +1646,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);