Check if SeriesFinale is already running
authorJuan A. Suarez Romero <jasuarez@igalia.com>
Wed, 23 Feb 2011 22:59:44 +0000 (22:59 +0000)
committerJoaquim Rocha <jrocha@igalia.com>
Tue, 1 Mar 2011 07:28:27 +0000 (08:28 +0100)
commitaa4cd2e946afd19608f40a23d6a9c68a48e24aed
treedb77487068790140c2e4b694cfbadf0eeaecfc5b
parentcb09f62e315fa6e85177b3656f73edae3cf6ae12
Check if SeriesFinale is already running

When launching SF, it checks if a previous instance is still running. If so, it
shows a banner telling it and waits until the previous instance finalizes.

Users can close the waiting instance if they launched it by mistake.

This avoids the problem of having two running instances, that can potentially
overwrite the same DB and therefore loose user changes.
src/SeriesFinale/gui.py
src/SeriesFinale/lib/constants.py