From 8c25e1bdd328a8712735c0b00cf4aede7993da1d Mon Sep 17 00:00:00 2001 From: Oliver Grawert Date: Mon, 13 Oct 2008 16:53:28 +0200 Subject: Suppress the shutdown option in the panel if LTSP_CLIENT is set --- mate-panel/panel-menu-items.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mate-panel/panel-menu-items.c b/mate-panel/panel-menu-items.c index e39fa567..bd234de9 100644 --- a/mate-panel/panel-menu-items.c +++ b/mate-panel/panel-menu-items.c @@ -1603,7 +1603,7 @@ panel_menu_items_append_lock_logout (GtkWidget *menu) } item = panel_menu_items_create_action_item (PANEL_ACTION_SHUTDOWN); - if (item != NULL) { + if (item != NULL && !g_getenv("LTSP_CLIENT")) { if (!separator_inserted) add_menu_separator (menu); -- cgit v1.2.1