From b79a0adaa70a8bd3e7e6f061e629257ec3cc33ab Mon Sep 17 00:00:00 2001 From: Anand V M Date: Thu, 23 Aug 2007 05:14:12 +0000 Subject: ** Fix for bug #353462 2007-08-23 Anand V M ** 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 --- addressbook/ChangeLog | 8 ++++++++ addressbook/gui/widgets/eab-gui-util.c | 7 +++++-- 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 + + ** 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 ** 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) -- cgit v1.2.3