aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-François rameau <jframeau@cvs.gnome.org>2005-01-16 04:26:37 +0800
committerJean-François Rameau <jframeau@src.gnome.org>2005-01-16 04:26:37 +0800
commita2d092dfd000284b249b722f225456e700359e09 (patch)
treeeca7975827380f521897950ca9268b9f7061451b
parent24ab90cd059587d89ea297ecb8d24bb8e3285449 (diff)
downloadgsoc2013-epiphany-a2d092dfd000284b249b722f225456e700359e09.tar
gsoc2013-epiphany-a2d092dfd000284b249b722f225456e700359e09.tar.gz
gsoc2013-epiphany-a2d092dfd000284b249b722f225456e700359e09.tar.bz2
gsoc2013-epiphany-a2d092dfd000284b249b722f225456e700359e09.tar.lz
gsoc2013-epiphany-a2d092dfd000284b249b722f225456e700359e09.tar.xz
gsoc2013-epiphany-a2d092dfd000284b249b722f225456e700359e09.tar.zst
gsoc2013-epiphany-a2d092dfd000284b249b722f225456e700359e09.zip
Rename the password manager's methods to give better names in the
2005-01-15 Jean-François rameau <jframeau@cvs.gnome.org> * embed/ephy-password-manager.h: * embed/ephy-password-manager.c: * src/pdm-dialog.c: (pdm_dialog_password_remove), (pdm_dialog_fill_passwords_list) Rename the password manager's methods to give better names in the bindings. ephy_password_manager_add -> ephy_password_manager_add_password ephy_password_manager_remove -> ephy_password_manager_remove_password ephy_password_manager_list -> ephy_password_manager_list_passwords
-rw-r--r--ChangeLog13
-rw-r--r--embed/ephy-password-manager.c16
-rw-r--r--embed/ephy-password-manager.h6
-rwxr-xr-xsrc/pdm-dialog.c4
4 files changed, 26 insertions, 13 deletions
diff --git a/ChangeLog b/ChangeLog
index 9b014c224..7bb3dff93 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2005-01-15 Jean-François rameau <jframeau@cvs.gnome.org>
+
+ * embed/ephy-password-manager.h:
+ * embed/ephy-password-manager.c:
+ * src/pdm-dialog.c: (pdm_dialog_password_remove),
+ (pdm_dialog_fill_passwords_list)
+
+ Rename the password manager's methods to give better names
+ in the bindings.
+ ephy_password_manager_add -> ephy_password_manager_add_password
+ ephy_password_manager_remove -> ephy_password_manager_remove_password
+ ephy_password_manager_list -> ephy_password_manager_list_passwords
+
2005-01-15 Christian Persch <chpe@cvs.gnome.org>
* src/bookmarks/ephy-bookmarks-editor.c:
diff --git a/embed/ephy-password-manager.c b/embed/ephy-password-manager.c
index 4a1023c8e..e54bfb343 100644
--- a/embed/ephy-password-manager.c
+++ b/embed/ephy-password-manager.c
@@ -157,37 +157,37 @@ ephy_password_manager_base_init (gpointer g_class)
}
/**
- * ephy_password_manager_add:
+ * ephy_password_manager_add_password:
* @manager: the #EphyPasswordManager
* @info: a #EphyPasswordInfo
*
* Adds the password entry @info to the the passwords database.
**/
void
-ephy_password_manager_add (EphyPasswordManager *manager,
- EphyPasswordInfo *info)
+ephy_password_manager_add_password (EphyPasswordManager *manager,
+ EphyPasswordInfo *info)
{
EphyPasswordManagerIface *iface = EPHY_PASSWORD_MANAGER_GET_IFACE (manager);
iface->add (manager, info);
}
/**
- * ephy_password_manager_remove:
+ * ephy_password_manager_remove_password:
* @manager: the #EphyPasswordManager
* @info: a #EphyPasswordInfo
*
* Removes the password entry @info from the passwords database.
**/
void
-ephy_password_manager_remove (EphyPasswordManager *manager,
- EphyPasswordInfo *info)
+ephy_password_manager_remove_password (EphyPasswordManager *manager,
+ EphyPasswordInfo *info)
{
EphyPasswordManagerIface *iface = EPHY_PASSWORD_MANAGER_GET_IFACE (manager);
iface->remove (manager, info);
}
/**
- * ephy_password_manager_list:
+ * ephy_password_manager_list_passwords:
* @manager: the #EphyPasswordManager
*
* Lists all password entries in the passwords database.
@@ -195,7 +195,7 @@ ephy_password_manager_remove (EphyPasswordManager *manager,
* Return value: the list of password entries
**/
GList *
-ephy_password_manager_list (EphyPasswordManager *manager)
+ephy_password_manager_list_passwords(EphyPasswordManager *manager)
{
EphyPasswordManagerIface *iface = EPHY_PASSWORD_MANAGER_GET_IFACE (manager);
return iface->list (manager);
diff --git a/embed/ephy-password-manager.h b/embed/ephy-password-manager.h
index 1b32f6ee0..59fc3a311 100644
--- a/embed/ephy-password-manager.h
+++ b/embed/ephy-password-manager.h
@@ -77,13 +77,13 @@ void ephy_password_info_free (EphyPasswordInfo *info);
GType ephy_password_manager_get_type (void);
-void ephy_password_manager_add (EphyPasswordManager *manager,
+void ephy_password_manager_add_password (EphyPasswordManager *manager,
EphyPasswordInfo *info);
-void ephy_password_manager_remove (EphyPasswordManager *manager,
+void ephy_password_manager_remove_password (EphyPasswordManager *manager,
EphyPasswordInfo *info);
-GList * ephy_password_manager_list (EphyPasswordManager *manager);
+GList * ephy_password_manager_list_passwords (EphyPasswordManager *manager);
G_END_DECLS
diff --git a/src/pdm-dialog.c b/src/pdm-dialog.c
index 49d8401a8..e163a3505 100755
--- a/src/pdm-dialog.c
+++ b/src/pdm-dialog.c
@@ -705,7 +705,7 @@ pdm_dialog_fill_passwords_list (PdmActionInfo *info)
manager = EPHY_PASSWORD_MANAGER (ephy_embed_shell_get_embed_single
(EPHY_EMBED_SHELL (ephy_shell)));
- list = ephy_password_manager_list (manager);
+ list = ephy_password_manager_list_passwords (manager);
for (l = list; l != NULL; l = l->next)
{
@@ -772,7 +772,7 @@ pdm_dialog_password_remove (PdmActionInfo *info,
g_signal_handlers_block_by_func
(manager, G_CALLBACK (passwords_changed_cb), info->dialog);
- ephy_password_manager_remove (manager, pinfo);
+ ephy_password_manager_remove_password (manager, pinfo);
g_signal_handlers_unblock_by_func
(manager, G_CALLBACK (passwords_changed_cb), info->dialog);