aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnand V M <avmuttagi@gmail.com>2007-08-23 13:14:12 +0800
committerTobias Mueller <tobiasmue@src.gnome.org>2007-08-23 13:14:12 +0800
commitb79a0adaa70a8bd3e7e6f061e629257ec3cc33ab (patch)
tree24f2b97c7d2f781c529e8d571f11724c63a3f96b
parent18d98c0be027a7d19ff24c99931c466263739a70 (diff)
downloadgsoc2013-evolution-b79a0adaa70a8bd3e7e6f061e629257ec3cc33ab.tar
gsoc2013-evolution-b79a0adaa70a8bd3e7e6f061e629257ec3cc33ab.tar.gz
gsoc2013-evolution-b79a0adaa70a8bd3e7e6f061e629257ec3cc33ab.tar.bz2
gsoc2013-evolution-b79a0adaa70a8bd3e7e6f061e629257ec3cc33ab.tar.lz
gsoc2013-evolution-b79a0adaa70a8bd3e7e6f061e629257ec3cc33ab.tar.xz
gsoc2013-evolution-b79a0adaa70a8bd3e7e6f061e629257ec3cc33ab.tar.zst
gsoc2013-evolution-b79a0adaa70a8bd3e7e6f061e629257ec3cc33ab.zip
** Fix for bug #353462
2007-08-23 Anand V M <avmuttagi@gmail.com> ** Fix for bug #353462 * gui/widgets/eab-gui-util.c:Changing the labels of buttons from "Yes/No" to "Display All Contacts/Don't Display" to make them HIG compliant. svn path=/trunk/; revision=34065
-rw-r--r--addressbook/ChangeLog8
-rw-r--r--addressbook/gui/widgets/eab-gui-util.c7
2 files changed, 13 insertions, 2 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 620fb4a7a9..bf6eaa2f5e 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,11 @@
+2007-08-23 Anand V M <avmuttagi@gmail.com>
+
+ ** Fix for bug #353462
+
+ * gui/widgets/eab-gui-util.c:Changing the labels of buttons from
+ "Yes/No" to "Display All Contacts/Don't Display" to make them HIG
+ compliant.
+
2007-08-16 Milan Crha <mcrha@redhat.com>
** Fix for bug #412732
diff --git a/addressbook/gui/widgets/eab-gui-util.c b/addressbook/gui/widgets/eab-gui-util.c
index ccfbac8ada..0248b50147 100644
--- a/addressbook/gui/widgets/eab-gui-util.c
+++ b/addressbook/gui/widgets/eab-gui-util.c
@@ -289,7 +289,7 @@ eab_show_multiple_contacts (EBook *book,
dialog = gtk_message_dialog_new (NULL,
0,
GTK_MESSAGE_QUESTION,
- GTK_BUTTONS_YES_NO,
+ GTK_BUTTONS_NONE,
ngettext("Opening %d contact will open %d new window as well.\n"
"Do you really want to display this contact?",
"Opening %d contacts will open %d new windows as well.\n"
@@ -297,7 +297,10 @@ eab_show_multiple_contacts (EBook *book,
length),
length,
length);
-
+ gtk_dialog_add_buttons (GTK_DIALOG (dialog),
+ _("_Don't Display"), GTK_RESPONSE_NO,
+ _("Display _All Contacts"), GTK_RESPONSE_YES,
+ NULL);
response = gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);
if (response == GTK_RESPONSE_YES)