#include <modest-runtime.h>
#include "modest-platform.h"
+#include "modest-text-utils.h"
#include "modest-account-protocol.h"
#include <modest-account-mgr-helpers.h>
#include <string.h>
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));
}
}
setup_button_box (ModestAccountViewWindow *self, GtkButtonBox *box)
{
ModestAccountViewWindowPrivate *priv = MODEST_ACCOUNT_VIEW_WINDOW_GET_PRIVATE(self);
-
- priv->new_button = gtk_button_new_from_stock(_("mcen_bd_new"));
-
+
+ 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),
self);