should hide shutdown action on ltsp clients

Bug #282669 reported by Oliver Grawert
4
Affects Status Importance Assigned to Milestone
gnome-panel (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

Binary package hint: gnome-panel

with teh split into two dialogs for logout and shutdown in the system menu the shutdown item should be hidden on ltsp clients, as it is a no-op anyway for remote users.

with the following change in panel-menu-items.c the issue is fixed

        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);

                gtk_menu_shell_append (GTK_MENU_SHELL (menu), item);
        }

Related branches

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-panel - 1:2.24.0-0ubuntu4

---------------
gnome-panel (1:2.24.0-0ubuntu4) intrepid; urgency=low

  * add 85_disable_shutdown_on_ltsp.patch, to suppress the shutdown option in
    the panel if LTSP_CLIENT is set. (LP: #282669)

 -- Oliver Grawert <email address hidden> Mon, 13 Oct 2008 16:53:28 +0200

Changed in gnome-panel:
status: New → Fix Released
Changed in gnome-panel:
importance: Undecided → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.