[evolution] Bug 769733 - Meeting invitation cannot change calendar
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Bug 769733 - Meeting invitation cannot change calendar
- Date: Wed, 19 Oct 2016 15:35:56 +0000 (UTC)
commit 55e2ec49af919f60e961537e58f01063c3b9603e
Author: Milan Crha <mcrha redhat com>
Date: Wed Oct 19 17:34:27 2016 +0200
Bug 769733 - Meeting invitation cannot change calendar
src/modules/itip-formatter/itip-view.c | 2 +-
.../module-itip-formatter-dom-utils.c | 7 +++----
2 files changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/src/modules/itip-formatter/itip-view.c b/src/modules/itip-formatter/itip-view.c
index f494cdb..f3b0661 100644
--- a/src/modules/itip-formatter/itip-view.c
+++ b/src/modules/itip-formatter/itip-view.c
@@ -2662,7 +2662,7 @@ itip_view_ref_source (ItipView *view)
g_variant_unref (result);
}
- if (enabled) {
+ if (!enabled) {
e_util_invoke_g_dbus_proxy_call_with_error_check (
view->priv->web_extension,
"EnableSelect",
diff --git a/src/modules/itip-formatter/web-extension/module-itip-formatter-dom-utils.c
b/src/modules/itip-formatter/web-extension/module-itip-formatter-dom-utils.c
index 72809ee..390577a 100644
--- a/src/modules/itip-formatter/web-extension/module-itip-formatter-dom-utils.c
+++ b/src/modules/itip-formatter/web-extension/module-itip-formatter-dom-utils.c
@@ -614,10 +614,9 @@ module_itip_formatter_dom_utils_rebuild_source_list (WebKitDOMDocument *document
optgroup = WEBKIT_DOM_HTML_OPT_GROUP_ELEMENT (
webkit_dom_document_create_element (
document, "OPTGROUP", NULL));
- webkit_dom_html_opt_group_element_set_label (
- optgroup, optgroup_label);
- webkit_dom_node_append_child (
- WEBKIT_DOM_NODE (select), WEBKIT_DOM_NODE (optgroup), NULL);
+ webkit_dom_element_set_id (WEBKIT_DOM_ELEMENT (optgroup), optgroup_id);
+ webkit_dom_html_opt_group_element_set_label (optgroup, optgroup_label);
+ webkit_dom_node_append_child (WEBKIT_DOM_NODE (select), WEBKIT_DOM_NODE (optgroup), NULL);
}
option = webkit_dom_document_create_element (document, "OPTION", NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]