From 50a112d4c47c19e1b58b277bb0bc08828cda1505 Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Mon, 27 Jan 2003 05:30:35 +0000 Subject: rename the category entry to entry-categories. 2003-01-26 Chris Toshok * gui/contact-editor/contact-editor.glade: rename the category entry to entry-categories. * gui/contact-editor/e-contact-editor.c (set_entry_changed_signals): use the specialized "changed" signal handlers for entry-company and entry-fullname. svn path=/trunk/; revision=19640 --- addressbook/ChangeLog | 9 +++++++++ addressbook/gui/contact-editor/contact-editor.glade | 2 +- addressbook/gui/contact-editor/e-contact-editor.c | 14 ++++++++++++-- 3 files changed, 22 insertions(+), 3 deletions(-) diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 0e880544b8..3fd1513fb3 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,12 @@ +2003-01-26 Chris Toshok + + * gui/contact-editor/contact-editor.glade: rename the category + entry to entry-categories. + + * gui/contact-editor/e-contact-editor.c + (set_entry_changed_signals): use the specialized "changed" signal + handlers for entry-company and entry-fullname. + 2003-01-26 Chris Toshok * gui/component/Makefile.am: i need to sleep more. diff --git a/addressbook/gui/contact-editor/contact-editor.glade b/addressbook/gui/contact-editor/contact-editor.glade index 765649da82..1e79e46a0e 100644 --- a/addressbook/gui/contact-editor/contact-editor.glade +++ b/addressbook/gui/contact-editor/contact-editor.glade @@ -1402,7 +1402,7 @@ 0 - + True True True diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c index cca369ab1c..3af7fa3ab6 100644 --- a/addressbook/gui/contact-editor/e-contact-editor.c +++ b/addressbook/gui/contact-editor/e-contact-editor.c @@ -660,8 +660,18 @@ set_entry_changed_signals(EContactEditor *editor) G_CALLBACK (address_text_changed), editor); } - set_entry_changed_signal_field(editor, "entry-fullname"); - set_entry_changed_signal_field(editor, "entry-company"); + widget = glade_xml_get_widget(editor->gui, "entry-fullname"); + if (widget && GTK_IS_ENTRY(widget)) { + g_signal_connect (widget, "changed", + G_CALLBACK (name_entry_changed), editor); + } + + widget = glade_xml_get_widget(editor->gui, "entry-company"); + if (widget && GTK_IS_ENTRY(widget)) { + g_signal_connect (widget, "changed", + G_CALLBACK (company_entry_changed), editor); + } + set_entry_changed_signal_field(editor, "entry-web"); set_entry_changed_signal_field(editor, "entry-categories"); set_entry_changed_signal_field(editor, "entry-jobtitle"); -- cgit