SF.net SVN: geany:[4210] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Thu Sep 17 18:08:23 UTC 2009


Revision: 4210
          http://geany.svn.sourceforge.net/geany/?rev=4210&view=rev
Author:   eht16
Date:     2009-09-17 18:08:21 +0000 (Thu, 17 Sep 2009)

Log Message:
-----------
After clearing a text field using the embedded clear icon, put the input focus into this text field.

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/src/ui_utils.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2009-09-17 18:05:36 UTC (rev 4209)
+++ trunk/ChangeLog	2009-09-17 18:08:21 UTC (rev 4210)
@@ -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>

Modified: trunk/src/ui_utils.c
===================================================================
--- trunk/src/ui_utils.c	2009-09-17 18:05:36 UTC (rev 4209)
+++ trunk/src/ui_utils.c	2009-09-17 18:08:21 UTC (rev 4210)
@@ -1324,6 +1324,7 @@
 	if (event->button.button == 1 && icon_pos == 1)
 	{
 		gtk_entry_set_text(entry, "");
+		gtk_widget_grab_focus(GTK_WIDGET(entry));
 	}
 }
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list