aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-07-12 04:53:33 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-07-12 04:53:33 +0800
commit8d4ff95e73eb30d7fd841637423bbfa489c156cd (patch)
tree1561df2c7a6e9b1b7ef1b8ab0a3321d76f43c2a6
parentf87d11c476413fa6a48648dbdd5dcab1fbd1a28d (diff)
downloadgsoc2013-evolution-8d4ff95e73eb30d7fd841637423bbfa489c156cd.tar
gsoc2013-evolution-8d4ff95e73eb30d7fd841637423bbfa489c156cd.tar.gz
gsoc2013-evolution-8d4ff95e73eb30d7fd841637423bbfa489c156cd.tar.bz2
gsoc2013-evolution-8d4ff95e73eb30d7fd841637423bbfa489c156cd.tar.lz
gsoc2013-evolution-8d4ff95e73eb30d7fd841637423bbfa489c156cd.tar.xz
gsoc2013-evolution-8d4ff95e73eb30d7fd841637423bbfa489c156cd.tar.zst
gsoc2013-evolution-8d4ff95e73eb30d7fd841637423bbfa489c156cd.zip
(set_selected_folders): Set the
customIconName part to the empty string. [#27616] Also, set_release on the sequence to TRUE. svn path=/trunk/; revision=17423
-rw-r--r--my-evolution/ChangeLog6
-rw-r--r--my-evolution/e-summary-preferences.c12
-rw-r--r--shell/ChangeLog5
3 files changed, 19 insertions, 4 deletions
diff --git a/my-evolution/ChangeLog b/my-evolution/ChangeLog
index e3cab6c49c..07f1791545 100644
--- a/my-evolution/ChangeLog
+++ b/my-evolution/ChangeLog
@@ -1,3 +1,9 @@
+2002-07-11 Ettore Perazzoli <ettore@ximian.com>
+
+ * e-summary-preferences.c (set_selected_folders): Set the
+ customIconName part to the empty string. [#27616]
+ Also, set_release on the sequence to TRUE.
+
2002-06-28 Dan Winship <danw@ximian.com>
* e-summary-mail.c (e_summary_mail_idle_get_info): Add this, to
diff --git a/my-evolution/e-summary-preferences.c b/my-evolution/e-summary-preferences.c
index 61b4932e71..46ca5f6bfd 100644
--- a/my-evolution/e-summary-preferences.c
+++ b/my-evolution/e-summary-preferences.c
@@ -1325,21 +1325,25 @@ set_selected_folders (GNOME_Evolution_StorageSetView view)
list->_maximum = count;
list->_buffer = CORBA_sequence_GNOME_Evolution_Folder_allocbuf (count);
+ CORBA_sequence_set_release (list->_buffer, TRUE);
+
for (i = 0, l = global_preferences->display_folders; l; i++, l = l->next) {
ESummaryPrefsFolder *folder = l->data;
- /* Set duff values execpt for physicalUri & evolutionUri*/
list->_buffer[i].type = CORBA_string_dup ("");
list->_buffer[i].description = CORBA_string_dup ("");
list->_buffer[i].displayName = CORBA_string_dup ("");
- if (strncmp (folder->evolution_uri, "evolution:", 10) == 0) {
+
+ if (strncmp (folder->evolution_uri, "evolution:", 10) == 0)
list->_buffer[i].evolutionUri = CORBA_string_dup (folder->evolution_uri + 10);
- } else {
+ else
list->_buffer[i].evolutionUri = CORBA_string_dup (folder->evolution_uri);
- }
+
list->_buffer[i].physicalUri = CORBA_string_dup (folder->physical_uri);
list->_buffer[i].unreadCount = 0;
list->_buffer[i].canSyncOffline = TRUE;
+ list->_buffer[i].sortingPriority = 0;
+ list->_buffer[i].customIconName = CORBA_string_dup ("");
}
CORBA_exception_init (&ev);
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 02e3d4bdb1..d4cf410a3f 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,5 +1,10 @@
2002-07-11 Ettore Perazzoli <ettore@ximian.com>
+ * evolution-storage-set-view.c
+ (impl_StorageSetView__set_checkedFolders): Remove extra braces.
+
+2002-07-11 Ettore Perazzoli <ettore@ximian.com>
+
* e-shell-view.c (update_folder_title_bar): Ref the folder_icon
that we get from e_folder_type_registry_get_icon_for_type().