summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlynn Foster <glynn.foster@sun.com>2003-01-18 18:30:52 +0000
committerGlynn Foster <gman@src.gnome.org>2003-01-18 18:30:52 +0000
commitc41421c043ec92da0936ca8005f3e7841abd19cd (patch)
treee7fc3ecac448c82a1609a6637f696819cef35c61
parentOnly some examples and some screenshots and we're mostly done for a first (diff)
downloadzenity-c41421c043ec92da0936ca8005f3e7841abd19cd.tar.gz
zenity-c41421c043ec92da0936ca8005f3e7841abd19cd.tar.bz2
zenity-c41421c043ec92da0936ca8005f3e7841abd19cd.zip
Add some screenshots for the help documentation.
2003-01-18 Glynn Foster <glynn.foster@sun.com> * help/C/figures/zenity-calendar-screenshot.png, help/C/figures/zenity-entry-screenshot.png, help/C/figures/zenity-error-screenshot.png, help/C/figures/zenity-fileselection-screenshot.png, help/C/figures/zenity-information-screenshot.png, help/C/figures/zenity-list-screenshot.png, help/C/figures/zenity-progress-screenshot.png, help/C/figures/zenity-question-screenshot.png, help/C/figures/zenity-text-screenshot.png, help/C/figures/zenity-warning-screenshot.png: Add some screenshots for the help documentation. * src/entry.c, src/msg.c: Don't set the text if it's NULL.
-rw-r--r--ChangeLog16
-rw-r--r--help/C/figures/zenity-calendar-screenshot.pngbin0 -> 16251 bytes
-rw-r--r--help/C/figures/zenity-entry-screenshot.pngbin0 -> 6357 bytes
-rw-r--r--help/C/figures/zenity-error-screenshot.pngbin0 -> 7214 bytes
-rw-r--r--help/C/figures/zenity-fileselection-screenshot.pngbin0 -> 20965 bytes
-rw-r--r--help/C/figures/zenity-information-screenshot.pngbin0 -> 8804 bytes
-rw-r--r--help/C/figures/zenity-list-screenshot.pngbin0 -> 17694 bytes
-rw-r--r--help/C/figures/zenity-progress-screenshot.pngbin0 -> 7280 bytes
-rw-r--r--help/C/figures/zenity-question-screenshot.pngbin0 -> 10455 bytes
-rw-r--r--help/C/figures/zenity-text-screenshot.pngbin0 -> 15419 bytes
-rw-r--r--help/C/figures/zenity-warning-screenshot.pngbin0 -> 9222 bytes
-rw-r--r--src/entry.c2
-rw-r--r--src/msg.c5
13 files changed, 20 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 79b6664e..9cb482ae 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,21 @@
2003-01-18 Glynn Foster <glynn.foster@sun.com>
+ * help/C/figures/zenity-calendar-screenshot.png,
+ help/C/figures/zenity-entry-screenshot.png,
+ help/C/figures/zenity-error-screenshot.png,
+ help/C/figures/zenity-fileselection-screenshot.png,
+ help/C/figures/zenity-information-screenshot.png,
+ help/C/figures/zenity-list-screenshot.png,
+ help/C/figures/zenity-progress-screenshot.png,
+ help/C/figures/zenity-question-screenshot.png,
+ help/C/figures/zenity-text-screenshot.png,
+ help/C/figures/zenity-warning-screenshot.png: Add some
+ screenshots for the help documentation.
+
+ * src/entry.c, src/msg.c: Don't set the text if it's NULL.
+
+2003-01-18 Glynn Foster <glynn.foster@sun.com>
+
* help/C/zenity.xml: Only some examples and some screenshots
and we're mostly done for a first draft.
diff --git a/help/C/figures/zenity-calendar-screenshot.png b/help/C/figures/zenity-calendar-screenshot.png
new file mode 100644
index 00000000..90589317
--- /dev/null
+++ b/help/C/figures/zenity-calendar-screenshot.png
Binary files differ
diff --git a/help/C/figures/zenity-entry-screenshot.png b/help/C/figures/zenity-entry-screenshot.png
new file mode 100644
index 00000000..27266649
--- /dev/null
+++ b/help/C/figures/zenity-entry-screenshot.png
Binary files differ
diff --git a/help/C/figures/zenity-error-screenshot.png b/help/C/figures/zenity-error-screenshot.png
new file mode 100644
index 00000000..36720d65
--- /dev/null
+++ b/help/C/figures/zenity-error-screenshot.png
Binary files differ
diff --git a/help/C/figures/zenity-fileselection-screenshot.png b/help/C/figures/zenity-fileselection-screenshot.png
new file mode 100644
index 00000000..6c0f47cc
--- /dev/null
+++ b/help/C/figures/zenity-fileselection-screenshot.png
Binary files differ
diff --git a/help/C/figures/zenity-information-screenshot.png b/help/C/figures/zenity-information-screenshot.png
new file mode 100644
index 00000000..3dad60d6
--- /dev/null
+++ b/help/C/figures/zenity-information-screenshot.png
Binary files differ
diff --git a/help/C/figures/zenity-list-screenshot.png b/help/C/figures/zenity-list-screenshot.png
new file mode 100644
index 00000000..7f368243
--- /dev/null
+++ b/help/C/figures/zenity-list-screenshot.png
Binary files differ
diff --git a/help/C/figures/zenity-progress-screenshot.png b/help/C/figures/zenity-progress-screenshot.png
new file mode 100644
index 00000000..56ba2a37
--- /dev/null
+++ b/help/C/figures/zenity-progress-screenshot.png
Binary files differ
diff --git a/help/C/figures/zenity-question-screenshot.png b/help/C/figures/zenity-question-screenshot.png
new file mode 100644
index 00000000..1ed334d0
--- /dev/null
+++ b/help/C/figures/zenity-question-screenshot.png
Binary files differ
diff --git a/help/C/figures/zenity-text-screenshot.png b/help/C/figures/zenity-text-screenshot.png
new file mode 100644
index 00000000..4efee26a
--- /dev/null
+++ b/help/C/figures/zenity-text-screenshot.png
Binary files differ
diff --git a/help/C/figures/zenity-warning-screenshot.png b/help/C/figures/zenity-warning-screenshot.png
new file mode 100644
index 00000000..fe6ffce9
--- /dev/null
+++ b/help/C/figures/zenity-warning-screenshot.png
Binary files differ
diff --git a/src/entry.c b/src/entry.c
index 81fc2c5e..3578788e 100644
--- a/src/entry.c
+++ b/src/entry.c
@@ -56,7 +56,7 @@ zenity_entry (ZenityData *data, ZenityEntryData *entry_data)
if (data->window_icon)
zenity_util_set_window_icon (dialog, data->window_icon);
else
- /* FIXME: Come up with a nice default window icon */;
+ zenity_util_set_window_icon (dialog, ZENITY_IMAGE_FULLPATH ("zenity-entry.png"));
text = glade_xml_get_widget (glade_dialog, "zenity_entry_text");
diff --git a/src/msg.c b/src/msg.c
index cc1f0924..5c73af0b 100644
--- a/src/msg.c
+++ b/src/msg.c
@@ -103,8 +103,9 @@ zenity_msg (ZenityData *data, ZenityMsgData *msg_data)
break;
}
}
-
- gtk_label_set_text (GTK_LABEL (text), msg_data->dialog_text);
+
+ if (msg_data->dialog_text)
+ gtk_label_set_text (GTK_LABEL (text), msg_data->dialog_text);
gtk_widget_show (dialog);
gtk_main ();
bgstack15