-
-
Notifications
You must be signed in to change notification settings - Fork 455
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support of X Session Management Protocol #164
Comments
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... Uri Please consider the environment before printing this message. On Mar 10, 2013, at 2:08 PM, MagicMuscleMan notifications@github.com 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 — |
Add a way to save per-session state data in ~/.config/git-cola/sessions/. This is a pre-requisite for git-cola#164. Signed-off-by: David Aguilar <davvid@gmail.com>
Add a -session argument and implement QApplication::commitData so that git-cola remembers its state across logout/reboot. Closes git-cola#164 Closes git-cola#244 Suggested-by: @MagicMuscleMan in git-cola#164 Helped-by: @Koblaid in git-cola#244 Signed-off-by: David Aguilar <davvid@gmail.com>
Add a way to save per-session state data in ~/.config/git-cola/sessions/. This is a pre-requisite for git-cola#164. Signed-off-by: David Aguilar <davvid@gmail.com>
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).
The text was updated successfully, but these errors were encountered: