commit ec81173f906931e3aeba87d829aca501d85a0584
parent f7832eb41d4a3d56ec6d657b0753a8cd4547e3a9
Author: Kyle Milz <kmilz@ucalgary.ca>
Date: Wed, 17 Oct 2012 15:09:21 -0600
second try at cleaning echo
Diffstat:
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/src/utilities.c b/src/utilities.c
@@ -619,13 +619,8 @@ echo(const Arg *arg, void *data)
if (index < Info || index > Error)
return EINA_TRUE;
-// printf("echo(%s)\n", arg->s);
- // if (!gtk_widget_is_focus(GTK_WIDGET(inputbox))) {
- if (!elm_object_focus_get(ad->url)) {
- // set_widget_font_and_color(ad->url, urlboxfont[index], urlboxbgcolor[index], urlboxcolor[index]);
- // gtk_entry_set_text(GTK_ENTRY(inputbox), !arg->s ? "" : arg->s);
+ if (!elm_object_focus_get(ad->url))
elm_entry_entry_set(ad->url, !arg->s ? "" : arg->s);
-// }
return EINA_TRUE;
}