Re: Sharing widgets between GNOME 3 applications

On Mon, 2012-05-07 at 13:45 +0000, Debarshi Ray wrote:
> The newly designed (or redesigned) GNOME 3 applications have some
> common UI elements. For example, if you look at the following designs,
> you will notice that the main toolbar, "selection" toolbar, main icon
> view, etc. are quite similar: +
> +
> +
> We may benefit from having a way to share these widgets among the
> applications.  Currently, what I have been doing, for gnome-photos, is
> to copy-paste the *.c/*.h files from the gnome-documents tree.
> One downside of doing this is that the gnome-photos binary has some
> dead code which will never be executed. For example the code path that
> implements the "list view" for Documents, which is not necessary for
> Photos. So all the classes implementing it need to be copied over into
> the gnome-photos tree to avoid maintaining a fork of the GdMainView
> widget.
> Currently it is not so much of a practical problem, but I am curious
> to know if people have better ideas about this.

If you write any new custom widgets, feel free to add them to:

See also 2 widgets I'm trying to get added to GTK+:


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