aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2003-01-27 13:30:35 +0800
committerChris Toshok <toshok@src.gnome.org>2003-01-27 13:30:35 +0800
commit50a112d4c47c19e1b58b277bb0bc08828cda1505 (patch)
tree195f3e2ba5c7eb6e1d3c299c66a79afbe1daa5cc /addressbook
parent29a26b08f316cda0ebc08c89977caedea603bd9a (diff)
downloadgsoc2013-evolution-50a112d4c47c19e1b58b277bb0bc08828cda1505.tar.gz
gsoc2013-evolution-50a112d4c47c19e1b58b277bb0bc08828cda1505.tar.zst
gsoc2013-evolution-50a112d4c47c19e1b58b277bb0bc08828cda1505.zip
rename the category entry to entry-categories.
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. svn path=/trunk/; revision=19640
Diffstat (limited to 'addressbook')
-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");