Re: gnome desktop integration library



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]