aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-web-view.c
diff options
context:
space:
mode:
authorDiego Escalante Urrelo <descalante@igalia.com>2010-12-08 22:35:56 +0800
committerDiego Escalante Urrelo <descalante@igalia.com>2010-12-09 06:43:12 +0800
commit62f2c31cefbd94e993584736fc82e33d4c62060b (patch)
tree1c89e09b21f3e25c07038623469fffd3b32b79e9 /embed/ephy-web-view.c
parent576826ed720902bef4c2b916f5f973b967bbc59f (diff)
downloadgsoc2013-epiphany-62f2c31cefbd94e993584736fc82e33d4c62060b.tar
gsoc2013-epiphany-62f2c31cefbd94e993584736fc82e33d4c62060b.tar.gz
gsoc2013-epiphany-62f2c31cefbd94e993584736fc82e33d4c62060b.tar.bz2
gsoc2013-epiphany-62f2c31cefbd94e993584736fc82e33d4c62060b.tar.lz
gsoc2013-epiphany-62f2c31cefbd94e993584736fc82e33d4c62060b.tar.xz
gsoc2013-epiphany-62f2c31cefbd94e993584736fc82e33d4c62060b.tar.zst
gsoc2013-epiphany-62f2c31cefbd94e993584736fc82e33d4c62060b.zip
ephy-permission-manager: fix names of permission types
Prefix them with EPHY_PERMISSION_TYPE instead of "EPT_". Bug #636790
Diffstat (limited to 'embed/ephy-web-view.c')
-rw-r--r--embed/ephy-web-view.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index 6a0c52f87..9a46a228c 100644
--- a/embed/ephy-web-view.c
+++ b/embed/ephy-web-view.c
@@ -306,7 +306,9 @@ ephy_web_view_set_popups_allowed (EphyWebView *view,
permission = allowed ? EPHY_PERMISSION_ALLOWED
: EPHY_PERMISSION_DENIED;
- ephy_permission_manager_add_permission (manager, location, EPT_POPUP, permission);
+ ephy_permission_manager_add_permission (manager, location,
+ EPHY_PERMISSION_TYPE_POPUP,
+ permission);
if (allowed) {
popups_manager_show_all (view);
@@ -334,7 +336,7 @@ ephy_web_view_get_popups_allowed (EphyWebView *view)
if (location == NULL) return FALSE;/* FALSE, TRUE… same thing */
response = ephy_permission_manager_test_permission
- (permission_manager, location, EPT_POPUP);
+ (permission_manager, location, EPHY_PERMISSION_TYPE_POPUP);
switch (response) {
case EPHY_PERMISSION_ALLOWED: