* src/maemo/modest-connection-specific-smtp-window.c:
authorJose Dapena Paz <jdapena@igalia.com>
Thu, 31 May 2007 21:24:59 +0000 (21:24 +0000)
committerJose Dapena Paz <jdapena@igalia.com>
Thu, 31 May 2007 21:24:59 +0000 (21:24 +0000)
        * Add a default string "Not defined" for connections without an smtp
          server configured (fixes NB#59217).

pmo-trunk-r2023

src/maemo/modest-connection-specific-smtp-window.c

index 389910d..bb6cf9b 100644 (file)
@@ -513,6 +513,10 @@ void update_model_server_names (ModestConnectionSpecificSmtpWindow *self)
                                            MODEL_COL_SERVER_NAME, hostname,
                                            -1);
                        g_free (hostname);
+               } else {
+                       gtk_list_store_set (GTK_LIST_STORE (priv->model), &iter,
+                                           MODEL_COL_SERVER_NAME, _("mcen_ia_optionalsmtp_notdefined"),
+                                           -1);
                }
                        
                /* Get next row: */