[zenity/gtk4-port: 17/25] Reintegrate help changes after prior revert.




commit ea1bb47f52b410240e5572ffee11e5316e017b99
Author: Logan Rathbone <poprocks gmail com>
Date:   Tue Feb 16 12:57:03 2021 -0500

    Reintegrate help changes after prior revert.

 help/C/l10n.txt          | 0
 help/C/notification.page | 8 ++++++--
 help/C/usage.page        | 8 --------
 3 files changed, 6 insertions(+), 10 deletions(-)
---
diff --git a/help/C/l10n.txt b/help/C/l10n.txt
old mode 100755
new mode 100644
diff --git a/help/C/notification.page b/help/C/notification.page
index f7ff3c95..37a0d982 100644
--- a/help/C/notification.page
+++ b/help/C/notification.page
@@ -14,6 +14,10 @@
       <title><cmd>--text</cmd>=<var>text</var></title>
       <p>Specifies the text that is displayed in the notification area.</p>
     </item>
+    <item>
+      <title><cmd>--icon</cmd>=<var>text</var></title>
+      <p>Set the notification icon using a string containing either a filename, or a string conforming to 
the FreeDesktop.org Icon Naming Specification.</p>
+    </item>
     <item>
       <title><cmd>--listen</cmd>=icon: '<var>text</var>', message: '<var>text</var>', tooltip: 
'<var>text</var>', visible: '<var>text</var>',</title>
       <p>Listens for commands at standard input. At least one command must be specified. Commands are comma 
separated. A command must be followed by a colon and a value. </p>
@@ -27,8 +31,8 @@
   <code>
   #!/bin/sh
 
-  zenity --notification\
-    --window-icon="info" \
+  zenity --notification \
+    --icon="dialog-information" \
     --text="There are system updates necessary!"
   </code>
 
diff --git a/help/C/usage.page b/help/C/usage.page
index 8aa88cc8..c219eedc 100644
--- a/help/C/usage.page
+++ b/help/C/usage.page
@@ -120,14 +120,6 @@
        <p>Specifies the title of a dialog.</p>
       </item>
 
-      <item>
-        <title><cmd>--window-icon</cmd>=<var>icon_path</var></title>
-       <p>Specifies the icon that is displayed in the window frame of the dialog. There are
-             4 stock icons also available by providing the following keywords - 'info', 'warning', 
'question' and
-             'error'.
-        </p>
-      </item>
-
       <item>
         <title><cmd>--width</cmd>=<var>width</var></title>
        <p>Specifies the width of the dialog.</p>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]