commit e23ad741e1f75e2d3da1abf148d938d26975f7cc
parent b8f4349f85d7845aab23300866e49f04880e7e2b
Author: Kyle Milz <kmilz@ucalgary.ca>
Date: Mon, 24 Sep 2012 08:39:32 -0600
dont echo when url input box is focused
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/main.c b/main.c
@@ -253,11 +253,11 @@ echo(const Arg *arg, void *data)
// printf("echo(%s)\n", arg->s);
// if (!gtk_widget_is_focus(GTK_WIDGET(inputbox))) {
-// if (!elm_object_focus_get(ad->url)) {
+ 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);
elm_entry_entry_set(ad->url, !arg->s ? "" : arg->s);
-// }
+ }
return TRUE;
}