Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: use Ducktype to generate mallard #1346

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ requires:
- libsm
- libwnck3
- make
- mallard-ducktype
- mate-common
- mate-desktop
- mate-menus
Expand All @@ -31,6 +32,7 @@ requires:
- clang
- clang-tools
- cppcheck
- ducktype
- gir1.2-freedesktop
- git
- gobject-introspection
Expand Down Expand Up @@ -78,6 +80,7 @@ requires:
- mate-desktop-devel
- mate-menus-devel
- meson
- python3-mallard-ducktype
- redhat-rpm-config
- yelp-tools

Expand All @@ -86,6 +89,7 @@ requires:
- autopoint
- clang
- clang-tools
- ducktype
- gir1.2-freedesktop
- git
- gobject-introspection
Expand Down
28 changes: 28 additions & 0 deletions help/mate-fish/C/fish-introduction.duck
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
@ducktype/1.0
@define applet Fish

= Introduction
[topic #fish-introduction]
@link[guide >index group="fish-introduction"]

[figure id=fish-fig]
[title]
$applet; Applet

$media[image src=figures/fish_applet.png]

The $app($applet;) applet displays an animated fish in the panel. You can customize the fish's name and the program that is run when the fish is clicked in the panel. By default, the program that is run when the fish is clicked is $app(Fortune), which displays a usually comical random message from a database of quotations.

You can customize the image shown and the command that is run when it is clicked.

== To Add $applet; to a Panel
[topic #fish-introduction-add]
@link[guide groups="fish-introduction"]

Perform the following steps:

[steps]
* Right-click on the panel.
* Choose $gui[.menuitem](Add to Panel).
* Scroll down the list of items in the $gui(Add to Panel) dialog, then select $gui(Fish).
* Click $gui[.button](Add).
27 changes: 27 additions & 0 deletions help/mate-fish/C/fish-settings.duck
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
@ducktype/1.0
@define applet Fish

= Preferences
[topic #fish-settings]
@link[guide >index group="fish-settings"]

To configure $app($applet;), right-click on the $app($applet;) applet, then choose $gui[.menu](Preferences).

[terms]
- $gui(Name of fish)
* Use this text box to specify the name of the fish.

- $gui(Command to run when clicked)
* By default, $app($applet;) runs the $cmd(fortune) command when you click on the applet. Use this text box to specify an alternative command to run.

- $gui(File)
* Use this field to select the image to display in the applet. You can select an image that is supplied with the applet or a personal image.

- $gui(Total frames in animation)
* Use this spin box to specify the number of frames in the animation.

- $gui(Pause per frame)
* Use this spin box to specify the pause in seconds between each frame in the animation.

- $gui(Rotate on vertical panels)
* Select this option to rotate the applet image when you add the applet to a vertical panel.
7 changes: 7 additions & 0 deletions help/mate-fish/C/fish-usage.duck
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
@ducktype/1.0

= Usage
[topic #fish-usage]
@link[guide >index group="fish-usage"]

Click on the applet to display the $gui(Wanda the Fish) dialog. The dialog typically displays a fortune cookie. You can configure the applet to specify the command to run when you click on the applet. See $link[>fish-settings] for more information.
287 changes: 0 additions & 287 deletions help/mate-fish/C/index.docbook

This file was deleted.

Loading