aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-tab.c
diff options
context:
space:
mode:
authorCrispin Flowerday <gnome@flowerday.cx>2006-01-22 20:35:30 +0800
committerCrispin Flowerday <crispin@src.gnome.org>2006-01-22 20:35:30 +0800
commit3b221e541fef2c6c4f1948eda8be95f4d7bc941e (patch)
treed5d461559d21796713374a7cb6e131a30a136a73 /src/ephy-tab.c
parent0730f856ac19d184decfcef122e18981d87d9f7e (diff)
downloadgsoc2013-epiphany-3b221e541fef2c6c4f1948eda8be95f4d7bc941e.tar
gsoc2013-epiphany-3b221e541fef2c6c4f1948eda8be95f4d7bc941e.tar.gz
gsoc2013-epiphany-3b221e541fef2c6c4f1948eda8be95f4d7bc941e.tar.bz2
gsoc2013-epiphany-3b221e541fef2c6c4f1948eda8be95f4d7bc941e.tar.lz
gsoc2013-epiphany-3b221e541fef2c6c4f1948eda8be95f4d7bc941e.tar.xz
gsoc2013-epiphany-3b221e541fef2c6c4f1948eda8be95f4d7bc941e.tar.zst
gsoc2013-epiphany-3b221e541fef2c6c4f1948eda8be95f4d7bc941e.zip
Change the EphyPermissionManager API so that it is more obvious what it
2006-01-22 Crispin Flowerday <gnome@flowerday.cx> * embed/ephy-permission-manager.c: (ephy_permission_manager_add_permission), (ephy_permission_manager_remove_permission), (ephy_permission_manager_clear_permissions), (ephy_permission_manager_test_permission), (ephy_permission_manager_list_permissions): * embed/ephy-permission-manager.h: * src/ephy-tab.c: (ephy_tab_get_popups_allowed), (ephy_tab_set_popups_allowed): * src/epiphany.defs: * src/epiphany.override: Change the EphyPermissionManager API so that it is more obvious what it does when used from python.
Diffstat (limited to 'src/ephy-tab.c')
-rw-r--r--src/ephy-tab.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ephy-tab.c b/src/ephy-tab.c
index 838e192bf..3d91ded53 100644
--- a/src/ephy-tab.c
+++ b/src/ephy-tab.c
@@ -619,7 +619,7 @@ ephy_tab_get_popups_allowed (EphyTab *tab)
location = ephy_embed_get_location (embed, TRUE);
if (location == NULL) return FALSE; /* FALSE, TRUE... same thing */
- response = ephy_permission_manager_test
+ response = ephy_permission_manager_test_permission
(permission_manager, location, EPT_POPUP);
switch (response)
@@ -757,7 +757,7 @@ ephy_tab_set_popups_allowed (EphyTab *tab,
permission = allowed ? EPHY_PERMISSION_ALLOWED
: EPHY_PERMISSION_DENIED;
- ephy_permission_manager_add (manager, location, EPT_POPUP, permission);
+ ephy_permission_manager_add_permission (manager, location, EPT_POPUP, permission);
if (allowed)
{