aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--addressbook/ChangeLog9
-rw-r--r--addressbook/gui/contact-editor/contact-editor.glade2
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor.c14
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,5 +1,14 @@
2003-01-26 Chris Toshok <toshok@ximian.com>
+ * 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 <toshok@ximian.com>
+
* gui/component/Makefile.am: i need to sleep more.
2003-01-26 Chris Toshok <toshok@ximian.com>
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 @@
<property name="yscale">0</property>
<child>
- <widget class="GtkEntry" id="entry3">
+ <widget class="GtkEntry" id="entry-categories">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="editable">True</property>
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");