After clearing a text field using the embedded clear icon, put the input focus into this text field.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4210 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
parent
a26e5b96ba
commit
c786d69e00
@ -7,6 +7,9 @@
|
||||
add_page_header().
|
||||
* src/keyfile.c:
|
||||
Save an if expression.
|
||||
* src/ui_utils.c:
|
||||
After clearing a text field using the embedded clear icon, put the
|
||||
input focus into this text field.
|
||||
|
||||
|
||||
2009-09-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
|
||||
|
@ -1324,6 +1324,7 @@ static void entry_clear_icon_release_cb(GtkEntry *entry, gint icon_pos,
|
||||
if (event->button.button == 1 && icon_pos == 1)
|
||||
{
|
||||
gtk_entry_set_text(entry, "");
|
||||
gtk_widget_grab_focus(GTK_WIDGET(entry));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user