aboutsummaryrefslogtreecommitdiffstats
path: root/src/epiphany.defs
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/epiphany.defs
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/epiphany.defs')
-rw-r--r--src/epiphany.defs20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/epiphany.defs b/src/epiphany.defs
index 5416afb1c..76c0e0322 100644
--- a/src/epiphany.defs
+++ b/src/epiphany.defs
@@ -1477,9 +1477,9 @@
(return-type "GType")
)
-(define-method add
+(define-method add_permission
(of-object "EphyPermissionManager")
- (c-name "ephy_permission_manager_add")
+ (c-name "ephy_permission_manager_add_permission")
(return-type "none")
(parameters
'("const-char*" "host")
@@ -1488,9 +1488,9 @@
)
)
-(define-method remove
+(define-method remove_permission
(of-object "EphyPermissionManager")
- (c-name "ephy_permission_manager_remove")
+ (c-name "ephy_permission_manager_remove_permission")
(return-type "none")
(parameters
'("const-char*" "host")
@@ -1498,15 +1498,15 @@
)
)
-(define-method clear
+(define-method clear_permissions
(of-object "EphyPermissionManager")
- (c-name "ephy_permission_manager_clear")
+ (c-name "ephy_permission_manager_clear_permissions")
(return-type "none")
)
-(define-method test
+(define-method test_permission
(of-object "EphyPermissionManager")
- (c-name "ephy_permission_manager_test")
+ (c-name "ephy_permission_manager_test_permission")
(return-type "EphyPermission")
(parameters
'("const-char*" "host")
@@ -1514,9 +1514,9 @@
)
)
-(define-method list
+(define-method list_permissions
(of-object "EphyPermissionManager")
- (c-name "ephy_permission_manager_list")
+ (c-name "ephy_permission_manager_list_permissions")
(return-type "GList*")
(parameters
'("const-char*" "type")