aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-08-10 04:39:18 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-09-14 20:08:46 +0800
commit265b23b1eb70593a5c99bc1aa00fcc7a66000739 (patch)
tree32dff83390622dbd24d3eccaa92f887e54dd0288 /plugins
parent77d14c71c1c4acd82287be23d49e894044af74b5 (diff)
downloadgsoc2013-evolution-265b23b1eb70593a5c99bc1aa00fcc7a66000739.tar
gsoc2013-evolution-265b23b1eb70593a5c99bc1aa00fcc7a66000739.tar.gz
gsoc2013-evolution-265b23b1eb70593a5c99bc1aa00fcc7a66000739.tar.bz2
gsoc2013-evolution-265b23b1eb70593a5c99bc1aa00fcc7a66000739.tar.lz
gsoc2013-evolution-265b23b1eb70593a5c99bc1aa00fcc7a66000739.tar.xz
gsoc2013-evolution-265b23b1eb70593a5c99bc1aa00fcc7a66000739.tar.zst
gsoc2013-evolution-265b23b1eb70593a5c99bc1aa00fcc7a66000739.zip
EMFolderSelectionButton: Add a "folder-uri" property.
And rename a couple get/set functions to match the property name.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/dbx-import/dbx-importer.c4
-rw-r--r--plugins/pst-import/pst-importer.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/plugins/dbx-import/dbx-importer.c b/plugins/dbx-import/dbx-importer.c
index 3bc70030db..0a25169189 100644
--- a/plugins/dbx-import/dbx-importer.c
+++ b/plugins/dbx-import/dbx-importer.c
@@ -192,7 +192,7 @@ static void
folder_selected (EMFolderSelectionButton *button, EImportTargetURI *target)
{
g_free (target->uri_dest);
- target->uri_dest = g_strdup (em_folder_selection_button_get_selection (button));
+ target->uri_dest = g_strdup (em_folder_selection_button_get_folder_uri (button));
}
GtkWidget *
@@ -260,7 +260,7 @@ org_gnome_evolution_readdbx_getwidget (EImport *ei,
_("Select folder to import into"));
gtk_label_set_mnemonic_widget (label, w);
- em_folder_selection_button_set_selection (
+ em_folder_selection_button_set_folder_uri (
EM_FOLDER_SELECTION_BUTTON (w), select_uri);
folder_selected (
EM_FOLDER_SELECTION_BUTTON (w), (EImportTargetURI *) target);
diff --git a/plugins/pst-import/pst-importer.c b/plugins/pst-import/pst-importer.c
index bdf5c27fe9..b7e2684458 100644
--- a/plugins/pst-import/pst-importer.c
+++ b/plugins/pst-import/pst-importer.c
@@ -206,7 +206,7 @@ static void
folder_selected (EMFolderSelectionButton *button, EImportTargetURI *target)
{
g_free (target->uri_dest);
- target->uri_dest = g_strdup (em_folder_selection_button_get_selection (button));
+ target->uri_dest = g_strdup (em_folder_selection_button_get_folder_uri (button));
}
/**
@@ -443,7 +443,7 @@ org_credativ_evolution_readpst_getwidget (EImport *ei, EImportTarget *target, EI
_("Select folder to import into"));
foldername = get_suggested_foldername ((EImportTargetURI *) target);
((EImportTargetURI *) target)->uri_dest = g_strdup (foldername);
- em_folder_selection_button_set_selection ((EMFolderSelectionButton *) w, foldername);
+ em_folder_selection_button_set_folder_uri ((EMFolderSelectionButton *) w, foldername);
g_signal_connect (w, "selected", G_CALLBACK (folder_selected), target);
gtk_box_pack_end ((GtkBox *) hbox, w, FALSE, FALSE, 0);
g_signal_connect (check, "toggled", G_CALLBACK (widget_sanitizer_cb), w);