diff options
-rw-r--r-- | shell/ChangeLog | 2 | ||||
-rw-r--r-- | shell/e-storage.c | 3 |
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; } |