summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorGlynn Foster <glynn.foster@sun.com>2004-09-13 07:51:51 +0000
committerGlynn Foster <gman@src.gnome.org>2004-09-13 07:51:51 +0000
commit3e05834b4c23a5d5951403719b8594ff3d9fe30b (patch)
treef35532d3b2d0adb7ca74cd7c224c58c250d0ec62 /data
parent03f3e5b060977c9566bd66bc8e4eaac14c4ee781 (diff)
Add new notification icon. Update for new files. Restructure code a little
2004-09-13 Glynn Foster <glynn.foster@sun.com> * data/Makefile.am, data/zenity-notification.png: Add new notification icon. * src/Makefile.am: Update for new files. * src/about.c, src/calendar.c, src/entry.c, src/fileselection.c, src/progress.c, src/text.c, src/tree.c, src/msg.c: Restructure code a little bit for new utility functions for setting window icons. * src/eggtrayicon.c, src/eggtrayicon.h: New files for notification area support. * src/main.c, src/notification.c, src/util.c, src/util.h, src/zenity.h: Add support for notification area. * data/zenity.1, help/*: Update docs for notification and new file selection changes.
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am3
-rw-r--r--data/zenity-notification.pngbin0 -> 898 bytes
-rw-r--r--data/zenity.114
3 files changed, 16 insertions, 1 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index aade652..fd71b4e 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -14,7 +14,8 @@ images_DATA = \
zenity-file.png \
zenity-progress.png \
zenity-text.png \
- zenity-entry.png
+ zenity-entry.png \
+ zenity-notification.png
man_MANS = zenity.1
diff --git a/data/zenity-notification.png b/data/zenity-notification.png
new file mode 100644
index 0000000..6b44ef9
--- /dev/null
+++ b/data/zenity-notification.png
Binary files differ
diff --git a/data/zenity.1 b/data/zenity.1
index 17f6eab..3949899 100644
--- a/data/zenity.1
+++ b/data/zenity.1
@@ -43,6 +43,9 @@ Display info dialog
.B \-\-list
Display list dialog
.TP
+.B \-\-notification
+Display notification icon
+.TP
.B \-\-progress
Display progress indication dialog
.TP
@@ -153,6 +156,13 @@ Specify what column to print to standard output. The default is to return
the first column. 'ALL' may be used to print all columns.
.PP
+Notification options
+
+.TP
+.B \-\-text=STRING
+Set the notification text
+
+.PP
Progress options
.TP
@@ -230,6 +240,10 @@ and the text \fIFinding all header files...\fP.
.IP
find . -name '*.h' | zenity --title "Search Results" --text "Finding all header files.." --column "Files"
.PP
+Show an icon in the notification area
+.IP
+zenity --notification --window-icon=update.png --text "System update necessary!"
+.PP
Display a weekly shopping list in a check list dialog with \fIApples\fP and \fIOranges\fP pre selected
.IP
zenity --list --checklist --column "Buy" --column "Item" TRUE Apples TRUE Oranges FALSE Pears FALSE Toothpaste