GNOME Bugzilla – Bug 580897
Kill libgnomeui/gnome-client
Last modified: 2009-09-18 16:02:18 UTC
http://live.gnome.org/LibgnomeMustDie ./shell/main.c:#include <libgnomeui/gnome-client.h> ./calendar/gui/alarm-notify/notify-main.c:#include <libgnomeui/gnome-client.h>
These are needed for dealing with the desktop session manager. See: http://library.gnome.org/devel/libgnomeui/unstable/GnomeClient.html Not sure what replaces this. Some of my RH desktop teammates probably know.
A general problem... If you find out, please do add to the wikipage.
Matthew, are bug 580423 comment 3 and following comments helpful? :-/
Possibly. A D-Bus API for session management is certainly the right approach. Thought what we need is not a logout command but -notification- of logout. I'll take a closer look at gnome-session and see what else it's got. Perhaps I could prototype D-Bus logout notification on the kill-bonobo branch and then merge it early.
EggSmClient is your friend.
Thanks Vincent, I knew there was an API out there somewhere: http://live.gnome.org/SessionManagement/EggSMClient So I guess we could grow an optional libegg dependency until EggSMClient lands somewhere official.
(In reply to comment #6) > So I guess we could grow an optional libegg dependency until EggSMClient lands > somewhere official. Strike that. I guess libegg code is typically copied into apps.
Matt just said he's on it on his kill-bonobo branch, thus I consider it done ;)
Got the shell converted on the kill-bonobo branch: http://git.gnome.org/cgit/evolution/commit/?h=kill-bonobo&id=10eab2350036e1c36377c93d31472125b3e7c8c7 http://git.gnome.org/cgit/evolution/commit/?h=kill-bonobo&id=e5b7a6d28cc37cb037a4a80481bbd23d99c558d0 That leaves the alarm-notify daemon.
I converted the alarm-notify daemon to an autostart program, so the session takes care of it. It does not need to worry about session management itself. http://git.gnome.org/cgit/evolution/commit/?id=3f1448b0119585493e1d213af9afde5faf50cb2c That was the last case, so closing as FIXED.