From: Sergio Villar Senin Date: Tue, 24 Jul 2007 08:06:54 +0000 (+0000) Subject: * Fixes NB#58923, an information banner is shown when trying to create/rename a... X-Git-Tag: git_migration_finished~2761 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=c2965814fc1f15e5543e73d48a48f8e535cdd18d * Fixes NB#58923, an information banner is shown when trying to create/rename a folder with an empty string pmo-trunk-r2780 --- diff --git a/src/maemo/modest-platform.c b/src/maemo/modest-platform.c index 3cc28de..d1e9e2f 100644 --- a/src/maemo/modest-platform.c +++ b/src/maemo/modest-platform.c @@ -59,7 +59,8 @@ static osso_context_t *osso_context = NULL; -static void folder_name_insensitive_press (GtkWidget *widget, ModestWindow *window); +static void folder_name_insensitive_press (GtkWidget *widget, + ModestWindow *window); static void on_modest_conf_update_interval_changed (ModestConf* self, const gchar *key, @@ -775,7 +776,9 @@ modest_platform_run_folder_name_dialog (GtkWindow *parent_window, /* Add accept button (with unsensitive handler) */ buttons = gtk_container_get_children (GTK_CONTAINER (GTK_DIALOG (dialog)->action_area)); accept_btn = GTK_WIDGET (buttons->next->data); - g_signal_connect (G_OBJECT (accept_btn), "insensitive-press", G_CALLBACK (folder_name_insensitive_press), parent_window); + g_signal_connect (G_OBJECT (accept_btn), "insensitive-press", + G_CALLBACK (folder_name_insensitive_press), + parent_window); /* Create label and entry */ label = gtk_label_new (label_text); @@ -826,7 +829,7 @@ modest_platform_run_folder_name_dialog (GtkWindow *parent_window, static void folder_name_insensitive_press (GtkWidget *widget, ModestWindow *window) { - hildon_banner_show_information (NULL, NULL, _("(empty)")); + hildon_banner_show_information (NULL, NULL, _CS("ckdg_ib_enter_name")); } gint