2007-07-11 Armin Burgmeier <armin@openismus.com>
authorArmin Burgmeier <armin@openismus.com>
Wed, 11 Jul 2007 18:25:49 +0000 (18:25 +0000)
committerArmin Burgmeier <armin@openismus.com>
Wed, 11 Jul 2007 18:25:49 +0000 (18:25 +0000)
* src/widgets/maemo-folder-view.c (modest_folder_view_on_map): Set
priv->reselect to FALSE prior to calling
modest_folder_view_select_first_inbox_or_local() to prevent endless
recursion and thus a crash on startup.

pmo-trunk-r2717

ChangeLog2
src/widgets/modest-folder-view.c

index 02acee2..31215c2 100644 (file)
@@ -1,5 +1,12 @@
 2007-07-11  Armin Burgmeier  <armin@openismus.com>
 
 2007-07-11  Armin Burgmeier  <armin@openismus.com>
 
+       * src/widgets/maemo-folder-view.c (modest_folder_view_on_map): Set
+       priv->reselect to FALSE prior to calling
+       modest_folder_view_select_first_inbox_or_local() to prevent endless
+       recursion and thus a crash on startup.
+
+2007-07-11  Armin Burgmeier  <armin@openismus.com>
+
        * src/maemo/modest-account-settings-dialog.h: Include
        <gtk/gtknotebook.h> to fix the build (at least for me).
 
        * src/maemo/modest-account-settings-dialog.h: Include
        <gtk/gtknotebook.h> to fix the build (at least for me).
 
index b732660..5a22557 100644 (file)
@@ -877,8 +877,8 @@ modest_folder_view_on_map (ModestFolderView *self,
                   need to rewrite some parts of Modest to avoid the
                   deathlock situation */
                /* TODO: check if this is still the case */
                   need to rewrite some parts of Modest to avoid the
                   deathlock situation */
                /* TODO: check if this is still the case */
-               modest_folder_view_select_first_inbox_or_local (self);
                priv->reselect = FALSE;
                priv->reselect = FALSE;
+               modest_folder_view_select_first_inbox_or_local (self);
        }
        return FALSE;
 }
        }
        return FALSE;
 }