Re: Re:Bookmarks and searches



On Sat, 2006-01-14 at 12:49 +0100, Reinout van Schouwen wrote:
> On Sat, 14 Jan 2006, Peter Harvey wrote:
> 
> > Normal) and adding an extension that adds more configurations. We would
> > use different EggToolbarModels for each configuration and just switch
> > between them.
> >
> > Thoughts?
> 
> Yeah. I think that simply creating another user on the system and su'ing 
> as required is a much simpler and elegant solution. :-) We'll even have 
> fast graphical user switching in GNOME 2.14 I believe...

Seems like overkill to have multiple user accounts. What I'm suggesting
is this:

We create named objects called EphyWindowConfigurations which stores
information like "which toolbar model" and "are we fullscreen or not"
and "do we have a status bar" and "show popup windows". By default there
are two EphyWindowConfigurations - Normal and Fullscreen. Via an
extension a user would be permitted to create more configurations. All
configurations are listed in the View menu.

Each EphyWindow should hold a weak ref to an EphyWindowConfiguration
object. The window initially reads the configuration object to determine
how it should display. If the user changes something (like hides the
statusbar) the window writes that new information into the
EphyWindowConfiguration. If the user selects a different configuration
from the View menu then the window reads the different configuration
object and adjusts its display accordingly.

The idea is that a user can have multiple window configurations
(Fullscreen, Work, Fun, Search, etc) and switch between them. The
configurations store all information pertinent to how the window acts,
and changes to a configuration are used by new windows.

This would obviously go after the coming release. But does it sound like
a decent idea?

Peter.





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