diff options
author | Crispin Flowerday <gnome@flowerday.cx> | 2006-01-22 20:35:30 +0800 |
---|---|---|
committer | Crispin Flowerday <crispin@src.gnome.org> | 2006-01-22 20:35:30 +0800 |
commit | 3b221e541fef2c6c4f1948eda8be95f4d7bc941e (patch) | |
tree | d5d461559d21796713374a7cb6e131a30a136a73 /src/epiphany.override | |
parent | 0730f856ac19d184decfcef122e18981d87d9f7e (diff) | |
download | gsoc2013-epiphany-3b221e541fef2c6c4f1948eda8be95f4d7bc941e.tar.gz 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.override')
-rw-r--r-- | src/epiphany.override | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/epiphany.override b/src/epiphany.override index 04ef7303e..9bc352bea 100644 --- a/src/epiphany.override +++ b/src/epiphany.override @@ -403,20 +403,20 @@ _wrap_ephy_cookie_manager_list_cookies(PyGObject *self) return _helper_wrap_boxed_glist (EPHY_TYPE_COOKIE, list); } %% -override ephy_permission_manager_list kwargs +override ephy_permission_manager_list_permissions kwargs static PyObject * -_wrap_ephy_permission_manager_list (PyGObject *self, - PyObject *args, PyObject *kwargs) +_wrap_ephy_permission_manager_list_permissions (PyGObject *self, + PyObject *args, PyObject *kwargs) { static char *kwlist[] = {"type", NULL}; char *type; GList *list; if (!PyArg_ParseTupleAndKeywords(args, kwargs, - "s:EphyPermissionManager.list", kwlist, &type)) + "s:EphyPermissionManager.list_permissions", kwlist, &type)) return NULL; - list = ephy_permission_manager_list(EPHY_PERMISSION_MANAGER (self->obj), type); + list = ephy_permission_manager_list_permissions(EPHY_PERMISSION_MANAGER (self->obj), type); return _helper_wrap_boxed_glist (EPHY_TYPE_PERMISSION_INFO, list); } |