Add a way to remove the "switch user" button in Ubuntu's dialog logout

Bug #75265 reported by Guillaume Desmottes on 2006-12-10
2
Affects Status Importance Assigned to Milestone
gnome-session
Fix Released
Wishlist
gnome-session (Ubuntu)
Wishlist
Ubuntu Desktop Bugs

Bug Description

We need a way to disable the "switch user" button in the dialog logout.

We could add a /apps/panel/global/disable_switch_user key or use the one of gnome-screensaver (/apps/gnome-screensaver/user_switch_enabled).
IMHO a new key would be better.

Guillaume Desmottes (cassidy) wrote :

After looking in source code, i discovered that this dialog is in gnome-session. :)

Guillaume Desmottes (cassidy) wrote :

After some discussion on IRC, we agreed it would be cleaner to see with upstream (libgnome2) and a global key: /desktop/gnome/lockdown/disable_user_switching

Sebastien Bacher (seb128) wrote :

Thank you for your bug, that's a good idea

Changed in gnome-session:
assignee: nobody → desktop-bugs
importance: Undecided → Wishlist
status: Unconfirmed → Confirmed
Guillaume Desmottes (cassidy) wrote :

I submited a upstream patch to add the gconf key.
http://bugzilla.gnome.org/show_bug.cgi?id=385119

Guillaume Desmottes (cassidy) wrote :

I diff logout.c after patching it using package's patches.
This patch was made using Edgy (gnome-session-2.16.1)

Changed in gnome-session:
status: Unknown → Unconfirmed
Sebastien Bacher (seb128) wrote :

Thank you for the patch, that upload fixes the bug:

 gnome-session (2.17.3-0ubuntu2) feisty; urgency=low
 .
   * debian/patches/11_session_dialog.patch:
     - make the dialog respect "/apps/panel/global/disable_lock_screen",
       patch by Guillaume Desmottes (Ubuntu: #50761)
     - make the dialog respect "/desktop/gnome/lockdown/disable_user_switching",
       patch by Guillaume Desmottes (Ubuntu: #75265)
     - update tooltips on "grab-focus" event, fix tooltip not updated when
       navigating with keyboard, patch by Vassilis Pandis (Ubuntu: #58967)

Changed in gnome-session:
status: Confirmed → Fix Released
Changed in gnome-session:
status: Unconfirmed → Fix Released
Changed in gnome-session:
importance: Unknown → Wishlist
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Patches

Remote bug watches

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