}
gboolean
-modest_ui_dimming_rules_on_paste_msgs (ModestWindow *win, gpointer user_data)
+modest_ui_dimming_rules_on_paste (ModestWindow *win, gpointer user_data)
{
ModestDimmingRule *rule = NULL;
TnyFolderType types[3];
if (!dimmed) {
dimmed = _clipboard_is_empty (win);
if (dimmed)
- modest_dimming_rule_set_notification (rule, dgettext("hildon-common-strings", "ecoc_ib_edwin_nothing_to_paste"));
+ modest_dimming_rule_set_notification (rule,
+ dgettext("hildon-common-strings",
+ "ecoc_ib_edwin_nothing_to_paste"));
}
if (!dimmed) {
dimmed = _selected_folder_is_any_of_type (win, types, 3);
if (dimmed)
- modest_dimming_rule_set_notification (rule, dgettext("hildon-common-strings", "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 = !_folder_view_has_focus (win);
if (!dimmed) {
dimmed = _selected_folder_not_writeable (MODEST_MAIN_WINDOW(win));
if (dimmed) {
- modest_dimming_rule_set_notification (rule, dgettext("hildon-common-strings", "ckct_ib_unable_to_paste_here"));
+ modest_dimming_rule_set_notification (rule,
+ dgettext("hildon-common-strings",
+ "ckct_ib_unable_to_paste_here"));
}
}
if (!dimmed) {