if (!dimmed) {
dimmed = _selected_folder_is_any_of_type (win, types, 3);
if (dimmed)
- modest_dimming_rule_set_notification (rule, _("ckct_ib_unable_to_paste_here"));
+ modest_dimming_rule_set_notification (rule, dgettext("hildon-common-strings", "ckct_ib_unable_to_paste_here"));
}
if (!dimmed) {
dimmed = _selected_folder_not_writeable (MODEST_MAIN_WINDOW(win));
if (dimmed) {
- modest_dimming_rule_set_notification (rule, _("ckct_ib_unable_to_paste_here"));
+ modest_dimming_rule_set_notification (rule, dgettext("hildon-common-strings", "ckct_ib_unable_to_paste_here"));
}
}
if (!dimmed) {
gchar *selection = NULL;
selection = gtk_clipboard_wait_for_text (clipboard);
- dimmed = !((selection != NULL) && (modest_text_utils_validate_recipient (selection)));
+ dimmed = !((selection != NULL) && (modest_text_utils_validate_recipient (selection, NULL)));
}
return dimmed;
(MODEST_IS_ATTACHMENTS_VIEW (focused)));
if (result)
- modest_dimming_rule_set_notification (rule, _(""));
+ modest_dimming_rule_set_notification (rule, "");
}
else if (MODEST_IS_MAIN_WINDOW (win)) {
GtkWidget *header_view = NULL;