diff options
author | Trent Lloyd <lathiat@bur.st> | 2004-05-25 17:09:33 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@src.gnome.org> | 2004-05-25 17:09:33 +0800 |
commit | f0374055952ee8530779273c56cdaf904e4624a6 (patch) | |
tree | e1aa18671e02f7c865c7f411b38bd813317edc76 /calendar/gui/dialogs/delete-error.c | |
parent | eacf97930e8312c7d4d291589053312bca42d46e (diff) | |
download | gsoc2013-evolution-f0374055952ee8530779273c56cdaf904e4624a6.tar.gz gsoc2013-evolution-f0374055952ee8530779273c56cdaf904e4624a6.tar.zst gsoc2013-evolution-f0374055952ee8530779273c56cdaf904e4624a6.zip |
Fixes: #57472
2004-05-25 Trent Lloyd <lathiat@bur.st>
Fixes: #57472
* gui/dialogs/alarm-options.c:
* gui/dialogs/calendar-setup.c:
* gui/dialogs/cancel-comp.c:
* gui/dialogs/changed-comp.c:
* gui/dialogs/delete-comp.c:
* gui/dialogs/delete-error.c:
* gui/dialogs/save-comp.c:
* gui/dialogs/select-source-dialog.c:
* gui/dialogs/send-comp.c
* gui/dialogs/url-editor-dialog.c:
- Add include of e-icon-factory.h
- Set icon on window to be calendar/tasks icon rather than mail icon
svn path=/trunk/; revision=26073
Diffstat (limited to 'calendar/gui/dialogs/delete-error.c')
-rw-r--r-- | calendar/gui/dialogs/delete-error.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/calendar/gui/dialogs/delete-error.c b/calendar/gui/dialogs/delete-error.c index cb076885c1..b97876408b 100644 --- a/calendar/gui/dialogs/delete-error.c +++ b/calendar/gui/dialogs/delete-error.c @@ -26,6 +26,7 @@ #include <gtk/gtkmessagedialog.h> #include <libgnome/gnome-i18n.h> #include <libgnomeui/gnome-uidefs.h> +#include <e-util/e-icon-factory.h> #include "delete-error.h" @@ -104,6 +105,10 @@ delete_error_dialog (GError *error, ECalComponentVType vtype) dialog = gtk_message_dialog_new (NULL, GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_OK, str); + if (vtype == E_CAL_COMPONENT_EVENT) + gtk_window_set_icon (GTK_WINDOW (dialog), e_icon_factory_get_icon ("stock_calendar", 32)); + else if (vtype == E_CAL_COMPONENT_TODO) + gtk_window_set_icon (GTK_WINDOW (dialog), e_icon_factory_get_icon ("stock_todo", 32)); gtk_dialog_run (GTK_DIALOG (dialog)); gtk_widget_destroy (dialog); } |