summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAndre Miranda <andreldm@xfce.org>2017-10-23 23:11:29 -0300
committerAndre Miranda <andreldm@xfce.org>2017-11-02 00:40:10 -0300
commita1cfb2baf6196659f38c4401f21f5b04fdd09862 (patch)
treedeaf6e3b6d743122ee9f2f3ecc6e9a0bae30d6f1 /docs
parent0fa8145c7f024a134966200ef86741115c9db3a1 (diff)
downloadthunar-a1cfb2baf6196659f38c4401f21f5b04fdd09862.tar.gz
Update docs
Diffstat (limited to 'docs')
-rw-r--r--docs/reference/thunarx/thunarx-docs.xml8
-rw-r--r--docs/reference/thunarx/thunarx-sections.txt21
2 files changed, 26 insertions, 3 deletions
diff --git a/docs/reference/thunarx/thunarx-docs.xml b/docs/reference/thunarx/thunarx-docs.xml
index 3fc60d3e..61e0b75c 100644
--- a/docs/reference/thunarx/thunarx-docs.xml
+++ b/docs/reference/thunarx/thunarx-docs.xml
@@ -3,6 +3,7 @@
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
<!ENTITY ThunarxFileInfo SYSTEM "xml/thunarx-file-info.xml">
+<!ENTITY ThunarxMenuItem SYSTEM "xml/thunarx-menu-item.xml">
<!ENTITY ThunarxMenuProvider SYSTEM "xml/thunarx-menu-provider.xml">
<!ENTITY ThunarxPreferencesProvider SYSTEM "xml/thunarx-preferences-provider.xml">
<!ENTITY ThunarxPropertyPage SYSTEM "xml/thunarx-property-page.xml">
@@ -160,7 +161,7 @@
items to the file views, the <link
linkend="ThunarxPropertyPageProvider"><type>ThunarxPropertyPageProvider</type></link> for adding pages to the
file properties dialog, the <link
- linkend="ThunarxPreferencesProvider"><type>ThunarxPreferencesProvider</type></link> for adding actions to the
+ linkend="ThunarxPreferencesProvider"><type>ThunarxPreferencesProvider</type></link> for adding items to the
preferences section of the main menu, and the <link
linkend="ThunarxRenamerProvider"><type>ThunarxRenamerProvider</type></link> for adding renamers to the bulk
rename dialog.
@@ -192,7 +193,7 @@
<para>
Most objects created by the extensions need names, e.g. the <link linkend="ThunarxMenuItem"><type>ThunarxMenuItem</type></link>s
returned from the <link linkend="ThunarxMenuProvider"><type>ThunarxMenuProvider</type></link>s. These names must be
- namespaced with the name of the extension. For example the main action returned from the
+ namespaced with the name of the extension. For example the main item returned from the
<application>TexOpenTerminal</application> extension (which can be found in the <filename
role="directory">examples/tex-open-terminal</filename> subdirectory of the Thunar distribution) should be called
<literal>TexOpenTerminal::open-terminal</literal>. The namespace must be global among the providers exported by
@@ -450,6 +451,7 @@ thunar_extension_initialize (ThunarxProviderPlugin *plugin)
</para>
&ThunarxFileInfo;
+ &ThunarxMenuItem;
&ThunarxPropertyPage;
&ThunarxProviderPlugin;
&ThunarxRenamer;
@@ -469,7 +471,7 @@ thunar_extension_initialize (ThunarxProviderPlugin *plugin)
library that describe the functionality provided by a certain extension. For
example, when the file manager pops up the file context menu, it'll first lookup
all extensions that implement the interface <interface>ThunarxMenuProvider</interface>
- ask those extensions for the list of additional actions.
+ ask those extensions for the list of additional menu items.
</para>
<para>
diff --git a/docs/reference/thunarx/thunarx-sections.txt b/docs/reference/thunarx/thunarx-sections.txt
index 86a34b69..7eceb0ce 100644
--- a/docs/reference/thunarx/thunarx-sections.txt
+++ b/docs/reference/thunarx/thunarx-sections.txt
@@ -31,6 +31,27 @@ thunarx_file_info_list_get_type
</SECTION>
<SECTION>
+<FILE>thunarx-menu-item</FILE>
+<TITLE>ThunarxMenuItem</TITLE>
+ThunarxMenuItem
+thunarx_menu_item_new
+thunarx_menu_item_activate
+thunarx_menu_item_get_sensitive
+thunarx_menu_item_set_sensitive
+<SUBSECTION Standard>
+ThunarxMenuItemClass
+THUNARX_TYPE_MENU_ITEM
+THUNARX_MENU_ITEM
+THUNARX_MENU_ITEM_CLASS
+THUNARX_IS_MENU_ITEM
+THUNARX_IS_MENU_ITEM_CLASS
+THUNARX_MENU_ITEM_GET_CLASS
+<SUBSECTION Private>
+ThunarxMenuItemPrivate
+thunarx_menu_item_get_type
+</SECTION>
+
+<SECTION>
<FILE>thunarx-menu-provider</FILE>
<TITLE>ThunarxMenuProvider</TITLE>
ThunarxMenuProviderIface