diff options
author | Dan Winship <danw@src.gnome.org> | 2001-06-29 03:47:55 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2001-06-29 03:47:55 +0800 |
commit | fcc55e12d5181ff964cad8e69427810eb07f7f3c (patch) | |
tree | 0c7a1464accf82573ac75cd8f1a7fbfe2b1cd95b | |
parent | 07fcfdf4365247cc1874c3193ea38e0dd4036710 (diff) | |
download | gsoc2013-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
-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; } |