aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/contact-editor
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-06-03 04:11:53 +0800
committerChris Lahey <clahey@src.gnome.org>2000-06-03 04:11:53 +0800
commitd507f4b5015f3889b5f1e9f1f1e8441fdbe196b8 (patch)
tree046b51e2ab0a572d96c4c2594dd7e4a023ee68e6 /addressbook/contact-editor
parent0eaa4856264acf187cc230fc2448cd64616f61a4 (diff)
downloadgsoc2013-evolution-d507f4b5015f3889b5f1e9f1f1e8441fdbe196b8.tar
gsoc2013-evolution-d507f4b5015f3889b5f1e9f1f1e8441fdbe196b8.tar.gz
gsoc2013-evolution-d507f4b5015f3889b5f1e9f1f1e8441fdbe196b8.tar.bz2
gsoc2013-evolution-d507f4b5015f3889b5f1e9f1f1e8441fdbe196b8.tar.lz
gsoc2013-evolution-d507f4b5015f3889b5f1e9f1f1e8441fdbe196b8.tar.xz
gsoc2013-evolution-d507f4b5015f3889b5f1e9f1f1e8441fdbe196b8.tar.zst
gsoc2013-evolution-d507f4b5015f3889b5f1e9f1f1e8441fdbe196b8.zip
Made phone/email/address labels change correctly again.
2000-06-02 Christopher James Lahey <clahey@helixcode.com> * contact-editor/e-contact-editor.c: Made phone/email/address labels change correctly again. svn path=/trunk/; revision=3404
Diffstat (limited to 'addressbook/contact-editor')
-rw-r--r--addressbook/contact-editor/e-contact-editor.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/addressbook/contact-editor/e-contact-editor.c b/addressbook/contact-editor/e-contact-editor.c
index 5d7485561c..5ca3fd753e 100644
--- a/addressbook/contact-editor/e-contact-editor.c
+++ b/addressbook/contact-editor/e-contact-editor.c
@@ -661,9 +661,9 @@ _arrow_pressed (GtkWidget *widget, GdkEventButton *button, EContactEditor *edito
e_contact_editor_build_dialog(editor, entry, label, dialog_title, list, info);
} else {
#endif
- GtkWidget *entry_widget = glade_xml_get_widget(editor->gui, label);
- if (entry_widget && GTK_IS_ENTRY(entry_widget)) {
- gtk_object_set(GTK_OBJECT(entry_widget),
+ GtkWidget *label_widget = glade_xml_get_widget(editor->gui, label);
+ if (label_widget && GTK_IS_LABEL(label_widget)) {
+ gtk_object_set(GTK_OBJECT(label_widget),
"label", g_list_nth_data(*list, menu_item),
NULL);
}