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.
This commit is contained in:
Glynn Foster 2003-01-18 18:30:52 +00:00 committed by Glynn Foster
parent 18760d406d
commit c41421c043
13 changed files with 20 additions and 3 deletions

View File

@ -1,3 +1,19 @@
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

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 KiB

View File

@ -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");

View File

@ -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 ();