diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-08-10 04:39:18 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2011-08-10 12:14:32 +0800 |
commit | a58ded435786d5174735b4a501878d8d30240ba1 (patch) | |
tree | dffbee6986cf54cb4074f5cd162bfd14e0171cc8 /plugins | |
parent | fe67798104f76f0a794093bddcaf9d165df50bf5 (diff) | |
download | gsoc2013-evolution-a58ded435786d5174735b4a501878d8d30240ba1.tar.gz gsoc2013-evolution-a58ded435786d5174735b4a501878d8d30240ba1.tar.zst gsoc2013-evolution-a58ded435786d5174735b4a501878d8d30240ba1.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.c | 4 | ||||
-rw-r--r-- | plugins/pst-import/pst-importer.c | 4 |
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); |