aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/contact-editor/e-contact-editor.c
diff options
context:
space:
mode:
authorRodney Dawes <dobey@novell.com>2004-07-22 03:34:50 +0800
committerRodney Dawes <dobey@src.gnome.org>2004-07-22 03:34:50 +0800
commit23e97f1bef569a46e277ce5c4a9c8fd0313c00e3 (patch)
treecb4ce68a5c23597d6974a24f33deff5aac648c18 /addressbook/gui/contact-editor/e-contact-editor.c
parent8e4a2794d1f51e790e33e08b32c4a5dcd8e9e88b (diff)
downloadgsoc2013-evolution-23e97f1bef569a46e277ce5c4a9c8fd0313c00e3.tar.gz
gsoc2013-evolution-23e97f1bef569a46e277ce5c4a9c8fd0313c00e3.tar.zst
gsoc2013-evolution-23e97f1bef569a46e277ce5c4a9c8fd0313c00e3.zip
Give a reasonable name to the widget for the _Where label
2004-07-21 Rodney Dawes <dobey@novell.com> * 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
Diffstat (limited to 'addressbook/gui/contact-editor/e-contact-editor.c')
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor.c4
1 files changed, 3 insertions, 1 deletions
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");