diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-03-22 10:22:57 +0800 |
---|---|---|
committer | Michael Meeks <michael.meeks@novell.com> | 2010-04-07 19:13:36 +0800 |
commit | 13fb16f2793ee91099b1f2960c1875896991f1c4 (patch) | |
tree | 9d5832e48bd514baeb24e158db0693f5a1202f7f /doc | |
parent | 83e36a49baa491609bda692e36006123a7aa079f (diff) | |
download | gsoc2013-evolution-13fb16f2793ee91099b1f2960c1875896991f1c4.tar.gz gsoc2013-evolution-13fb16f2793ee91099b1f2960c1875896991f1c4.tar.zst gsoc2013-evolution-13fb16f2793ee91099b1f2960c1875896991f1c4.zip |
Demonstrate extending the EExtension API.
Introduce e_extensible_list_extensions(), which provides extensible
objects access to their own extensions, or a subset of them.
Convert EShellBackend to an abstract EExtension subtype. EShell will
load its extensions with e_extensible_load_extensions(), and then obtain
a list of EShellBackend extensions as follows:
shell_backends = e_extensible_list_extensions (
E_EXTENSIBLE (shell), E_TYPE_SHELL_BACKEND);
Because EShellBackend is abstract, its GType is skipped while traversing
the GType hierarchy to find EShell extensions.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/reference/shell/eshell-sections.txt | 1 | ||||
-rw-r--r-- | doc/reference/shell/tmpl/e-extensible.sgml | 10 | ||||
-rw-r--r-- | doc/reference/shell/tmpl/e-shell-backend.sgml | 5 | ||||
-rw-r--r-- | doc/reference/shell/tmpl/eshell-unused.sgml | 6 |
4 files changed, 17 insertions, 5 deletions
diff --git a/doc/reference/shell/eshell-sections.txt b/doc/reference/shell/eshell-sections.txt index 776d08d13f..f25d7c7ff3 100644 --- a/doc/reference/shell/eshell-sections.txt +++ b/doc/reference/shell/eshell-sections.txt @@ -445,6 +445,7 @@ e_dialog_combo_box_get <TITLE>Extensible</TITLE> EExtensible e_extensible_load_extensions +e_extensible_list_extensions <SUBSECTION Standard> E_EXTENSIBLE E_IS_EXTENSIBLE diff --git a/doc/reference/shell/tmpl/e-extensible.sgml b/doc/reference/shell/tmpl/e-extensible.sgml index de8e8e140c..80bf8f0da4 100644 --- a/doc/reference/shell/tmpl/e-extensible.sgml +++ b/doc/reference/shell/tmpl/e-extensible.sgml @@ -31,3 +31,13 @@ Extensible @extensible: +<!-- ##### FUNCTION e_extensible_list_extensions ##### --> +<para> + +</para> + +@extensible: +@extension_type: +@Returns: + + diff --git a/doc/reference/shell/tmpl/e-shell-backend.sgml b/doc/reference/shell/tmpl/e-shell-backend.sgml index 79456dcfea..76bf06c58e 100644 --- a/doc/reference/shell/tmpl/e-shell-backend.sgml +++ b/doc/reference/shell/tmpl/e-shell-backend.sgml @@ -31,11 +31,6 @@ EShellBackend @eshellbackend: the object which received the signal. @arg1: -<!-- ##### ARG EShellBackend:shell ##### --> -<para> - -</para> - <!-- ##### FUNCTION e_shell_backend_compare ##### --> <para> diff --git a/doc/reference/shell/tmpl/eshell-unused.sgml b/doc/reference/shell/tmpl/eshell-unused.sgml index 8769407347..ef0cb974c4 100644 --- a/doc/reference/shell/tmpl/eshell-unused.sgml +++ b/doc/reference/shell/tmpl/eshell-unused.sgml @@ -509,6 +509,12 @@ intelligent </para> +<!-- ##### ARG EShellBackend:shell ##### --> +<para> + +</para> + + <!-- ##### ARG EShellContent:filter-action ##### --> <para> |