diff options
Diffstat (limited to 'addressbook/gui/contact-editor')
-rw-r--r-- | addressbook/gui/contact-editor/contact-editor.glade | 2 | ||||
-rw-r--r-- | addressbook/gui/contact-editor/e-contact-editor.c | 4 |
2 files changed, 4 insertions, 2 deletions
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 @@ </child> <child> - <widget class="GtkLabel" id="label398"> + <widget class="GtkLabel" id="where-label"> <property name="visible">True</property> <property name="label" translatable="yes">_Where:</property> <property name="use_underline">True</property> 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"); |