Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Support of X Session Management Protocol #164
git-cola should support the X Session Management Protocol (XSMP). This protocol is used to reload an application which was open during session log-out at the next log-in on most UNIX desktops. Correctly implemented, git-cola does not only get reloaded, it does also load the correct git repository again. The lack of this feature is especially awkward, when using KDE's activities.
Please see http://www.x.org/releases/X11R7.7/doc/libSM/xsmp.html for more information about XSMP (contains implementation advise).
Thanks for the link to the docs. I think this would be a nice feature, though I don't know very much about how to register for these messages. git-cola uses PyQt4 so if there are any Python or Qt4 examples then that would be a big help. KDE is all Qt so I would imagine there's something somewhere that shows how to do it.
So qt has a QSessionManager class for dealing with this stuff. Here is info
And the QSessionManager:
Hope that's enough...
Please consider the environment before printing this message.
On Mar 10, 2013, at 2:08 PM, MagicMuscleMan firstname.lastname@example.org
git-cola should support the X Session Management Protocol (XSMP). This
Please see http://www.x.org/releases/X11R7.7/doc/libSM/xsmp.html for more