~ubuntu-branches/ubuntu/precise/zenity/precise-updates

« back to all changes in this revision

Viewing changes to help/oc/notification.page

  • Committer: Package Import Robot
  • Author(s): Robert Ancell
  • Date: 2012-03-29 14:50:15 UTC
  • mfrom: (1.1.45)
  • Revision ID: package-import@ubuntu.com-20120329145015-p6jkb44cf19r2qyi
Tags: 3.4.0-0ubuntu1
* New upstream release:
  - Add support for lists and trees with --forms
  - Fix warning reading list from stdin
* debian/zenity-common.install:
  - Doesn't install omf files anymore

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="utf-8"?>
 
2
<page xmlns="http://projectmallard.org/1.0/" type="topic" id="notification" xml:lang="oc">
 
3
  <info>
 
4
    <link type="guide" xref="index#dialogs"/>
 
5
    <desc>Use the <cmd>--notification</cmd> option.</desc>
 
6
  </info>
 
7
  <title>Icòna de notificacion</title>
 
8
    <p>
 
9
        Use the <cmd>--notification</cmd> option to create a notification icon.
 
10
    </p>
 
11
 
 
12
    <terms>
 
13
 
 
14
      <item>
 
15
        <title><cmd>--text</cmd>=<var>text</var></title>
 
16
          <p>Specifies the text that is displayed in the notification area.</p>
 
17
      </item>
 
18
 
 
19
    </terms>
 
20
 
 
21
    <p>
 
22
      The following example script shows how to create a notification icon:
 
23
    </p>
 
24
<code>
 
25
#!/bin/sh
 
26
 
 
27
zenity --notification\
 
28
  --window-icon="info" \
 
29
  --text="There are system updates necessary!"
 
30
</code>
 
31
 
 
32
 
 
33
    <figure id="zenity-notification-screenshot">
 
34
      <title>Exemple d'icòna de notificacion</title>
 
35
      <desc><app>Zenity</app> notification icon example</desc>
 
36
      <media type="image" mime="image/png" src="figures/zenity-notification-screenshot.png"/>
 
37
   </figure>
 
38
</page>