aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@ximian.com>2001-04-18 09:52:45 +0800
committerFederico Mena Quintero <federico@src.gnome.org>2001-04-18 09:52:45 +0800
commit9462327e6601c88c7ba97ecd322d458c071b67af (patch)
tree3d3a0a41e43cae40f93c69b7ff649f6a1f87267d /calendar/gui/dialogs
parent0f436d9a223e24184eaea2a2c4be90151fd3260a (diff)
downloadgsoc2013-evolution-9462327e6601c88c7ba97ecd322d458c071b67af.tar
gsoc2013-evolution-9462327e6601c88c7ba97ecd322d458c071b67af.tar.gz
gsoc2013-evolution-9462327e6601c88c7ba97ecd322d458c071b67af.tar.bz2
gsoc2013-evolution-9462327e6601c88c7ba97ecd322d458c071b67af.tar.lz
gsoc2013-evolution-9462327e6601c88c7ba97ecd322d458c071b67af.tar.xz
gsoc2013-evolution-9462327e6601c88c7ba97ecd322d458c071b67af.tar.zst
gsoc2013-evolution-9462327e6601c88c7ba97ecd322d458c071b67af.zip
Connect to the "changed" signal of the categories entry so that they will
2001-04-17 Federico Mena Quintero <federico@ximian.com> * gui/event-editor.c (init_widgets): Connect to the "changed" signal of the categories entry so that they will be applied correctly. (EventEditorPrivate): Added fields for the contacts button and entry. (init_widgets): Disable the contacts widgets as we do not support them yet. (get_widgets): Get the contacts widgets. * gui/dialogs/task-editor.c (get_widgets): Get the contacts button, which was missing. (init_widgets): Disable the contacts widgets as we do not support them yet. * pcs/query.c (matches_text_list): Use e_utf8_strstrcasedecomp() instead of plain e_utf8_strstrcase(). (matches_summary): Likewise. svn path=/trunk/; revision=9436
Diffstat (limited to 'calendar/gui/dialogs')
-rw-r--r--calendar/gui/dialogs/task-editor.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/calendar/gui/dialogs/task-editor.c b/calendar/gui/dialogs/task-editor.c
index 30e5987eea..1aa484399f 100644
--- a/calendar/gui/dialogs/task-editor.c
+++ b/calendar/gui/dialogs/task-editor.c
@@ -82,7 +82,9 @@ typedef struct {
GtkWidget *classification_private;
GtkWidget *classification_confidential;
+ GtkWidget *contacts_btn;
GtkWidget *contacts;
+
GtkWidget *categories_btn;
GtkWidget *categories;
@@ -379,7 +381,9 @@ get_widgets (TaskEditor *tedit)
priv->classification_private = GW ("classification-private");
priv->classification_confidential = GW ("classification-confidential");
+ priv->contacts_btn = GW ("contacts-button");
priv->contacts = GW ("contacts");
+
priv->categories_btn = GW ("categories-button");
priv->categories = GW ("categories");
@@ -399,6 +403,7 @@ get_widgets (TaskEditor *tedit)
&& priv->classification_private
&& priv->classification_confidential
&& priv->description
+ && priv->contacts_btn
&& priv->contacts
&& priv->categories_btn
&& priv->categories
@@ -465,6 +470,11 @@ init_widgets (TaskEditor *tedit)
/* Button clicks */
gtk_signal_connect (GTK_OBJECT (priv->categories_btn), "clicked",
GTK_SIGNAL_FUNC (categories_clicked), tedit);
+
+ /* FIXME: we do not support these fields yet, so we disable them */
+
+ gtk_widget_set_sensitive (priv->contacts_btn, FALSE);
+ gtk_widget_set_sensitive (priv->contacts, FALSE);
}
static void