diff options
author | Vivek Jain <jvivek@novell.com> | 2005-01-13 19:32:17 +0800 |
---|---|---|
committer | Jain Vivek <jvivek@src.gnome.org> | 2005-01-13 19:32:17 +0800 |
commit | 30bab8c491c75223386c71a7e1c265791d6b7c9c (patch) | |
tree | 2d86ea4ddeea2171e29e85c8a06d1fb610316086 /plugins/shared-folder/install-shared.c | |
parent | b52ceae69038cf629b93b8d3e403a8a7ebec886d (diff) | |
download | gsoc2013-evolution-30bab8c491c75223386c71a7e1c265791d6b7c9c.tar.gz gsoc2013-evolution-30bab8c491c75223386c71a7e1c265791d6b7c9c.tar.zst gsoc2013-evolution-30bab8c491c75223386c71a7e1c265791d6b7c9c.zip |
changed the function find_node to return user node corresponding to the
2005-01-13 Vivek Jain <jvivek@novell.com>
* share-folder.c :changed the function find_node to return user node
corresponding to the mail address given.
(add_clicked): added a condition so that user can't share folder to himself.
(user_selected): modified to display proper rights when owner is selected.
* share-folder-common.c : calling share_folder with a cnc in it.
svn path=/trunk/; revision=28390
Diffstat (limited to 'plugins/shared-folder/install-shared.c')
-rw-r--r-- | plugins/shared-folder/install-shared.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/shared-folder/install-shared.c b/plugins/shared-folder/install-shared.c index 7eb1191e95..6b7e7b8f78 100644 --- a/plugins/shared-folder/install-shared.c +++ b/plugins/shared-folder/install-shared.c @@ -192,6 +192,7 @@ org_gnome_popup_wizard (EPlugin *ep, EMEventTargetMessage *target) camel_data_wrapper_write_to_stream(dw, (CamelStream *)content); buffer = g_malloc0 (content->buffer->len+1) ; buffer = memcpy (buffer, content->buffer->data, content->buffer->len) ; +/* buffer = camel_mime_message_build_mbox_from ( (CamelMimeMessage *)target->message) ;*/ from_addr = camel_mime_message_get_from ((CamelMimeMessage *)target->message); if (camel_internet_address_get (from_addr,0, &name, &email)) subject = camel_mime_message_get_subject (target->message) ; @@ -203,6 +204,7 @@ org_gnome_popup_wizard (EPlugin *ep, EMEventTargetMessage *target) finish_page = GNOME_DRUID_PAGE_EDGE (gnome_druid_page_edge_new_with_vals(GNOME_EDGE_FINISH, TRUE, "finished Install the shared folder", "said", NULL,NULL, NULL)); wizard = GNOME_DRUID (gnome_druid_new_with_window ("Shared Folder Installation", NULL, TRUE, (GtkWidget**)(&window))); gnome_druid_append_page(wizard, GNOME_DRUID_PAGE(title_page)); + gtk_window_set_position (GTK_WINDOW (window) , GTK_WIN_POS_CENTER_ALWAYS); gtk_widget_show_all (GTK_WIDGET (title_page)); gnome_druid_append_page(wizard, GNOME_DRUID_PAGE(middle_page)); gtk_widget_show_all (GTK_WIDGET (middle_page)); |