From dde8d87a1af26497181a007d7670935650f31688 Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Sat, 18 Aug 2001 02:55:18 +0000 Subject: connect to the "changed" signal on "entry-web" to update command state. 2001-08-17 Chris Toshok * gui/contact-editor/e-contact-editor.c (set_entry_changed_signals): connect to the "changed" signal on "entry-web" to update command state. svn path=/trunk/; revision=12193 --- addressbook/ChangeLog | 6 ++++++ addressbook/gui/contact-editor/e-contact-editor.c | 5 +++++ 2 files changed, 11 insertions(+) (limited to 'addressbook') diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index a3218c3592..0529e17157 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,9 @@ +2001-08-17 Chris Toshok + + * gui/contact-editor/e-contact-editor.c + (set_entry_changed_signals): connect to the "changed" signal on + "entry-web" to update command state. + 2001-08-17 Chris Toshok * gui/contact-list-editor/e-contact-list-editor.c (list_added_cb): diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c index cd22ee0c18..3631ea6310 100644 --- a/addressbook/gui/contact-editor/e-contact-editor.c +++ b/addressbook/gui/contact-editor/e-contact-editor.c @@ -557,6 +557,11 @@ set_entry_changed_signals(EContactEditor *editor) gtk_signal_connect(GTK_OBJECT(widget), "changed", company_entry_changed, editor); } + widget = glade_xml_get_widget(editor->gui, "entry-web"); + if (widget && GTK_IS_ENTRY(widget)) { + gtk_signal_connect(GTK_OBJECT(widget), "changed", + widget_changed, editor); + } widget = glade_xml_get_widget(editor->gui, "entry-categories"); if (widget && GTK_IS_ENTRY(widget)) { gtk_signal_connect(GTK_OBJECT(widget), "changed", -- cgit v1.2.3