Re: Fast User Switch Applet development



On Mon, 2007-02-12 at 14:15 -0500, Thomas Thurman wrote:
> On 12/02/07, Calvin Gaisford <cgaisford novell com> wrote:
> > Has there been any discussion on making the Fusa functionality available
> > in other components?  I've been playing around with the code and have
> > created a library and dialog that borrows heavily from the fusa code
> > base.  I'd hate to duplicate this code all over the place and would like
> > to propose an addition that would allow other desktop components to
> > display a switch user UI.
> >
> > There are a bunch of ways this could be done (small application,
> > library, dbus interfaces into fusa, maybe all three?) but I'd like to
> > start a discussion about it.
> 
> What would a dbus interface to fusa do that an interface to gdm
> wouldn't? After all, fusa is nothing but a bunch of code to do applet
> stuff and a bunch of code to talk to gdm. Very recently, gdm itself
> has added a dbus interface, and I'm working on making fusa use that.
> So what you want is probably to talk to gdm directly.

The dbus interface was just an idea to get the applet to popup a
switching UI... perhaps not that useful if a library is created.  Beyond
the applet and gdm code, fusa has some nice code to retrieve switchable
users with their icons, names, and active logins.  It would be nice to
share that code through a library so other components don't have to copy
or reproduce it.




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