aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-06-29 03:47:55 +0800
committerDan Winship <danw@src.gnome.org>2001-06-29 03:47:55 +0800
commitfcc55e12d5181ff964cad8e69427810eb07f7f3c (patch)
tree0c7a1464accf82573ac75cd8f1a7fbfe2b1cd95b /shell
parent07fcfdf4365247cc1874c3193ea38e0dd4036710 (diff)
downloadgsoc2013-evolution-fcc55e12d5181ff964cad8e69427810eb07f7f3c.tar.gz
gsoc2013-evolution-fcc55e12d5181ff964cad8e69427810eb07f7f3c.tar.zst
gsoc2013-evolution-fcc55e12d5181ff964cad8e69427810eb07f7f3c.zip
(e_storage_new_folder): Move the folder_changed_cb() call to avoid
a g_warning. svn path=/trunk/; revision=10570
Diffstat (limited to 'shell')
-rw-r--r--shell/ChangeLog2
-rw-r--r--shell/e-storage.c3
2 files changed, 4 insertions, 1 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 683b649ac5..8c33dd7dca 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -3,6 +3,8 @@
* e-storage.c (e_storage_new_folder): Call folder_changed_cb after
adding the new folder so that if it was added highlighted, its
parent will get its child_highlight set.
+ (e_storage_new_folder): Move the folder_changed_cb() call to avoid
+ a g_warning.
2001-06-28 Ettore Perazzoli <ettore@ximian.com>
diff --git a/shell/e-storage.c b/shell/e-storage.c
index a569d36f3d..0b2734252e 100644
--- a/shell/e-storage.c
+++ b/shell/e-storage.c
@@ -574,10 +574,11 @@ e_storage_new_folder (EStorage *storage,
gtk_signal_connect_while_alive (GTK_OBJECT (e_folder), "changed", folder_changed_cb,
storage, GTK_OBJECT (storage));
- folder_changed_cb (e_folder, storage);
gtk_signal_emit (GTK_OBJECT (storage), signals[NEW_FOLDER], path);
+ folder_changed_cb (e_folder, storage);
+
return TRUE;
}