diff options
-rw-r--r-- | addressbook/ChangeLog | 8 | ||||
-rw-r--r-- | 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 <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) |