From c41421c043ec92da0936ca8005f3e7841abd19cd Mon Sep 17 00:00:00 2001 From: Glynn Foster Date: Sat, 18 Jan 2003 18:30:52 +0000 Subject: Add some screenshots for the help documentation. 2003-01-18 Glynn Foster * 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. --- ChangeLog | 16 ++++++++++++++++ help/C/figures/zenity-calendar-screenshot.png | Bin 0 -> 16251 bytes help/C/figures/zenity-entry-screenshot.png | Bin 0 -> 6357 bytes help/C/figures/zenity-error-screenshot.png | Bin 0 -> 7214 bytes help/C/figures/zenity-fileselection-screenshot.png | Bin 0 -> 20965 bytes help/C/figures/zenity-information-screenshot.png | Bin 0 -> 8804 bytes help/C/figures/zenity-list-screenshot.png | Bin 0 -> 17694 bytes help/C/figures/zenity-progress-screenshot.png | Bin 0 -> 7280 bytes help/C/figures/zenity-question-screenshot.png | Bin 0 -> 10455 bytes help/C/figures/zenity-text-screenshot.png | Bin 0 -> 15419 bytes help/C/figures/zenity-warning-screenshot.png | Bin 0 -> 9222 bytes src/entry.c | 2 +- src/msg.c | 5 +++-- 13 files changed, 20 insertions(+), 3 deletions(-) create mode 100644 help/C/figures/zenity-calendar-screenshot.png create mode 100644 help/C/figures/zenity-entry-screenshot.png create mode 100644 help/C/figures/zenity-error-screenshot.png create mode 100644 help/C/figures/zenity-fileselection-screenshot.png create mode 100644 help/C/figures/zenity-information-screenshot.png create mode 100644 help/C/figures/zenity-list-screenshot.png create mode 100644 help/C/figures/zenity-progress-screenshot.png create mode 100644 help/C/figures/zenity-question-screenshot.png create mode 100644 help/C/figures/zenity-text-screenshot.png create mode 100644 help/C/figures/zenity-warning-screenshot.png diff --git a/ChangeLog b/ChangeLog index 79b6664..9cb482a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,19 @@ +2003-01-18 Glynn Foster + + * 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 * help/C/zenity.xml: Only some examples and some screenshots diff --git a/help/C/figures/zenity-calendar-screenshot.png b/help/C/figures/zenity-calendar-screenshot.png new file mode 100644 index 0000000..9058931 Binary files /dev/null and b/help/C/figures/zenity-calendar-screenshot.png differ diff --git a/help/C/figures/zenity-entry-screenshot.png b/help/C/figures/zenity-entry-screenshot.png new file mode 100644 index 0000000..2726664 Binary files /dev/null and b/help/C/figures/zenity-entry-screenshot.png differ diff --git a/help/C/figures/zenity-error-screenshot.png b/help/C/figures/zenity-error-screenshot.png new file mode 100644 index 0000000..36720d6 Binary files /dev/null and b/help/C/figures/zenity-error-screenshot.png differ diff --git a/help/C/figures/zenity-fileselection-screenshot.png b/help/C/figures/zenity-fileselection-screenshot.png new file mode 100644 index 0000000..6c0f47c Binary files /dev/null and b/help/C/figures/zenity-fileselection-screenshot.png differ diff --git a/help/C/figures/zenity-information-screenshot.png b/help/C/figures/zenity-information-screenshot.png new file mode 100644 index 0000000..3dad60d Binary files /dev/null and b/help/C/figures/zenity-information-screenshot.png differ diff --git a/help/C/figures/zenity-list-screenshot.png b/help/C/figures/zenity-list-screenshot.png new file mode 100644 index 0000000..7f36824 Binary files /dev/null and b/help/C/figures/zenity-list-screenshot.png differ diff --git a/help/C/figures/zenity-progress-screenshot.png b/help/C/figures/zenity-progress-screenshot.png new file mode 100644 index 0000000..56ba2a3 Binary files /dev/null and b/help/C/figures/zenity-progress-screenshot.png differ diff --git a/help/C/figures/zenity-question-screenshot.png b/help/C/figures/zenity-question-screenshot.png new file mode 100644 index 0000000..1ed334d Binary files /dev/null and b/help/C/figures/zenity-question-screenshot.png differ diff --git a/help/C/figures/zenity-text-screenshot.png b/help/C/figures/zenity-text-screenshot.png new file mode 100644 index 0000000..4efee26 Binary files /dev/null and b/help/C/figures/zenity-text-screenshot.png differ diff --git a/help/C/figures/zenity-warning-screenshot.png b/help/C/figures/zenity-warning-screenshot.png new file mode 100644 index 0000000..fe6ffce Binary files /dev/null and b/help/C/figures/zenity-warning-screenshot.png differ diff --git a/src/entry.c b/src/entry.c index 81fc2c5..3578788 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 cc1f092..5c73af0 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 (); -- cgit v1.2.3-2-g168b