[Xfce4-commits] [xfce/thunar] 03/04: Update docs

noreply at xfce.org noreply at xfce.org
Thu Nov 2 04:40:37 CET 2017


This is an automated email from the git hooks/post-receive script.

a   n   d   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository xfce/thunar.

commit a1cfb2baf6196659f38c4401f21f5b04fdd09862
Author: Andre Miranda <andreldm at xfce.org>
Date:   Mon Oct 23 23:11:29 2017 -0300

    Update docs
---
 docs/reference/thunarx/thunarx-docs.xml     |  8 +++++---
 docs/reference/thunarx/thunarx-sections.txt | 21 +++++++++++++++++++++
 2 files changed, 26 insertions(+), 3 deletions(-)

diff --git a/docs/reference/thunarx/thunarx-docs.xml b/docs/reference/thunarx/thunarx-docs.xml
index 3fc60d3..61e0b75 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 86a34b6..7eceb0c 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

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list