After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 580897 - Kill libgnomeui/gnome-client
Kill libgnomeui/gnome-client
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: general
2.26.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: Evolution Shell Maintainers Team
Evolution QA team
evolution[cleanup] evolution[kill-bon...
Depends on:
Blocks: 580887
 
 
Reported: 2009-04-30 15:25 UTC by André Klapper
Modified: 2009-09-18 16:02 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description André Klapper 2009-04-30 15:25:20 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>
Comment 1 Matthew Barnes 2009-05-01 02:37:50 UTC
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.
Comment 2 André Klapper 2009-05-01 09:56:25 UTC
A general problem... If you find out, please do add to the wikipage.
Comment 3 André Klapper 2009-05-03 19:47:32 UTC
Matthew, are bug 580423 comment 3 and following comments helpful? :-/
Comment 4 Matthew Barnes 2009-05-04 15:24:42 UTC
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.
Comment 5 Vincent Untz 2009-05-04 16:05:22 UTC
EggSmClient is your friend.
Comment 6 Matthew Barnes 2009-05-04 16:41:28 UTC
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.
Comment 7 Matthew Barnes 2009-05-04 17:11:50 UTC
(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.
Comment 8 Milan Crha 2009-07-21 18:04:42 UTC
Matt just said he's on it on his kill-bonobo branch, thus I consider it done ;)
Comment 10 Matthew Barnes 2009-09-18 16:02:18 UTC
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.