enventor - fix messages to make consistency.
This commit is contained in:
parent
429b9c67c0
commit
c990cd7cbc
|
@ -332,7 +332,7 @@ edit_template_insert(edit_data *ed)
|
|||
ed->syntax_color_timer = ecore_timer_add(SYNTAX_COLOR_TIME,
|
||||
syntax_color_timer_cb, ed);
|
||||
|
||||
snprintf(buf, sizeof(buf), "Template code inserted (%s)", buf2);
|
||||
snprintf(buf, sizeof(buf), "Template code inserted. (%s)", buf2);
|
||||
stats_info_msg_update(ed->sd, buf);
|
||||
}
|
||||
|
||||
|
@ -404,7 +404,7 @@ edit_template_part_insert(edit_data *ed, Edje_Part_Type type)
|
|||
ed->syntax_color_timer = ecore_timer_add(SYNTAX_COLOR_TIME,
|
||||
syntax_color_timer_cb, ed);
|
||||
|
||||
snprintf(buf, sizeof(buf), "Template code inserted (%s Part)", part);
|
||||
snprintf(buf, sizeof(buf), "Template code inserted. (%s Part)", part);
|
||||
stats_info_msg_update(ed->sd, buf);
|
||||
}
|
||||
|
||||
|
|
|
@ -186,12 +186,12 @@ view_dummy_toggle(view_data *vd, Eina_Bool msg)
|
|||
if (dummy_obj == vd->dummy_obj) return;
|
||||
if (dummy_obj)
|
||||
{
|
||||
if (msg) stats_info_msg_update(vd->sd, "Dummy Swallow Enabled");
|
||||
if (msg) stats_info_msg_update(vd->sd, "Dummy Swallow Enabled.");
|
||||
dummy_obj_new(vd->layout);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (msg) stats_info_msg_update(vd->sd, "Dummy Swallow Disabled");
|
||||
if (msg) stats_info_msg_update(vd->sd, "Dummy Swallow Disabled.");
|
||||
dummy_obj_del(vd->layout);
|
||||
}
|
||||
|
||||
|
|
|
@ -192,17 +192,17 @@ part_highlight_toggle(app_data *ad, Eina_Bool msg)
|
|||
if (!msg) return;
|
||||
|
||||
if (highlight)
|
||||
stats_info_msg_update(ad->sd, "Part Highlighting Enabled");
|
||||
stats_info_msg_update(ad->sd, "Part Highlighting Enabled.");
|
||||
else
|
||||
stats_info_msg_update(ad->sd, "Part Highlighting Disabled");
|
||||
stats_info_msg_update(ad->sd, "Part Highlighting Disabled.");
|
||||
}
|
||||
|
||||
static void
|
||||
auto_indentation_toggle(app_data *ad)
|
||||
{
|
||||
Eina_Bool toggle = !config_auto_indent_get(ad->cd);
|
||||
if (toggle) stats_info_msg_update(ad->sd, "Auto Indentation enabled");
|
||||
else stats_info_msg_update(ad->sd, "Auto Indentation disabled");
|
||||
if (toggle) stats_info_msg_update(ad->sd, "Auto Indentation Enabled.");
|
||||
else stats_info_msg_update(ad->sd, "Auto Indentation Disabled.");
|
||||
config_auto_indent_set(ad->cd, toggle);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue