aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--addressbook/ChangeLog5
-rw-r--r--addressbook/contact-editor/e-contact-editor.c6
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor.c6
3 files changed, 11 insertions, 6 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index c8998e2006..9e1df5ca82 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,5 +1,10 @@
2000-06-02 Christopher James Lahey <clahey@helixcode.com>
+ * contact-editor/e-contact-editor.c: Made phone/email/address
+ labels change correctly again.
+
+2000-06-02 Christopher James Lahey <clahey@helixcode.com>
+
* gui/component/addressbook-component.c: Made
evolution-addressbook shut down when the shell is done with it.
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);
}
diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c
index 5d7485561c..5ca3fd753e 100644
--- a/addressbook/gui/contact-editor/e-contact-editor.c
+++ b/addressbook/gui/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);
}