From 13c9d214fa4b93a0c3ae08a533a8605b13a323b1 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Mon, 20 May 2002 19:06:03 +0000 Subject: Set the can_sync_offline property on the EFolder based on the * e-corba-storage.c (impl_StorageListener_notifyFolderCreated): Set the can_sync_offline property on the EFolder based on the canSyncOffline value on the CORBA folder. * evolution-test-component.c (setup_custom_storage): Pass FALSE for @sync_offline to evolution_storage_new_folder(). * e-local-storage.c (new_folder): Pass FALSE for @sync_offline to evolution_storage_new_folder(). * evolution-storage.h (evolution_storage_new_folder): New arg @can_sync_offline. * subscribe-dialog.c (recursive_add_folder): Pass TRUE for @sync_offline to evolution_storage_new_folder(). * mail-folder-cache.c (real_flush_updates): Pass TRUE for @sync_offline to evolution_storage_new_folder(). * gui/component/addressbook-storage.c (load_source_data): Pass FALSE for @sync_offline to evolution_storage_new_folder(). (addressbook_storage_add_source): Pass FALSE for @sync_offline to evolution_storage_new_folder(). svn path=/trunk/; revision=16947 --- mail/ChangeLog | 8 + mail/mail-config.glade | 522 +++++++++++------------------------------------ mail/mail-folder-cache.c | 4 +- mail/subscribe-dialog.c | 2 +- 4 files changed, 126 insertions(+), 410 deletions(-) (limited to 'mail') diff --git a/mail/ChangeLog b/mail/ChangeLog index b78dbef629..838d31935f 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,11 @@ +2002-05-20 Ettore Perazzoli + + * subscribe-dialog.c (recursive_add_folder): Pass TRUE for + @sync_offline to evolution_storage_new_folder(). + + * mail-folder-cache.c (real_flush_updates): Pass TRUE for + @sync_offline to evolution_storage_new_folder(). + 2002-05-20 Ettore Perazzoli * mail-callbacks.c (composer_sent_cb): Always unref the composer diff --git a/mail/mail-config.glade b/mail/mail-config.glade index 3c6884c5cf..0040fe6271 100644 --- a/mail/mail-config.glade +++ b/mail/mail-config.glade @@ -250,7 +250,7 @@ Click "Finish" to save your settings. account_vbox 3 False - 0 + 3 GtkLabel @@ -261,8 +261,8 @@ For example: "Work" or "Personal" False 0 0.5 - 0 - 0 + 3 + 3 0 False @@ -476,8 +476,8 @@ For example: "Work" or "Personal" GtkTable identity_optional_table 3 - 4 - 4 + 3 + 2 False 3 3 @@ -512,14 +512,13 @@ For example: "Work" or "Personal" GtkLabel label-sig-text - + GTK_JUSTIFY_LEFT False 0 0.5 0 0 - option-sig-text 0 1 @@ -536,33 +535,6 @@ For example: "Work" or "Personal" - - GtkLabel - label-sig-html - - GTK_JUSTIFY_LEFT - False - 0 - 0.5 - 0 - 0 - option-sig-html - - 0 - 1 - 3 - 4 - 0 - 0 - False - False - False - False - True - False - - - GtkEntry identity_organization @@ -573,7 +545,7 @@ For example: "Work" or "Personal" 1 - 4 + 2 1 2 0 @@ -587,143 +559,6 @@ For example: "Work" or "Personal" - - GtkButton - button-sig-edit-text - True - - GTK_RELIEF_NORMAL - - 3 - 4 - 2 - 3 - 0 - 0 - False - False - False - False - True - False - - - - - GtkButton - button-sig-edit-html - True - - GTK_RELIEF_NORMAL - - 3 - 4 - 3 - 4 - 0 - 0 - False - False - False - False - True - False - - - - - GtkButton - button-sig-new-text - True - - GTK_RELIEF_NORMAL - - 2 - 3 - 2 - 3 - 0 - 0 - False - False - False - False - True - False - - - - - GtkButton - button-sig-new-html - True - - GTK_RELIEF_NORMAL - - 2 - 3 - 3 - 4 - 0 - 0 - False - False - False - False - True - False - - - - - GtkOptionMenu - option-sig-html - True - None -Same as text -Random - - 0 - - 1 - 2 - 3 - 4 - 0 - 0 - False - False - False - False - True - False - - - - - GtkOptionMenu - option-sig-text - True - None -Random - - 0 - - 1 - 2 - 2 - 3 - 0 - 0 - True - False - False - False - True - False - - - GtkLabel reply_to_label @@ -761,7 +596,7 @@ Random 1 - 4 + 2 0 1 0 @@ -774,6 +609,41 @@ Random False + + + GtkAlignment + alignment27 + 0 + 0.5 + 0 + 1 + + 1 + 2 + 2 + 3 + 0 + 0 + True + False + False + False + True + False + + + + GtkOptionMenu + optionmenu2 + True + Default + +Signature #1 +Signature #2 + + 0 + + @@ -4374,8 +4244,8 @@ Baltic (ISO-8859-4) GtkCList clistSignatures True - 2 - 189,80 + 1 + 80 GTK_SELECTION_SINGLE True GTK_SHADOW_IN @@ -4383,22 +4253,9 @@ Baltic (ISO-8859-4) GtkLabel CList:title - lblSignature - - GTK_JUSTIFY_CENTER - False - 0.5 - 0.5 - 0 - 0 - - - - GtkLabel - CList:title - lblRandomized - - GTK_JUSTIFY_CENTER + label448 + + GTK_JUSTIFY_LEFT False 0.5 0.5 @@ -4420,23 +4277,6 @@ Baltic (ISO-8859-4) False - - GtkLabel - lblSpacer - - GTK_JUSTIFY_CENTER - False - 0.5 - 0.5 - 0 - 0 - - 0 - False - False - - - GtkVButtonBox vbuttonbox25 @@ -4457,7 +4297,7 @@ Baltic (ISO-8859-4) cmdSignatureAdd True True - + GTK_RELIEF_NORMAL @@ -4475,27 +4315,78 @@ Baltic (ISO-8859-4) cmdSignatureDelete True True - + GTK_RELIEF_NORMAL - - - GtkToggleButton - chkRandomSignature - True - - GTK_RELIEF_NORMAL - False - - 0 - False - False - + + GtkButton + button1 + True + True + + GTK_RELIEF_NORMAL + + + + GtkButton + button2 + True + True + + GTK_RELIEF_NORMAL + + + GtkHBox + hbox165 + False + 0 + + 0 + False + False + + + + GtkLabel + label449 + + GTK_JUSTIFY_CENTER + False + 0.5 + 0.5 + 3 + 0 + optionmenu1 + + 0 + False + False + + + + + GtkOptionMenu + optionmenu1 + True + Random + +Signature #1 +Signature #2 + + 0 + + 0 + False + False + + + + GtkHBox hbox162 @@ -4533,191 +4424,6 @@ Baltic (ISO-8859-4) - - - GtkCheckButton - chkAdvancedSignature - True - - False - True - - 0 - False - False - - - - - GtkFrame - frameAdvancedOptions - - 0 - GTK_SHADOW_ETCHED_IN - - 0 - False - False - - - - GtkTable - tableAdvancedOptions - 3 - 3 - 2 - False - 3 - 3 - - - GtkLabel - lblSignatureFilename - - GTK_JUSTIFY_CENTER - False - 0 - 0.5 - 0 - 0 - entry-sig-filename - - 0 - 1 - 1 - 2 - 0 - 0 - False - False - False - False - True - False - - - - - GnomeFileEntry - fileSignatureFilename - sig-filename - 10 - Select a signature file - False - True - - 1 - 2 - 1 - 2 - 0 - 0 - True - False - False - False - True - False - - - - GtkEntry - GnomeEntry:entry - entry-sig-filename - True - True - True - 0 - - - - - - GnomeFileEntry - fileSignatureScript - sig-script - 10 - Select a signature script - False - True - - 1 - 2 - 2 - 3 - 0 - 0 - True - False - False - False - True - False - - - - GtkEntry - GnomeEntry:entry - entry-sig-script - True - True - True - 0 - - - - - - GtkLabel - lblSignatureScript - - GTK_JUSTIFY_CENTER - False - 0 - 0.5 - 0 - 0 - entry-sig-script - - 0 - 1 - 2 - 3 - 0 - 0 - False - False - False - False - True - False - - - - - GtkCheckButton - chkHtmlSignature - True - - False - True - - 0 - 2 - 0 - 1 - 0 - 0 - False - False - False - False - True - False - - - - diff --git a/mail/mail-folder-cache.c b/mail/mail-folder-cache.c index a9479f3d36..4ceb61b16a 100644 --- a/mail/mail-folder-cache.c +++ b/mail/mail-folder-cache.c @@ -190,7 +190,9 @@ real_flush_updates(void *o, void *event_data, void *data) char *type = (strncmp(up->uri, "vtrash:", 7)==0)?"vtrash":"mail"; d(printf("Adding new folder: %s\n", up->path)); - evolution_storage_new_folder(storage, up->path, up->name, type, up->uri, up->name, up->unread); + evolution_storage_new_folder(storage, + up->path, up->name, type, up->uri, up->name, up->unread, + TRUE); } if (!up->olduri && up->add) diff --git a/mail/subscribe-dialog.c b/mail/subscribe-dialog.c index 25d6290094..b7a65e3089 100644 --- a/mail/subscribe-dialog.c +++ b/mail/subscribe-dialog.c @@ -185,7 +185,7 @@ recursive_add_folder (EvolutionStorage *storage, const char *path, const char *n g_free (parent); } - evolution_storage_new_folder (storage, path, name, "mail", url, name, FALSE); + evolution_storage_new_folder (storage, path, name, "mail", url, name, FALSE, TRUE); } /* ** Get one level of folderinfo ****************************************** */ -- cgit v1.2.3