aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
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
parent8e4a2794d1f51e790e33e08b32c4a5dcd8e9e88b (diff)
downloadgsoc2013-evolution-23e97f1bef569a46e277ce5c4a9c8fd0313c00e3.tar
gsoc2013-evolution-23e97f1bef569a46e277ce5c4a9c8fd0313c00e3.tar.gz
gsoc2013-evolution-23e97f1bef569a46e277ce5c4a9c8fd0313c00e3.tar.bz2
gsoc2013-evolution-23e97f1bef569a46e277ce5c4a9c8fd0313c00e3.tar.lz
gsoc2013-evolution-23e97f1bef569a46e277ce5c4a9c8fd0313c00e3.tar.xz
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')
-rw-r--r--addressbook/ChangeLog10
-rw-r--r--addressbook/gui/contact-editor/contact-editor.glade2
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor.c4
3 files changed, 14 insertions, 2 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index cd0cb3c2f2..4f96d6446e 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,13 @@
+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
+
2004-07-20 JP Rosevear <jpr@novell.com>
* gui/component/autocompletion-config.c
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");