[nautilus-sendto] Fix socialweb plugin for latest API changes
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus-sendto] Fix socialweb plugin for latest API changes
- Date: Tue, 21 Sep 2010 10:41:00 +0000 (UTC)
commit 6f50d54898c2d58c8748bb728f97a44ff18e6f46
Author: Bastien Nocera <hadess hadess net>
Date: Tue Sep 21 11:40:02 2010 +0100
Fix socialweb plugin for latest API changes
src/plugins/socialweb/socialweb.c | 18 ++++++++++++++----
1 files changed, 14 insertions(+), 4 deletions(-)
---
diff --git a/src/plugins/socialweb/socialweb.c b/src/plugins/socialweb/socialweb.c
index 01d145c..d15754c 100644
--- a/src/plugins/socialweb/socialweb.c
+++ b/src/plugins/socialweb/socialweb.c
@@ -57,14 +57,24 @@ NAUTILUS_PLUGIN_REGISTER(SOCIALWEB_TYPE_PLUGIN, SocialwebPlugin, socialweb_plugi
static void
socialweb_plugin_send_files (NautilusSendtoPlugin *plugin,
- GList *file_list,
- GAsyncReadyCallback callback,
- gpointer user_data)
+ const char *id,
+ GList *file_list,
+ GAsyncReadyCallback callback,
+ gpointer user_data)
{
+ SocialwebPlugin *p = SOCIALWEB_PLUGIN (plugin);
+ SocialwebPage *page;
+
+ g_message ("socialweb_plugin_send_files %s", id);
+
+ page = g_hash_table_lookup (p->pages, id);
+ g_return_if_fail (page != NULL);
+
+ /* FIXME call sw_client_service_upload_photo */
+
/* FIXME
* hack for facebook, convert files to jpeg for upload */
#if 0
- SocialwebPlugin *p = SOCIALWEB_PLUGIN (plugin);
GtkListStore *store;
GtkTreeIter iter;
GMount *dest_mount;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]