GNOME Bugzilla – Bug 336820
Sessions cannot be deleted
Last modified: 2006-08-11 10:15:48 UTC
That bug has been opened on https://launchpad.net/distros/ubuntu/+source/gnome-session/+bug/36738 "Package: gnome-session Version: 2.14.0-0ubuntu1 Severity: normal System->Preferences->Sessions. Add a new Session and select it. The session can not be deleted (Delete and Edit buttons are dimmed). Breezy allows to delete sessions. ..."
Created attachment 64419 [details] [review] Patch to fix gnome-session-capplet The problem is from the last commit. When the selection is changed, the capplet checks if 3 buttons are available in the current view: Edit, Delete and Enable. If these don't exist, return immediately. In the session view (1st tab), the Enable button doesn't exist, so the function returns without doing anything. This patch fixes things up to actually enable the other buttons and deal with the Enable button properly on its own (avoiding the crasher that the commit fixed).
After applying the patch to gnome-session 2.14.1-0ubuntu3 on my Ubuntu Dapper system, the buttons seem to be working as expected now.
Regarding previous comment, is this fix can be commited for next bugfix release ?
Patch fixes the bug and looks sane to me. Can we commit it?
thanks. Fixed in HEAD.
*** Bug 350833 has been marked as a duplicate of this bug. ***