[evolution] Bug #609052 - Proper warning should be shown.



commit 91751c40d4f2b1fadcce4040defb066e30409a10
Author: Punit Jain <jpunit novell com>
Date:   Wed Apr 28 11:57:16 2010 +0530

    Bug #609052 - Proper warning should be shown.
    
    when saving calendar items without summary.

 calendar/calendar.error.xml      |   14 +++++++-------
 calendar/gui/dialogs/send-comp.c |    4 ++--
 2 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/calendar/calendar.error.xml b/calendar/calendar.error.xml
index 6e68880..eaaaa35 100644
--- a/calendar/calendar.error.xml
+++ b/calendar/calendar.error.xml
@@ -219,18 +219,18 @@
   <button stock="gtk-delete" response="GTK_RESPONSE_YES"/>
  </error>
  
- <error id="prompt-send-no-subject-calendar" type="question" default="GTK_RESPONSE_YES">
-  <_primary>Are you sure you want to send the appointment without a summary?</_primary>
-  <_secondary>Adding a meaningful summary to your appointment will give your recipients an idea of what your appointment is about.</_secondary>
+ <error id="prompt-save-no-subject-calendar" type="question" default="GTK_RESPONSE_YES">
+  <_primary>Are you sure you want to save the appointment without a summary?</_primary>
+  <_secondary>Adding a meaningful summary to your appointment will give you an idea of what your appointment is about.</_secondary>
   <button stock="gtk-cancel" response="GTK_RESPONSE_CANCEL"/>
   <button _label="_Save" response="GTK_RESPONSE_YES"/>
  </error>
 
- <error id="prompt-send-no-subject-task" type="question" default="GTK_RESPONSE_YES">
-  <_primary>Are you sure you want to send the task without a summary?</_primary>
-  <_secondary>Adding a meaningful summary to your task will give your recipients an idea of what your task is about.</_secondary>
+ <error id="prompt-save-no-subject-task" type="question" default="GTK_RESPONSE_YES">
+  <_primary>Are you sure you want to save the task without a summary?</_primary>
+  <_secondary>Adding a meaningful summary to your task will give you an idea of what your task is about.</_secondary>
   <button stock="gtk-cancel" response="GTK_RESPONSE_CANCEL"/>
-  <button _label="_Send" response="GTK_RESPONSE_YES"/>
+  <button _label="_Save" response="GTK_RESPONSE_YES"/>
  </error>
 
  <error id="prompt-send-no-subject-memo" type="question" default="GTK_RESPONSE_CANCEL">
diff --git a/calendar/gui/dialogs/send-comp.c b/calendar/gui/dialogs/send-comp.c
index d69fd0b..4a9f80e 100644
--- a/calendar/gui/dialogs/send-comp.c
+++ b/calendar/gui/dialogs/send-comp.c
@@ -185,11 +185,11 @@ send_component_prompt_subject (GtkWindow *parent, ECal *client, ECalComponent *c
 
 	switch (vtype) {
 	case E_CAL_COMPONENT_EVENT:
-			id = "calendar:prompt-send-no-subject-calendar";
+			id = "calendar:prompt-save-no-subject-calendar";
 		break;
 
 	case E_CAL_COMPONENT_TODO:
-			id = "calendar:prompt-send-no-subject-task";
+			id = "calendar:prompt-save-no-subject-task";
 		break;
 	case E_CAL_COMPONENT_JOURNAL:
 			id = "calendar:prompt-send-no-subject-memo";



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]