Control properties



Hi,

I'm trying to make the Eye of Gnome image viewing programm Bonobo aware,
so that it uses components to view images instead of build-in code. For
this purpose the eog-image-viewer from the eog/viewer directory is used.
It works fairly well, but I encountered a problem, which is probably a
more general one:

What is the right way to configure bonobo-controls from a user-point of
view?

Currently the eog-image-view control puts its own dropdown menu into the
container menubar to configure the look&feel (e.g. interpolation algorithm
to use). This is totaly independent from the container, but it's looking
pretty ugly, doesn't really fit into the menubar structure and is not very
user-friendly. Also the settings aren't stored via gconf.

The other (and IMO better) way is to provide a nice container-side
configuration dialog (like the one in the non-bonobo aware Eog) and set
the values via property bags for the control.  But then the container and
control are bound tight together and the generality is lost. What if the
user decides to use another image-viewing component?

Maybe I'm thinking completely the wrong way and overlook something
obvious. Can someone enlighten me on this topic? Has anybody suggestions
about "The Right Way"?

Regards,

   Jens










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