Re: gnome desktop integration library



On Wed, 2006-09-06 at 15:26 -0400, David Zeuthen wrote:
> Hi Havoc,
> 
> 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.
<snip>
> Not sure how this fit into the Win32 / Mac OS X / etc. story of GTK+
> cross platform - last thing I want is GTK+ trying to abstract the
> o.g.PowerManager and o.g.ScreenSaver abstractions. Rather, let's review
> said D-BUS interfaces and make sure they work on e.g. Win32 too. 

Well, I'd love to not to see this reimplemented in every application
that tries to simply inhibit the screensaver. See:
http://bugzilla.gnome.org/show_bug.cgi?id=305688

Why would I need to reimplement this on X/GNOME, MacOS X, and Windows
myself, when other applications that do "presentations" would need the
same APIs?

-- 
Bastien Nocera <hadess hadess net>




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]