From 23e97f1bef569a46e277ce5c4a9c8fd0313c00e3 Mon Sep 17 00:00:00 2001 From: Rodney Dawes Date: Wed, 21 Jul 2004 19:34:50 +0000 Subject: Give a reasonable name to the widget for the _Where label 2004-07-21 Rodney Dawes * gui/contact-editor/contact-editor.glade: Give a reasonable name to the widget for the _Where label * gui/contact-editor/e-contact-editor.c (e_contact_editor_init): Set the mnemonic widget for the _Where label Fixes #61544 svn path=/trunk/; revision=26691 --- addressbook/gui/contact-editor/contact-editor.glade | 2 +- addressbook/gui/contact-editor/e-contact-editor.c | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'addressbook/gui') diff --git a/addressbook/gui/contact-editor/contact-editor.glade b/addressbook/gui/contact-editor/contact-editor.glade index feb81d5bcd..2f1cd4e10f 100644 --- a/addressbook/gui/contact-editor/contact-editor.glade +++ b/addressbook/gui/contact-editor/contact-editor.glade @@ -197,7 +197,7 @@ - + True _Where: True diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c index 1ebde8b032..a1bd7c0196 100644 --- a/addressbook/gui/contact-editor/e-contact-editor.c +++ b/addressbook/gui/contact-editor/e-contact-editor.c @@ -2913,7 +2913,7 @@ static void e_contact_editor_init (EContactEditor *e_contact_editor) { GladeXML *gui; - GtkWidget *widget; + GtkWidget *widget, *label; char *icon_path; e_contact_editor->name = e_contact_name_new(); @@ -2950,6 +2950,8 @@ e_contact_editor_init (EContactEditor *e_contact_editor) g_signal_connect (widget, "clicked", G_CALLBACK (categories_clicked), e_contact_editor); widget = glade_xml_get_widget (e_contact_editor->gui, "source-option-menu-source"); g_signal_connect (widget, "source_selected", G_CALLBACK (source_selected), e_contact_editor); + label = glade_xml_get_widget (e_contact_editor->gui, "where-label"); + gtk_label_set_mnemonic_widget (GTK_LABEL (label), widget); widget = glade_xml_get_widget (e_contact_editor->gui, "button-ok"); g_signal_connect (widget, "clicked", G_CALLBACK (file_save_and_close_cb), e_contact_editor); widget = glade_xml_get_widget (e_contact_editor->gui, "button-cancel"); -- cgit v1.2.3