After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 336820 - Sessions cannot be deleted
Sessions cannot be deleted
Status: RESOLVED FIXED
Product: gnome-session
Classification: Core
Component: gnome-session
2.14.x
Other Linux
: Normal normal
: ---
Assigned To: Session Maintainers
Session Maintainers
: 350833 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-04-01 12:24 UTC by Sebastien Bacher
Modified: 2006-08-11 10:15 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to fix gnome-session-capplet (2.20 KB, patch)
2006-04-27 19:48 UTC, Don Scorgie
none Details | Review

Description Sebastien Bacher 2006-04-01 12:24:17 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.
..."
Comment 1 Don Scorgie 2006-04-27 19:48:41 UTC
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).
Comment 2 David Planella 2006-05-05 17:34:29 UTC
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.
Comment 3 Baptiste Mille-Mathias 2006-05-10 21:18:21 UTC
Regarding previous comment, is this fix can be commited for next bugfix release ?
Comment 4 Claudio Saavedra 2006-06-30 11:02:53 UTC
Patch fixes the bug and looks sane to me. Can we commit it?
Comment 5 Vincent Untz 2006-07-26 14:57:15 UTC
thanks. Fixed in HEAD.
Comment 6 Vincent Untz 2006-08-11 10:15:48 UTC
*** Bug 350833 has been marked as a duplicate of this bug. ***