Don't destroy the account settings window with parent.
[modest] / src / hildon2 / modest-account-view-window.c
index 5cdfea1..460f8c4 100644 (file)
@@ -272,6 +272,7 @@ on_account_activated (GtkTreeView *account_view,
                        ModestAccountSettingsDialog *dialog =
                                modest_account_protocol_get_account_settings_dialog (proto, account_name);
                        modest_window_mgr_set_modal (modest_runtime_get_window_mgr (), GTK_WINDOW (dialog), GTK_WINDOW (self));
+                       gtk_window_set_destroy_with_parent (GTK_WINDOW (dialog), FALSE);
                        gtk_widget_show (GTK_WIDGET (dialog));
                }
        }
@@ -321,6 +322,8 @@ setup_button_box (ModestAccountViewWindow *self, GtkButtonBox *box)
        ModestAccountViewWindowPrivate *priv = MODEST_ACCOUNT_VIEW_WINDOW_GET_PRIVATE(self);
 
        priv->new_button     = gtk_button_new_from_stock(_HL("wdgt_bd_new"));
+       hildon_gtk_widget_set_theme_size (priv->new_button,
+                                         HILDON_SIZE_FINGER_HEIGHT);
 
        g_signal_connect (G_OBJECT(priv->new_button), "clicked",
                          G_CALLBACK(on_new_button_clicked),