aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/send-comp.c
diff options
context:
space:
mode:
authorTrent Lloyd <lathiat@bur.st>2004-05-25 17:09:33 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2004-05-25 17:09:33 +0800
commitf0374055952ee8530779273c56cdaf904e4624a6 (patch)
treee1aa18671e02f7c865c7f411b38bd813317edc76 /calendar/gui/dialogs/send-comp.c
parenteacf97930e8312c7d4d291589053312bca42d46e (diff)
downloadgsoc2013-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/send-comp.c')
-rw-r--r--calendar/gui/dialogs/send-comp.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/calendar/gui/dialogs/send-comp.c b/calendar/gui/dialogs/send-comp.c
index 65e4743c04..64343f113e 100644
--- a/calendar/gui/dialogs/send-comp.c
+++ b/calendar/gui/dialogs/send-comp.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 "send-comp.h"
@@ -82,6 +83,10 @@ send_component_dialog (GtkWindow *parent, ECal *client, ECalComponent *comp, gbo
dialog = gtk_message_dialog_new (parent, GTK_DIALOG_MODAL,
GTK_MESSAGE_QUESTION,
GTK_BUTTONS_YES_NO, 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));
response = gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);