diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/entry.c | 2 | ||||
-rw-r--r-- | src/msg.c | 5 |
2 files changed, 4 insertions, 3 deletions
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"); @@ -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 (); |