Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
thunar
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ikem Krueger
thunar
Commits
a1cfb2ba
Commit
a1cfb2ba
authored
7 years ago
by
Andre Miranda
Browse files
Options
Downloads
Patches
Plain Diff
Update docs
parent
0fa8145c
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/reference/thunarx/thunarx-docs.xml
+5
-3
5 additions, 3 deletions
docs/reference/thunarx/thunarx-docs.xml
docs/reference/thunarx/thunarx-sections.txt
+21
-0
21 additions, 0 deletions
docs/reference/thunarx/thunarx-sections.txt
with
26 additions
and
3 deletions
docs/reference/thunarx/thunarx-docs.xml
+
5
−
3
View file @
a1cfb2ba
...
@@ -3,6 +3,7 @@
...
@@ -3,6 +3,7 @@
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
<!ENTITY ThunarxFileInfo SYSTEM "xml/thunarx-file-info.xml">
<!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 ThunarxMenuProvider SYSTEM "xml/thunarx-menu-provider.xml">
<!ENTITY ThunarxPreferencesProvider SYSTEM "xml/thunarx-preferences-provider.xml">
<!ENTITY ThunarxPreferencesProvider SYSTEM "xml/thunarx-preferences-provider.xml">
<!ENTITY ThunarxPropertyPage SYSTEM "xml/thunarx-property-page.xml">
<!ENTITY ThunarxPropertyPage SYSTEM "xml/thunarx-property-page.xml">
...
@@ -160,7 +161,7 @@
...
@@ -160,7 +161,7 @@
items to the file views, the
<link
items to the file views, the
<link
linkend=
"ThunarxPropertyPageProvider"
><type>
ThunarxPropertyPageProvider
</type></link>
for adding pages to the
linkend=
"ThunarxPropertyPageProvider"
><type>
ThunarxPropertyPageProvider
</type></link>
for adding pages to the
file properties dialog, the
<link
file properties dialog, the
<link
linkend=
"ThunarxPreferencesProvider"
><type>
ThunarxPreferencesProvider
</type></link>
for adding
action
s to the
linkend=
"ThunarxPreferencesProvider"
><type>
ThunarxPreferencesProvider
</type></link>
for adding
item
s to the
preferences section of the main menu, and the
<link
preferences section of the main menu, and the
<link
linkend=
"ThunarxRenamerProvider"
><type>
ThunarxRenamerProvider
</type></link>
for adding renamers to the bulk
linkend=
"ThunarxRenamerProvider"
><type>
ThunarxRenamerProvider
</type></link>
for adding renamers to the bulk
rename dialog.
rename dialog.
...
@@ -192,7 +193,7 @@
...
@@ -192,7 +193,7 @@
<para>
<para>
Most objects created by the extensions need names, e.g. the
<link
linkend=
"ThunarxMenuItem"
><type>
ThunarxMenuItem
</type></link>
s
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
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
<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
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
<literal>
TexOpenTerminal::open-terminal
</literal>
. The namespace must be global among the providers exported by
...
@@ -450,6 +451,7 @@ thunar_extension_initialize (ThunarxProviderPlugin *plugin)
...
@@ -450,6 +451,7 @@ thunar_extension_initialize (ThunarxProviderPlugin *plugin)
</para>
</para>
&ThunarxFileInfo;
&ThunarxFileInfo;
&ThunarxMenuItem;
&ThunarxPropertyPage;
&ThunarxPropertyPage;
&ThunarxProviderPlugin;
&ThunarxProviderPlugin;
&ThunarxRenamer;
&ThunarxRenamer;
...
@@ -469,7 +471,7 @@ thunar_extension_initialize (ThunarxProviderPlugin *plugin)
...
@@ -469,7 +471,7 @@ thunar_extension_initialize (ThunarxProviderPlugin *plugin)
library that describe the functionality provided by a certain extension. For
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
example, when the file manager pops up the file context menu, it'll first lookup
all extensions that implement the interface
<interface>
ThunarxMenuProvider
</interface>
all extensions that implement the interface
<interface>
ThunarxMenuProvider
</interface>
ask those extensions for the list of additional
action
s.
ask those extensions for the list of additional
menu item
s.
</para>
</para>
<para>
<para>
...
...
This diff is collapsed.
Click to expand it.
docs/reference/thunarx/thunarx-sections.txt
+
21
−
0
View file @
a1cfb2ba
...
@@ -30,6 +30,27 @@ thunarx_file_info_get_type
...
@@ -30,6 +30,27 @@ thunarx_file_info_get_type
thunarx_file_info_list_get_type
thunarx_file_info_list_get_type
</SECTION>
</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>
<SECTION>
<FILE>thunarx-menu-provider</FILE>
<FILE>thunarx-menu-provider</FILE>
<TITLE>ThunarxMenuProvider</TITLE>
<TITLE>ThunarxMenuProvider</TITLE>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment