From: Murray Cumming Date: Fri, 27 Jul 2007 08:41:38 +0000 (+0000) Subject: 2007-07-27 Murray Cumming X-Git-Tag: git_migration_finished~2727 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=2fdc2098eafeff06bef3764fb77a94ac430e674f 2007-07-27 Murray Cumming * src/maemo/modest-main-window.c: (modest_main_window_on_show): Offer a connection dialog if there is no connection when starting modest. This should fix projects.maemo.org bug NB#61134. pmo-trunk-r2816 --- diff --git a/ChangeLog2 b/ChangeLog2 index b53a045..80ce63a 100644 --- a/ChangeLog2 +++ b/ChangeLog2 @@ -1,5 +1,11 @@ 2007-07-27 Murray Cumming + * src/maemo/modest-main-window.c: (modest_main_window_on_show): + Offer a connection dialog if there is no connection when + starting modest. This should fix projects.maemo.org bug NB#61134. + +2007-07-27 Murray Cumming + * src/maemo/modest-msg-edit-window.c: (replace_with_attachments): Reverted my last commit. I was able to fix the build by doing apt-get install wpeditor0 (replacing other wpeditor packages) and diff --git a/src/maemo/modest-main-window.c b/src/maemo/modest-main-window.c index 31781b3..d61565f 100644 --- a/src/maemo/modest-main-window.c +++ b/src/maemo/modest-main-window.c @@ -799,7 +799,9 @@ modest_main_window_on_show (GtkWidget *self, gpointer user_data) modest_account_mgr_free_account_names (accounts); } - + /* The UI spec wants us to show a connection dialog when the application is + * started by the user, if there is no connection: */ + modest_platform_connect_and_wait (GTK_WINDOW (self), NULL); } ModestWindow * diff --git a/src/modest-ui-actions.c b/src/modest-ui-actions.c index cee2bdb..8fce36c 100644 --- a/src/modest-ui-actions.c +++ b/src/modest-ui-actions.c @@ -1809,7 +1809,8 @@ modest_ui_actions_on_item_not_found (ModestHeaderView *header_view,ModestItemTyp gtk_window_set_default_size (GTK_WINDOW(dialog), 300, 300); if (gtk_dialog_run (GTK_DIALOG(dialog)) == GTK_RESPONSE_ACCEPT) { -// modest_platform_connect_and_wait (); + /* TODO: Comment about why is this commented out: */ + /* modest_platform_connect_and_wait (); */ } } gtk_widget_destroy (dialog);