aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/meeting-page.c
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchen@src.gnome.org>2005-06-08 23:41:12 +0800
committerChenthill Palanisamy <pchen@src.gnome.org>2005-06-08 23:41:12 +0800
commit5a150fae3cc3aa122db2d4ee5f040604e09ed8c6 (patch)
treeb647d44f4d69e384125d7612277c50318cebee42 /calendar/gui/dialogs/meeting-page.c
parentbf7287dedcb5a5dc17d45339fdea81e3acec648a (diff)
downloadgsoc2013-evolution-5a150fae3cc3aa122db2d4ee5f040604e09ed8c6.tar
gsoc2013-evolution-5a150fae3cc3aa122db2d4ee5f040604e09ed8c6.tar.gz
gsoc2013-evolution-5a150fae3cc3aa122db2d4ee5f040604e09ed8c6.tar.bz2
gsoc2013-evolution-5a150fae3cc3aa122db2d4ee5f040604e09ed8c6.tar.lz
gsoc2013-evolution-5a150fae3cc3aa122db2d4ee5f040604e09ed8c6.tar.xz
gsoc2013-evolution-5a150fae3cc3aa122db2d4ee5f040604e09ed8c6.tar.zst
gsoc2013-evolution-5a150fae3cc3aa122db2d4ee5f040604e09ed8c6.zip
Disable the meeting editor if the user is not an organizer wherever
necessary svn path=/trunk/; revision=29474
Diffstat (limited to 'calendar/gui/dialogs/meeting-page.c')
-rw-r--r--calendar/gui/dialogs/meeting-page.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/calendar/gui/dialogs/meeting-page.c b/calendar/gui/dialogs/meeting-page.c
index ee51c4e4ad..7290110a8d 100644
--- a/calendar/gui/dialogs/meeting-page.c
+++ b/calendar/gui/dialogs/meeting-page.c
@@ -337,10 +337,10 @@ sensitize_widgets (MeetingPage *mpage)
g_error_free (error);
}
gtk_widget_set_sensitive (priv->organizer, !read_only);
- gtk_widget_set_sensitive (priv->existing_organizer_btn, !read_only);
- gtk_widget_set_sensitive (priv->add, !read_only && (priv->user_org || delegate));
- gtk_widget_set_sensitive (priv->remove, !read_only && (priv->user_org|| delegate));
- gtk_widget_set_sensitive (priv->invite, !read_only && (priv->user_org || delegate));
+ gtk_widget_set_sensitive (priv->existing_organizer_btn, (!read_only && priv->user_org));
+ gtk_widget_set_sensitive (priv->add, (!read_only && priv->user_org) || delegate);
+ gtk_widget_set_sensitive (priv->remove, (!read_only && priv->user_org) || delegate);
+ gtk_widget_set_sensitive (priv->invite, (!read_only && priv->user_org) || delegate);
gtk_widget_set_sensitive (GTK_WIDGET (priv->list_view), !read_only);
}