GNOME Bugzilla – Bug 305510
Trying to run Sabayon from an edit window to edit that same profile causes the edit window to go away
Last modified: 2007-09-19 19:52:13 UTC
1) Start Sabayon 2) Add new profile 3) Edit profile 4) In edit window, start Sabayon 5) Select the same profile 6) Select "Edit" 7) Window goes away As to what I expected, I wasn't expecting to be allowed to run Sabayon recursively. But I couldn't resist.
Heh, not entirely sure what we're going to do about this. Perhaps create a dummy applications menu with <Exclude><Filename>sabayon.desktop</Filename></Exclude> and use $XDG_CONFIG_DIRS to point to it Would need to consider how that would interact with any menu editing you do in the session, though.
Simpler fix might be to just set an env variable (e.g. $SABAYON_SESSION_RUNNING) and sabayon might pop up an error dialog if that env variable is set. (i.e. you get an error dialog if you run Sabayon from within a Sabayon prototype session)
Okay, fixed on HEAD now: 2005-06-13 Mark McLoughlin <markmc@redhat.com> Don't allow running Sabayon within a Sabayon session. Fixes bug #305510 * lib/protosession.py: (ProtoSession.__start_session): set $SABAYON_SESSION_RUNNING * admin-tool/sabayon: pop up an error dialog if $SABAYON_SESSION_RUNNING is set.