[evolution/wip-webkit2] Register URI schemes handlers in EABContactDisplay
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip-webkit2] Register URI schemes handlers in EABContactDisplay
- Date: Tue, 29 Oct 2013 15:10:12 +0000 (UTC)
commit 6e91aebd0b1982181ea6905c81fadc7dd9e4965a
Author: Tomas Popela <tpopela redhat com>
Date: Tue Oct 29 13:56:37 2013 +0100
Register URI schemes handlers in EABContactDisplay
addressbook/gui/widgets/eab-contact-display.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/addressbook/gui/widgets/eab-contact-display.c b/addressbook/gui/widgets/eab-contact-display.c
index 987beed..d270973 100644
--- a/addressbook/gui/widgets/eab-contact-display.c
+++ b/addressbook/gui/widgets/eab-contact-display.c
@@ -533,9 +533,12 @@ eab_contact_display_init (EABContactDisplay *display)
web_view, "style-set",
G_CALLBACK (load_contact), NULL);
+ e_web_view_register_uri_scheme (E_WEB_VIEW (display), FILE_URI_SCHEME, NULL, NULL);
+ e_web_view_register_uri_scheme (E_WEB_VIEW (display), GTK_STOCK_URI_SCHEME, NULL, NULL);
+ /*
e_web_view_install_request_handler (E_WEB_VIEW (display), E_TYPE_FILE_REQUEST);
e_web_view_install_request_handler (E_WEB_VIEW (display), E_TYPE_STOCK_REQUEST);
-
+*/
action_group = gtk_action_group_new ("internal-mailto");
gtk_action_group_set_translation_domain (action_group, domain);
gtk_ui_manager_insert_action_group (ui_manager, action_group, 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]