Re: gnome desktop integration library
- From: JP Rosevear <jpr novell com>
- To: Havoc Pennington <hp redhat com>
- Cc: Rodrigo Moya <rodrigo gnome-db org>, Vincent Untz <vuntz gnome org>, Control Center List <gnomecc-list gnome org>, desktop-devel-list gnome org, Mark McLoughlin <mark skynet ie>
- Subject: Re: gnome desktop integration library
- Date: Wed, 06 Sep 2006 13:21:40 -0400
On Tue, 2006-09-05 at 21:16 -0400, Havoc Pennington wrote:
> Hi,
>
> To be slightly more constructive, I was thinking on the drive home, why
> wouldn't there be something like:
>
> interface GdkSession {
> signal "online-changed"
> signal "screensaver-changed"
> signal "idleness-changed"
> signal "logging-out"
>
> /* plus getters for all those states */
> }
>
> GdkSession* gdk_display_get_session(GdkDisplay *display);
>
> This seems to cover lots of the issues raised. It would obviously have
> platform-specific backend, which could be dbus, or anything else that works.
>
> I'd add a session management API to that too if I didn't think session
> management was useless and broken ;-) (beyond the logging-out signal there)
I would guess this would better live as GSession in glib for non-gui
daemons and the like.
-JP
--
JP Rosevear <jpr novell com>
Novell, Inc.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]