aboutsummaryrefslogtreecommitdiffstats
path: root/src/pdm-dialog.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-02-06 04:28:09 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-02-06 04:28:09 +0800
commit768eae4a4874a7fe0eada98423f61d84f6416bde (patch)
tree707977820ddbc47121fb107c8569cbb5bb2ef566 /src/pdm-dialog.c
parent4e522c23a0650605cf8270f381ca10f2f35bbf78 (diff)
downloadgsoc2013-epiphany-768eae4a4874a7fe0eada98423f61d84f6416bde.tar
gsoc2013-epiphany-768eae4a4874a7fe0eada98423f61d84f6416bde.tar.gz
gsoc2013-epiphany-768eae4a4874a7fe0eada98423f61d84f6416bde.tar.bz2
gsoc2013-epiphany-768eae4a4874a7fe0eada98423f61d84f6416bde.tar.lz
gsoc2013-epiphany-768eae4a4874a7fe0eada98423f61d84f6416bde.tar.xz
gsoc2013-epiphany-768eae4a4874a7fe0eada98423f61d84f6416bde.tar.zst
gsoc2013-epiphany-768eae4a4874a7fe0eada98423f61d84f6416bde.zip
*** empty log message ***
Diffstat (limited to 'src/pdm-dialog.c')
-rwxr-xr-xsrc/pdm-dialog.c40
1 files changed, 24 insertions, 16 deletions
diff --git a/src/pdm-dialog.c b/src/pdm-dialog.c
index 3524d6495..fc0a102f0 100755
--- a/src/pdm-dialog.c
+++ b/src/pdm-dialog.c
@@ -427,53 +427,61 @@ static void
pdm_dialog_cookie_remove (PdmActionInfo *info,
GList *data)
{
- ephy_embed_shell_remove_cookies
- (EPHY_EMBED_SHELL (ephy_shell), data);
+ EphyEmbedSingle *single;
+ single = ephy_embed_shell_get_embed_single
+ (EPHY_EMBED_SHELL (ephy_shell));
+ ephy_embed_single_remove_cookies (single, data);
}
static void
pdm_dialog_password_remove (PdmActionInfo *info,
GList *data)
{
- ephy_embed_shell_remove_passwords
- (EPHY_EMBED_SHELL (ephy_shell), data,
- PASSWORD_PASSWORD);
+ EphyEmbedSingle *single;
+ single = ephy_embed_shell_get_embed_single
+ (EPHY_EMBED_SHELL (ephy_shell));
+
+ ephy_embed_single_remove_passwords (single, data,
+ PASSWORD_PASSWORD);
}
static void
pdm_dialog_cookies_free (PdmActionInfo *info,
GList *data)
{
- EphyEmbedShell *shell;
GList *l;
+ EphyEmbedSingle *single;
+ single = ephy_embed_shell_get_embed_single
+ (EPHY_EMBED_SHELL (ephy_shell));
- shell = EPHY_EMBED_SHELL (ephy_shell);
l = data ? data : info->list;
- ephy_embed_shell_free_cookies (shell, l);
+ ephy_embed_single_free_cookies (single, l);
}
static void
pdm_dialog_passwords_free (PdmActionInfo *info,
GList *data)
{
- EphyEmbedShell *shell;
GList *l;
+ EphyEmbedSingle *single;
+ single = ephy_embed_shell_get_embed_single
+ (EPHY_EMBED_SHELL (ephy_shell));
- shell = EPHY_EMBED_SHELL (ephy_shell);
l = data ? data : info->list;
- ephy_embed_shell_free_passwords (shell, l);
+ ephy_embed_single_free_passwords (single, l);
}
static void
pdm_dialog_init (PdmDialog *dialog)
{
- EphyEmbedShell *shell;
PdmActionInfo *cookies;
PdmActionInfo *passwords;
GtkWidget *cookies_tv;
GtkWidget *passwords_tv;
+ EphyEmbedSingle *single;
- shell = EPHY_EMBED_SHELL (ephy_shell);
+ single = ephy_embed_shell_get_embed_single
+ (EPHY_EMBED_SHELL (ephy_shell));
dialog->priv = g_new0 (PdmDialogPrivate, 1);
dialog->priv->cookies = NULL;
@@ -488,7 +496,7 @@ pdm_dialog_init (PdmDialog *dialog)
passwords_tv = setup_passwords_treeview (dialog);
cookies = g_new0 (PdmActionInfo, 1);
- ephy_embed_shell_list_cookies (shell, &cookies->list);
+ ephy_embed_single_list_cookies (single, &cookies->list);
cookies->dialog = dialog;
cookies->remove_id = PROP_COOKIES_REMOVE;
cookies->add = pdm_dialog_cookie_add;
@@ -499,8 +507,8 @@ pdm_dialog_init (PdmDialog *dialog)
setup_action (cookies);
passwords = g_new0 (PdmActionInfo, 1);
- ephy_embed_shell_list_passwords (shell, PASSWORD_PASSWORD,
- &passwords->list);
+ ephy_embed_single_list_passwords (single, PASSWORD_PASSWORD,
+ &passwords->list);
passwords->dialog = dialog;
passwords->remove_id = PROP_PASSWORDS_REMOVE;
passwords->add = pdm_dialog_password_add;