aboutsummaryrefslogtreecommitdiffstats
path: root/modules/itip-formatter/itip-view.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2013-02-26 19:39:09 +0800
committerMilan Crha <mcrha@redhat.com>2013-02-26 19:39:09 +0800
commit1017235658bbb8899863c11e88075434034a6f32 (patch)
treec472af98b53b6f4406d7d5e847e9f3a5187b4eb8 /modules/itip-formatter/itip-view.c
parentcb85c2352e2aa1c0adc0cf8e6fc9c8b39ae3a9e3 (diff)
downloadgsoc2013-evolution-1017235658bbb8899863c11e88075434034a6f32.tar.gz
gsoc2013-evolution-1017235658bbb8899863c11e88075434034a6f32.tar.zst
gsoc2013-evolution-1017235658bbb8899863c11e88075434034a6f32.zip
Bug #693625 - [itip-formatter] Save button insensitive for multiple events
Diffstat (limited to 'modules/itip-formatter/itip-view.c')
-rw-r--r--modules/itip-formatter/itip-view.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/itip-formatter/itip-view.c b/modules/itip-formatter/itip-view.c
index d6d719c96d..5aabd9a08b 100644
--- a/modules/itip-formatter/itip-view.c
+++ b/modules/itip-formatter/itip-view.c
@@ -3115,6 +3115,8 @@ itip_view_set_error (ItipView *view,
el = webkit_dom_document_get_element_by_id (
view->priv->dom_document, BUTTON_SAVE);
+ webkit_dom_html_button_element_set_disabled (
+ WEBKIT_DOM_HTML_BUTTON_ELEMENT (el), FALSE);
webkit_dom_event_target_add_event_listener (
WEBKIT_DOM_EVENT_TARGET (el), "click",
G_CALLBACK (button_clicked_cb), FALSE, view);