aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2012-07-05 21:02:05 +0800
committerMatthew Barnes <mbarnes@redhat.com>2012-07-05 21:02:05 +0800
commite57a4bb617b0b1f61c64026d1a343b14c8ed2c4e (patch)
tree7e394a8501354dc023a24e1bdc20fde3d7de61d3
parent6a8a66986dd13625f2620047b8f62f299947f2e8 (diff)
downloadgsoc2013-evolution-e57a4bb617b0b1f61c64026d1a343b14c8ed2c4e.tar
gsoc2013-evolution-e57a4bb617b0b1f61c64026d1a343b14c8ed2c4e.tar.gz
gsoc2013-evolution-e57a4bb617b0b1f61c64026d1a343b14c8ed2c4e.tar.bz2
gsoc2013-evolution-e57a4bb617b0b1f61c64026d1a343b14c8ed2c4e.tar.lz
gsoc2013-evolution-e57a4bb617b0b1f61c64026d1a343b14c8ed2c4e.tar.xz
gsoc2013-evolution-e57a4bb617b0b1f61c64026d1a343b14c8ed2c4e.tar.zst
gsoc2013-evolution-e57a4bb617b0b1f61c64026d1a343b14c8ed2c4e.zip
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.
-rw-r--r--addressbook/addressbook.error.xml1
-rw-r--r--calendar/calendar.error.xml10
2 files changed, 0 insertions, 11 deletions
diff --git a/addressbook/addressbook.error.xml b/addressbook/addressbook.error.xml
index 88010edf12..207de9d3cd 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 9301d8ba65..af0d52a977 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">