[evolution] Fix error XML definitions with one button.



commit e57a4bb617b0b1f61c64026d1a343b14c8ed2c4e
Author: Matthew Barnes <mbarnes redhat com>
Date:   Thu Jul 5 09:02:05 2012 -0400

    Fix error XML definitions with one button.
    
    Don't need an "OK" button because EAlert already adds an [X] button to
    dismiss the alert.  So we wind up seeing [ OK ] [X], which looks silly.

 addressbook/addressbook.error.xml |    1 -
 calendar/calendar.error.xml       |   10 ----------
 2 files changed, 0 insertions(+), 11 deletions(-)
---
diff --git a/addressbook/addressbook.error.xml b/addressbook/addressbook.error.xml
index 88010ed..207de9d 100644
--- a/addressbook/addressbook.error.xml
+++ b/addressbook/addressbook.error.xml
@@ -133,7 +133,6 @@
   <_primary>Cannot add new contact</_primary>
   <!-- For Translators: {0} is the name of the address book source -->
   <_secondary>'{0}' is a read-only address book and cannot be modified. Please select a different address book from the side bar in the Contacts view.</_secondary>
-  <button stock ="gtk-ok" response="GTK_RESPONSE_YES"/>
  </error>
 
 </error-list>
diff --git a/calendar/calendar.error.xml b/calendar/calendar.error.xml
index 9301d8b..af0d52a 100644
--- a/calendar/calendar.error.xml
+++ b/calendar/calendar.error.xml
@@ -242,58 +242,49 @@
  <error id="prompt-no-contents-offline-calendar" type="error" default="GTK_RESPONSE_YES">
   <_primary>Error loading calendar</_primary>
   <_secondary>The calendar is not marked for offline usage.</_secondary>
-  <button stock ="gtk-ok" response="GTK_RESPONSE_YES"/>
  </error>
  
  <error id="prompt-read-only-cal" type="error" default="GTK_RESPONSE_YES">
   <_primary>Cannot create a new event</_primary>
   <!-- For Translators: {0} is the name of the calendar source -->
   <_secondary>'{0}' is a read-only calendar and cannot be modified. Please select a different calendar from the side bar in the Calendar view.</_secondary>
-  <button stock ="gtk-ok" response="GTK_RESPONSE_YES"/>
  </error>
 
  <error id="prompt-read-only-cal-editor" type="error" default="GTK_RESPONSE_YES">
   <_primary>Cannot save event</_primary>
   <!-- For Translators: {0} is the name of the calendar source -->
   <_secondary>'{0}' is a read-only calendar and cannot be modified. Please select a different calendar that can accept appointments.</_secondary>
-  <button stock ="gtk-ok" response="GTK_RESPONSE_YES"/>
  </error>
 
  <error id="prompt-no-task-assignment-editor" type="error" default="GTK_RESPONSE_YES">
   <_primary>Cannot save task</_primary>
   <!-- For Translators: {0} is the name of the calendar source -->
   <_secondary>'{0}' does not support assigned tasks, please select a different task list.</_secondary>
-  <button stock ="gtk-ok" response="GTK_RESPONSE_YES"/>
  </error>
 
  <error id="prompt-no-contents-offline-tasks" type="error" default="GTK_RESPONSE_YES">
   <_primary>Error loading task list</_primary>
   <_secondary>The task list is not marked for offline usage.</_secondary>
-  <button stock ="gtk-ok" response="GTK_RESPONSE_YES"/>
  </error>
 
  <error id="prompt-no-contents-offline-memos" type="error" default="GTK_RESPONSE_YES">
   <_primary>Error loading memo list</_primary>
   <_secondary>The memo list is not marked for offline usage.</_secondary>
-  <button stock ="gtk-ok" response="GTK_RESPONSE_YES"/>
  </error>
 
  <error id="failed-open-calendar" type="error" default="GTK_RESPONSE_YES">
   <_primary>Error loading calendar</_primary>
   <secondary>{0}</secondary>
-  <button stock ="gtk-ok" response="GTK_RESPONSE_YES"/>
  </error>
 
  <error id="failed-open-tasks" type="error" default="GTK_RESPONSE_YES">
   <_primary>Error loading task list</_primary>
   <secondary>{0}</secondary>
-  <button stock ="gtk-ok" response="GTK_RESPONSE_YES"/>
  </error>
 
  <error id="failed-open-memos" type="error" default="GTK_RESPONSE_YES">
   <_primary>Error loading memo list</_primary>
   <secondary>{0}</secondary>
-  <button stock ="gtk-ok" response="GTK_RESPONSE_YES"/>
  </error>
 
  <error id="backend-error" type="error" default="GTK_RESPONSE_YES">
@@ -301,7 +292,6 @@
      {1} is replaced with a calendar/task/memo list name, where the error happened -->
   <_primary>Error on {0}: {1}</_primary>
   <secondary>{2}</secondary>
-  <button stock ="gtk-ok" response="GTK_RESPONSE_YES"/>
  </error>
 
  <error id="server-version" type="warning">



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