Re: multimedia columns in list view
- From: Cosimo Cecchi <cosimoc gnome org>
- To: yelo_3 <yelo_3 yahoo it>
- Cc: Christian Kirbach <christian kirbach googlemail com>, nautilus-list gnome org, "A. Walton" <awalton gnome org>
- Subject: Re: multimedia columns in list view
- Date: Fri, 20 Jun 2008 00:52:54 +0200
On Fri, 2008-06-20 at 00:39 +0200, yelo_3 wrote:
> I noticed that there is no documentation :( I'm trying to code
> something, by now I managed to add a column, but I can't understand
> how to fill it with something :D
>
> In particular I don't understand what
> GType nautilus_column_provider_get_type(void)
> GList *nautilus_column_provider_get_columns(NautilusColumnProvider *provider)
> have to do.
NautilusColumnProvider is an interface that the extension has to
implement in order to add new columns. This means that in your extension
you create a NautilusColumnProvider subclass, create some new columns
with nautilus_column_new () and export them by implementing the
nautilus_column_provider_get_columns () method in your custom subclass.
> can you point me to an example of nautilus column extension?
By googling a bit I found this [1]. Anyway, you can look at any
extension for an example of how providers usually work, as the above
mechanism is the same for any provider.
[1]
http://code.google.com/p/gvcs-client/source/browse/trunk/nautilus-svn/src/nautilus-svn.c
--
Cosimo
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]